Installation Guide

The FrontEnd has been writen using ASP.Net MVC. Due to this it requires the .Net Framework 3.5 SP1 to be installed on the webserver. It has been written to run on IIS7 (Windows Server 2008) but also runs on IIS6 with some modifications in the configuration without any problems. If you are currently using Beta 1 or Beta 2 I highly recommend to upgrade to the most current version. The best way is to delete the old content (maybe except the web.config file) and after adding the new files and updating the configuration, to upgrade your Database from Beta 2 to Version 1.0. Please also have a quick look through the following steps as some parts of the configuration has been changed to make even easier to configure.

To install the FrontEnd you first need to follow these steps:

That's it

If you experience any problems, see Troubleshooting for general recommendations on common problems.

Note: Even after upgrading an existing MDT 2008, MDT 2008 Update 1 or MDT 2010 Database it will still be compatible with the MDT workbench. The workbench will just not be able to make use of all the additional features the FrontEnd has added.

After this you should be able to open the website and access the configured database. If you experience any issues check the database connection first. There is a built-in test for this on the Admin - Configuration page. On some database problems like wrong SQL Server it might even take up to a minute to open this page due to some timeouts in the Microsoft libraries used. But it should open in any case. So be patient as this page will help you to fix the connection.


Back to the Documentation

Last edited Mar 4, 2010 at 8:53 PM by MaikKoster, version 31

Comments

BerndMareth Aug 25, 2011 at 11:37 AM 
Hello,
I've a problem. When I try to access the MDTWebFrontEnd via my browser I get this error message:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

Can anybody quickly help me?

Thanks

paul_r Jun 27, 2011 at 9:46 PM 
Hi Mark
I have installed the Web Front End and I am getting one small problem. When I go to import the applications.xml I still have the GUIDs numbers not the friendly names. What do I need to do to fix this.

Symbiot Feb 16, 2011 at 12:15 PM 
Hi.

After installing, and copying over the batch dll file It works.. but... it's really slow.. AND clicking on ANY link will give me a blank page.. which loads REALLY fast...

What gives?

maseol Dec 1, 2010 at 10:29 AM 
Hi, tried to install the webfrontend on a 2008R2 and get the following error
"Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
I have enabled the framework 3.5.1 feature any other ideas?

Stoffe Nov 19, 2010 at 8:15 AM 
ok, now, I followed your installation guide on a completely newly installed win 2k8 r2, downloaded the x64 bit packages and everything...
Now, first of all I had a security permission failure witch you said you had somewere in your documentation, however searching your documentation there is no information about this security setting unless you take the optionally create a new application pole, and then there is no info about what that account needs as security settings... (memberships)

ok, getting this to work, I soon encounter the next problem...
my front end is located on the default website and under a new application, witch hosts this front end...
ok, it now looks in the folder as this:
App_Data
assets
bin
Views
Default.aspx
Global.asax
Web.Config

ok, trying to browse to the frontend application eg. http://servername/frontend/
now, it says that it cannot find the login.aspx page...
ok, looking in the web.Config I find that for some reason it trys to map the files and adds the .aspx at the end, however it takes no concern about that the code is acually (by defualt) not in the root directory its under the Views directory, so, my question is...

1: How do I fix this?
2: Can you please fix this in your release...

jcp333 Sep 20, 2010 at 8:54 AM 
Hi I got the same error than "gagagulati" - Could not load file or assembly 'microsoft.sqlserver.batchparser' or one of its dependencies.

My environment was: Windows 2008 R2 (64 bit of course) + SQL 2008 R2 (64 Bit too)

Here my solution:
- Installation of upgrade features of sql 2008 R2 (CLR, Management Objects and Native Client)
- Looking for batchparser.dll in sql 2008 R2 folder
- delete microsoft.sql.batchparser.dll in bin of mdtwebfrontend website
- paste and rename batchparser.dll to microsoft.sql.batchparser.dll

After it works.

afulkes Jun 18, 2010 at 2:55 PM 
Hi I appear to have found an odd bug in the WebFrontEnd. I set up an Access Role to just edit Computer, granting Details, Settings and Roles as Change and the rest No Access. However the user cannot change the roles for a computer. If you add a role you get a No Access/Authorised message. However if you add Change to the packages tab in the role you are then able to add/delete a role from a computer.

