473,804 Members | 3,502 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Running ASP.NET 2.0 app on IIS on XP from VS.NET 2005 B1

Hello VS 2005 World...

I am making my way through VS 2005 Beta 1 and I'm having a problem getting
ASP.NET project to start in IIS running on an XP development machine.

I build a sample project in VS 2005 and it runs fine through the debugger.
Then I try using the new Publish Web Site feature to publish the application
to IIS at C:\Inetpub\wwwr oot\my_project.

It looks like everything gets published correctly to a virtual directory.
But when I go into IIS and configure the startup file to look for
Default.aspx then try and access the application in Exporer using this
address: http://localhost/my_project/default.aspx.

I get this message:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.

----------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource
'http://localhost/OneToMany2/default.aspx'. Line 1, Po...

This is a marker file generated by the precompilation tool, and should not
be deleted!
^

Can anyone give me a clue as to what I'm doing wrong here? The virtual
directory looks right, I see the code there and I don't see anything unusual
in IIS.The application works fine through the debugger.

One note is that the machine I installed Yukon and VS 2005 already had .NET
Framework 1.1 installed. Does this have anything to do with it? I don't
think so because the new VS 2005 Web Configuration App runs fine...

Thanks

Confused and bewildered...
Nov 19 '05 #1
2 4664
Hi, Confused and bewildered.

The error
Invalid at the top level of the document.
Error processing resource
Is a well-known error when an XML document
has any high-ascii characters in it.

Did you, by any chance, write any high-ascii
( ascii 128-255 ) characters in web.config ?

Juan T. Llibre
ASP.NET MVP
===========
"bcox" <bc**@discussio ns.microsoft.co m> wrote in message
news:FB******** *************** ***********@mic rosoft.com... Hello VS 2005 World...

I am making my way through VS 2005 Beta 1 and I'm having a problem getting
ASP.NET project to start in IIS running on an XP development machine.

I build a sample project in VS 2005 and it runs fine through the debugger.
Then I try using the new Publish Web Site feature to publish the
application
to IIS at C:\Inetpub\wwwr oot\my_project.

It looks like everything gets published correctly to a virtual directory.
But when I go into IIS and configure the startup file to look for
Default.aspx then try and access the application in Exporer using this
address: http://localhost/my_project/default.aspx.

I get this message:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.

----------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource
'http://localhost/OneToMany2/default.aspx'. Line 1, Po...

This is a marker file generated by the precompilation tool, and should not
be deleted!
^

Can anyone give me a clue as to what I'm doing wrong here? The virtual
directory looks right, I see the code there and I don't see anything
unusual
in IIS.The application works fine through the debugger.

One note is that the machine I installed Yukon and VS 2005 already had
.NET
Framework 1.1 installed. Does this have anything to do with it? I don't
think so because the new VS 2005 Web Configuration App runs fine...

Thanks

Confused and bewildered...

Nov 19 '05 #2
Juan:

Well, no I didn't write any XML that I know of. VS 2005 might have... All
I did was publish a project that works in the debugger to local host from VS
2005 using the new Publish Web Site feature...

I suppose that VS 2005 might have screwed up something but it works fine in
the debugger so why would it be a problem in IIS?

I'll take a look though... Got any other ideas...

"Juan T. Llibre" wrote:
Hi, Confused and bewildered.

The error
Invalid at the top level of the document.
Error processing resource


Is a well-known error when an XML document
has any high-ascii characters in it.

Did you, by any chance, write any high-ascii
( ascii 128-255 ) characters in web.config ?

Juan T. Llibre
ASP.NET MVP
===========
"bcox" <bc**@discussio ns.microsoft.co m> wrote in message
news:FB******** *************** ***********@mic rosoft.com...
Hello VS 2005 World...

I am making my way through VS 2005 Beta 1 and I'm having a problem getting
ASP.NET project to start in IIS running on an XP development machine.

I build a sample project in VS 2005 and it runs fine through the debugger.
Then I try using the new Publish Web Site feature to publish the
application
to IIS at C:\Inetpub\wwwr oot\my_project.

