Configuration Error

Apr 8, 2009 at 6:33 PM

I added the mobile.browser file in App_Browsers/Devices folder

Now when i try to run my project, it gives me the following error

I would really appreciate if someone can help me resolve this error


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The 'parentID' attribute must be specified on the 'gateway' tag.

Source Error:

Line 1:  <?xml version="1.0" encoding="utf-8"?>
Line 2: <browsers>
Line 3: <gateway id="deviceShim">
Line 4: <capture />
Line 5: </gateway>

Source File: .....\App_Browsers\Devices\mobile.browser    Line: 3
Apr 8, 2009 at 9:11 PM
Are you sure your System does have the .Net FW 3.5 Service Pack 1 installed?
This is a prerequisite and I had the same error one one of my machines where SP1 was not installed.

Apr 9, 2009 at 11:14 AM

Web applications running on earlier versions of the .NET framework always encounter this error. Please ensure that you have .NET 3.5 SP1 installed on your machine (see Requirements). If your application is hosted by Microsoft IIS, make sure that it is configured to use ASP.NET 2.0 or greater and not ASP.NET 1.1.

Thank you both for posting and bringing this up. We've added an entry in our FAQ.