PC Review


Reply
Thread Tools Rate Thread

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

 
 
Pavan Apuroop
Guest
Posts: n/a
 
      21st Jun 2005
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?c3Jpbmk=?=
Guest
Posts: n/a
 
      21st Jun 2005
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.
--
HTH
srini
http://www.expertszone.com


"Pavan Apuroop" wrote:

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

 
Reply With Quote
 
Pavan
Guest
Posts: n/a
 
      21st Jun 2005
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

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
 
Reply With Quote
 
=?Utf-8?B?c3Jpbmk=?=
Guest
Posts: n/a
 
      21st Jun 2005
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
--
HTH
srini
http://www.expertszone.com


"Pavan" wrote:

> 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
>
> --
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WEB config file deployment =?Utf-8?B?U2FsYW1FbGlhcw==?= Microsoft ASP .NET 2 31st Oct 2006 02:09 PM
Problem with deployment of config file Miroslaw Praglowski Microsoft Dot NET Compact Framework 4 24th May 2006 11:48 AM
RE: Config file in Auto deployment Ying-Shen Yu[MSFT] Microsoft Dot NET Framework Forms 0 15th May 2004 08:05 AM
Smartclient (no touch deployment) Winforms app.config download issues Carl Microsoft Dot NET Framework Forms 0 5th Mar 2004 12:58 AM
no touch deployment with config file Eric Cadwell Microsoft Dot NET 1 4th Sep 2003 12:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:32 AM.