It looks like everything gets published correctly to a virtual directory.
But when I go into IIS and configure the startup file to look for
Default.aspx then try and access the application in Exporer using this
address: http://localhost/my_project/default.aspx.

I get this message:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then
click the Refresh button, or try again later.

----------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource
'http://localhost/OneToMany2/default.aspx'. Line 1, Po...

This is a marker file generated by the precompilation tool, and should not
be deleted!
^

Can anyone give me a clue as to what I'm doing wrong here? The virtual
directory looks right, I see the code there and I don't see anything
unusual
in IIS.The application works fine through the debugger.

One note is that the machine I installed Yukon and VS 2005 already had
.NET
Framework 1.1 installed. Does this have anything to do with it? I don't
think so because the new VS 2005 Web Configuration App runs fine...

Thanks

Confused and bewildered...


Nov 19 '05 #3

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

Similar topics

3
3680
by: Fabio Pliger | last post by:
Hi, is it possibile, in python, to check for an already running instance of an application? My problem is that, if my program i running and the user relaunch it, i don't want to open a new instance and have to instances of the same program running togheter... Can someone help me on this? Fabio P.
1
2164
by: u473 | last post by:
Running Totals by date misbehaving I applied to the letter the sample code given on http://support.microsoft.com/?kbid=290136 but it seems the running total breaks when the day number is less than the previous date Example using one Table (Access 2000):
9
3079
by: mareal | last post by:
I have noticed how the thread I created just stops running. I have added several exceptions to the thread System.Threading.SynchronizationLockException System.Threading.ThreadAbortException System.Threading.ThreadInterruptedException System.Threading.ThreadStateException to see if I could get more information about why the thread stops running but that code is never executed. Any ideas on how I can debug this?
5
1158
by: Mark | last post by:
We have VS.NET 2003, .NET 1.1, and SQL Server 2000 installed locally on each of our developer workstations. We will need to keep these tools installed for maintaining old applications, but intend on developing new applications using ASP.NET 2.0, VS 2005, and SQL Server 2005. Are there any barriers in running these products side by side assuming we wait to install the live versions released in a couple weeks? Thanks in advance. Mark
0
1167
by: stand__sure | last post by:
Stepping into a stored procedure used to be fairly straight-forward, but after following the guidance in all 6 or so of the MSDN pages about enabling debugging of stored procedures in SQL Server 2005 using VS .NET 2005 running on WinXP Pro (SP2) -- I'm still having no luck. Remote debugging works fine. Stepping into a procedure through the IDE (without the calling app running works fine) A quick inspection of the attached processes...
7
1335
by: Rene | last post by:
I am still waiting for my copy of VS 2005 that I ordered about 2 weeks ago. When I finally get VS 2005, I will want to continue to run my projects using 2003 and at the same time I want to make a copy of my currently projects and upgrade them to VS 2005 and .Net 2 to make sure everything works correctly and start taking advantages of the new features. Also, I am not sure I am ready to make the jump to 2005 cold turkey. Is anybody...
8
2766
by: TS | last post by:
Hi, i have inherited a page from another user. The page is the target frame in a frameset. for some reason the whole page runs twice (page_load, init, etc. all run twice) I can't figure out how this is happening. there are no transfers or redirects that are occurring in the pages. the page runs thru all of its events then starts all over again. Trying to inspect the stack track doesn't help because when i get to the init the 2nd time,...
10
3393
by: TS | last post by:
i just noticed the website i created in VS 2005 is running on a different port than the default. I see that it is running on the local web server, and also that the website i created isn't in IIS. My crystal report looks weird because it is trying to show images from the crystalreportviewers10 virtual directory based on the current website running, which in this case is localhost:1169, but actuall the crystalreportviewers10 virtual...
1
2537
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up in msvsmon.exe on the remote machine, however, the client box with visual studio displays error: "Unable to connect to the mricosoft visual studio remtoe debugging monitor named 'the box name' the micorosft visual studio remote debugging monitor...
0
9704
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
10561
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
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...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9132
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...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
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
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.