473,396 Members | 1,898 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,396 software developers and data experts.

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\wwwroot\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 4649
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**@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.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\wwwroot\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**@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.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\wwwroot\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
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...
1
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...
9
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...
5
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...
0
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...
7
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...
8
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...
10
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....
1
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.