Is this something you have seen before and is there a fix for it? Otherwise thanks for a great product.

Will you be adding a bulk load facility to bulk load Computers from a CSV file. That would be a most useful addition!!

Regards

Andrew

MaikKoster Jun 12, 2010 at 1:37 PM 
@jeroent83. Do you use the 32 Bit Download on a 64 Bit machine?

jeroent83 May 12, 2010 at 2:19 PM 
Hi, this looks a perfect interface for using MDT. but i'm having trouble running the website.
When i logon to the URL i get the following message "Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format. "
Can you please help me with this

mhollway Apr 27, 2010 at 4:19 PM 
Previously working, im now getting NoAccess error when clicking the the admin/settings tabs, though the other pages load OK. It must be a permission issue, but Im not sure where to troubleshoot as I have made all logins localadmin. Probably more of an IIS issue (server 2008 & IIS 7), but any help appreciated

tozajaczkowski Mar 19, 2010 at 12:02 PM 
OK - I manually edited web.config file which solved the issue.

tozajaczkowski Mar 19, 2010 at 11:59 AM 
I am trying to install it on W2008 64bit - I was able to follow the manual till the point when I create/choose existing database but I am not able to save the configuration - I just have "An error occured while saving the configuration." Where can I find any log files to check what's wrong? Connection to SQL server is working fine and I can either choose already existing db and create new one wihtout any issue.

MaikKoster Mar 18, 2010 at 2:07 PM 
The Settings Table is actually the right table. It's also used by MDT itself. It is storing settings for all identities like Computers, Locations, Roles and MakeModels. There should be a "ComputerSettings" view by default (actually also a LocationSettings, RoleSettings and MakeModelSettings view) and there shouldn't be any ComputerSettings table at all. At least it's not coming from either MDT nor the Web FrontEnd.

ltandy Mar 12, 2010 at 8:27 PM 
As a temporaray workaround, I renamed the ComputerSettings table and created a ComputerSettings view.

ltandy Mar 12, 2010 at 7:29 PM 
This front end is great but I'm having trouble determining which tables are really being used. When I make changes via the front end, the changes are saved to the "Settings" table. When I run my task sequences, MDT is querying the "ComputerSettings" table and not using the values I've entered with the Front End tool. Is there a step I missed during the setup?

mhollway Mar 4, 2010 at 9:15 PM 
That seems to have fixed it. Thanks, this looks really promising!

MaikKoster Mar 4, 2010 at 8:47 PM 
@All. A special 64 Bit version has been made available for download. Please be sure to use the right version. Also a small patch was necessary and can also be found on the download page. The problem mentioned by KingPing turned out to be a disabled Windows Authentication. Make sure you disable anonymous authentication and enable(!) Windows authentication. It seems to be disabled on default on server 2008. The Documentation has been updated.

mhollway Mar 4, 2010 at 8:41 PM 
Im unable to install the 2008 smo, even after uninstalling the 2005 version. The installation makes reference to missing 2008 prereqs.

MaikKoster Mar 4, 2010 at 12:04 PM 
OK, haven't thought about 64 Bit as you mentioned the problem. The download contains the 32 Bit dlls. Seems I should upload two versions one for 32 and one for 64 Bit to make this easier.

