473,734 Members | 2,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

website release error

I have a website in VS2005 C#. It runs fine in the debug mode in the IDE. On
creating and installing the release version, I get the following error when I
bring up the website.
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource
'http://vaishali/kpamweb/default.aspx'. Line 1, Po...

<%@ page language="C#" masterpagefile= "~/kpam.master" autoeventwireup ="true"
inherits="_Defa ult, App_Web_m21oc5m n" theme=...

What setting am I missing ? What do I need to do??

Thanks and regards,VKM
May 28 '07 #1
3 2838
re:
!="_Default, App_Web_m21oc5m n

Is that a typo ?

There's no room for a comma in the Page directive.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"VKM" <VK*@discussion s.microsoft.com wrote in message
news:40******** *************** ***********@mic rosoft.com...
>I have a website in VS2005 C#. It runs fine in the debug mode in the IDE. On
creating and installing the release version, I get the following error when I
bring up the website.
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource
'http://vaishali/kpamweb/default.aspx'. Line 1, Po...

<%@ page language="C#" masterpagefile= "~/kpam.master" autoeventwireup ="true"
inherits="_Defa ult, App_Web_m21oc5m n" theme=...

What setting am I missing ? What do I need to do??

Thanks and regards,VKM

May 28 '07 #2
Hi Juan,

Thanks for the response. It wasn't a typo - just what was coming up in the
error - the comma does not exist in the code.

I needed to run the aspnet_regiis.e xe and that has fixed the problem.

Rgds,
VKM

"Juan T. Llibre" wrote:
re:
!="_Default, App_Web_m21oc5m n

Is that a typo ?

There's no room for a comma in the Page directive.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"VKM" <VK*@discussion s.microsoft.com wrote in message
news:40******** *************** ***********@mic rosoft.com...
I have a website in VS2005 C#. It runs fine in the debug mode in the IDE. On
creating and installing the release version, I get the following error when I
bring up the website.
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource
'http://vaishali/kpamweb/default.aspx'. Line 1, Po...

<%@ page language="C#" masterpagefile= "~/kpam.master" autoeventwireup ="true"
inherits="_Defa ult, App_Web_m21oc5m n" theme=...

What setting am I missing ? What do I need to do??

Thanks and regards,VKM


May 28 '07 #3
WHen you see "The XML Page cannot be displayed" That's because ASP.NET isn't
processing the page and IIS is attempting to serve the raw page ASPX file,
which the browser is interpreting as XML (which is of course, malformed).

So, you need to find out how to make ASP.NET handle the page. In IIS 6.0,
you have to enable the various providers such as ASP.NET, ASP, etc. for the
applicaiton pool.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"VKM" wrote:
I have a website in VS2005 C#. It runs fine in the debug mode in the IDE. On
creating and installing the release version, I get the following error when I
bring up the website.
The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource
'http://vaishali/kpamweb/default.aspx'. Line 1, Po...

<%@ page language="C#" masterpagefile= "~/kpam.master" autoeventwireup ="true"
inherits="_Defa ult, App_Web_m21oc5m n" theme=...

What setting am I missing ? What do I need to do??

Thanks and regards,VKM
May 28 '07 #4

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

Similar topics

2
1508
by: Robert Brewer | last post by:
Cross-posted here to encourage comments/discussion. I know there's a big feature or two I'm missing out on ;) Suggestions welcome. Tibia is an in-browser editor for web pages. It allows you to quickly and easily modify the content of your web pages. It allows you to directly view, edit, and save files on your webserver. It also allows you to upload files from your local filesystem to your webserver, and then edit those documents. It also...
2
1213
by: Tim::.. | last post by:
Can someone please tell me how I release an asp.net website using VS 2003... Do I have to go through the whole site and change the links for the picutes using find and replace of is there an easier way to do this??? Do you have to manually delete all the res and vb files so you only publish the aspx files??? Thanks...
5
2584
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my solution: 1) web service website. 2) SOAP Extension Class Lib that compiles to a dll 3) WinForm application with a proxy to test the web service.
5
1353
by: Craig | last post by:
I get an error when compiling the website about the first Reports folder. If I change the name the website compiles. Am I doing something wrong?? Folder list...... CoolingTower Boilers Reports
4
2095
by: andy6 via DotNetMonster.com | last post by:
I am in VS2005 Configuration Manager and have selected from the Active Solution Configuration "release". The deployment project and a supporting c# dll project both switch to release, however the website remains at debug. When I attempt to change the dropdown for the website debug is the only option. How can I ensure that when I build that the entire solution including the website is in release mode? -- Message posted via...
1
2997
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the website 3. in Configuration manager I set the Active solution configuration to Release
7
3663
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I go into the projects Advanced Compile Options and change the Generate Debug Info dropdown from None to PDB-Only the error goes away. Can anyone explain why I have to do this and what can I do to get the one option to work on a asp.net project? ...
5
2465
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have a website on the web server which is running with .net 1.1
2
1083
by: luigi.corrias | last post by:
New release my Open Source website ready to be downloaded My Web Application like at not so few people so i release a new version with new exiting functionality Please download and improve it http://www.codeplex.com/luigicorrias Nuova release del mio sito Open Source L'applicazione Web che ho messo online a disposizione di tutti i programmatori sta godendo di un discreto successo ed ho pensato di
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.