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

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
 
G

Guest

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.
 
P

Pavan

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top