Deployment issues in Web.Config file, ASP .Net 2.0 Beta 2

  • Thread starter Thread starter Pavan Apuroop
  • Start date Start date
P

Pavan Apuroop

Hi All,

I have developed one web site in ASP .Net 2.0 Beta 2 and published
(deployed) the same in my local IIS.

Now if i am trying to access the same site, then it is giving me an error as
follows:


Server Error in '/HotelInput' Application.
--------------------------------------------------------------------------------

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: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Please help me to resolve this issue.

Cheers

Pavan
 
Hi Pavan,
If you look at the last line it shows that you are using Framework 1.1
instead of framework 2.0. Try to configure your application to use Framework
2.0.
 
Hi Srini,

Thank you very much. But the same web site is working proerly with
Visual Studio Web Server, but when i try to access the site directly by
publishing it in the IIS, it is giving me the error.

So can u solve the issue.

Thank you once again,

Cheers

Pavan
 
welcome pavan,
Follow these steps to set the application to use Framework 2.0
Go to IIS manager snap-in and right click the application to view the
properties.
In the asp.net tab select the version to use as 2.0 instead of 1.1.
If you have further doubts please revert
 
Back
Top