473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
Nov 19 '05 #1
3 881
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

Nov 19 '05 #2
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
Nov 19 '05 #3
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

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Darwin Fisk | last post by:
I have an app that is deployed that uses .config file settings. I have an update of that app that I am installing using a setup and deployment project. The basic setup process works fine. Now I...
3
by: Marek | last post by:
Hi there, my WinForm application has to be installed in "no-touch-deployment" mode, so users can run it from the web. I need to read application's .config file but it does not work in ...
2
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally....
1
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command...
7
by: Jack | last post by:
Hello: We have a customer whose stuff are using Macintosh, and we just created an asp.net web application in windows 2003 server, but we met some strange problems when they visit the application,...
2
by: Keith Elder | last post by:
Let's say you have a stand alone C# library project that is your datalayer. When this library compiles it will produce "My.DataLayer.dll" for example. In the project you use all the new...
4
by: Chuck P | last post by:
I was wondering what practices people have come up with for deployment. I want to precompile the application and encrypt portions of the web.config. In 1.0 I just did a batch file that would...
5
by: Volker Hetzer | last post by:
Hi! I've done my first little COM component (using the clr) and after signing, regasm and gacutil I can call it from vbscript. set X = createobject("ComComponent.Class1") msgBox X.Testfunktion(2)...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.