In the meantime on 64 Bit please download and install the above mentioned "Microsoft SQL Server 2008 Management Object". @mhollway, you need to install the 2008 version even if you run sql 2005. The 2008 dlls are able to manage sql server 2000, 2005 and 2008. I will update the installation guide until I`ve prepared a second package with the 64 Bit dlls.

Working on the 2003 problem and will post the fix/update as soon as possible. Thanks for your patience.

PnoT Mar 3, 2010 at 10:13 PM 
Well I've given this a shot on our Windows 2003 R2 II6 servers with no luck and have the same problem as KingPing. In order to avoid the hassle I've tried to install this on our Windows 2008 R2 64bit II7 server and am now having the same problem as gagangulati/mhollway and have also tried the "fix" with no luck.

mhollway Mar 3, 2010 at 9:34 PM 
I am getting the same error as gagangulati.
I have installed the SMO for SQL 2005 (thats the version i have) as suggested, but still the same error. Trying to avoid a reboot...is one necessary?
Im running 2008 R2 64bit & IIS7

MaikKoster Mar 3, 2010 at 8:21 PM 
@KingPin: no, the folder structure does not matter. That's why you need to configure the wildcard mapping for IIS6. It's dymanically rerouting the requests to the appropriate controller and action. btwl. did you install the pre-req .Net Framework 3.5 SP1? If yes would you mind contacting me via email so that we can figure this problem out as I'm not able to reproduce it.

KingPing Mar 3, 2010 at 8:07 PM 
Actually all of the tabs: locations, makemodels, computers,roles and admin are doing the same thing. Just a white screen, no error message.

KingPing Mar 3, 2010 at 8:03 PM 
MaikKoster: I have gone through those steps but no luck. When I put my cursor over the admin tab it specifies the path as Http://servername/MDTWebFrontEnd/Admin/Index but the folder structure of the directory shows MDTWebFrontEnd\Views\Admin\Index. Does the folder structure matter?

MaikKoster Mar 3, 2010 at 5:07 PM 
@gagangulati: No, it doesn't require sql to be installed on the local machine. It contains all the necessary dlls (you should find the microsoft.sqlserver.batchparser.dll in the bin folder of the webpage. Haven't had this issue yet on any installation. Send me an email if you would like to sort this out. Might be helpful for others experiencing the same issue.

As a quickfix you can install the "Microsoft SQL Server 2008 Management Objects" that will install and register the necessary dlls on your webserver. Find the download at http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&displaylang=en (search for "Management objects"). It's just a 3MB download and just adds a couple dlls to your system. So shouldn't have any sideeffects.

MaikKoster Mar 3, 2010 at 4:54 PM 
KingPing: please see http://mdtwebfrontend.codeplex.com/wikipage?title=Add%20FrontEnd%20IIS6&referringTitle=Installation%20Guide. It's a step-by-step guide showing the additional steps for IIS6. If also commented on the Database configuration page.

KingPing Mar 3, 2010 at 2:30 PM 
There was mention at the top that additional configuration has to be done for IIS 6 "but also runs on IIS6 with some modifications in the configuration without any problems"

KingPing Mar 3, 2010 at 2:24 PM 
I am running IIS 6 on windows server 2003. I have got to this point but when clcik on the admin tab to get to the configuration only a white page is displayed. No error message or anything. Any Ideas?

gagangulati Mar 3, 2010 at 7:02 AM 
Does this web ui requires SQL server to be installed even to display correctly? I have a fresh machine with IIS and MDT installed. I add a new application as suggested in the Installation guide

http://localhost/MDTFrontEnd fails with -
[BadImageFormatException: Could not load file or assembly 'microsoft.sqlserver.batchparser' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190


Any help is appreciated. Thanks

MaikKoster Jan 4, 2010 at 2:39 PM 
The missing object "AccessRoles" is a Table which will be used for some extended features of the web frontend.

Check if the Application Setting "EnhancedSecurity" is set to False if you haven't extended the MDT Database yet. (It's set to "True" on default which will be switched to default to "False" in the final release). If you want to use the enhanced security and editing options, you would need to extend your MDT Database. See [Extend Database] for more information.

irco Dec 29, 2009 at 4:03 PM 
I am getting the same error as cyprids ... "Invalid object name 'dbo.AccessRoles'. I'm running sqlexpress 2008 and iis6, i've changed to Local system but the problem remains.

georkame Nov 20, 2009 at 8:12 PM 
sorry what I should have said is Change it to "Local system"

georkame Nov 20, 2009 at 8:10 PM 
Yes in the App pool change the Identity to local service instead of Network Service and it should work.

I had the same problem.

cyprids Nov 16, 2009 at 8:02 AM 
Great Web frontend for MDT!!!...
but i have a minor issue with the new webfrontend beta 2.
I get "Invalid object name 'dbo.AccessRoles'." for "Locations, MakeModels, Computers, Roles tabs on the frontend. Admin and Settings tabs works fine.
Do you have any idea of what the problem could be.
Running on server 2008 with iis 7.0
Regards,
Nik