A name was started with an invalid character

To All

I came across a distinct error. The details are below:

The XML page cannot be displayed

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


A name was started with an invalid character. Error processing resource 'http://localhost/WebSite/TradingDesk/'. Line 1, P...

<%@ page language="VB" autoeventwireup="false" inherits="_Default, App_Web_v_5445nj" masterpagefile="~/Site.master" %>...

I crated a website & publish it to my localhost. It was working fine from VS 2005 environment. However when I try to access the website from localhost I am getting this error.

I cross checked the following information

** I ran theaspnet_regiis.exe –lv &aspnet_regiis.exe –lk and found ASP.Net 2.0 is installed correctelly.

** My OS is XP/SP2

** IIS 5.1 is installed

** I can access all pages with .asp , .html extensions.

** I cannot access pages with .aspx extension

** Some how I could not find any application mapping for .aspx

** I was trying to create an application mapping for .aspxthe system not letting me do further

Please provide me with answer. Your prompt feed back is much more appreciated.

Thanks

Nitu

[2069 byte] By [Nitu] at [2007-12-23]
# 1

Questions about ASP.NET shoud be posted to http://forums.asp.net/.

SergeyDubinets-MSFT at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 2

try this:

1) Open a command prompt and navigate to this dir

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

2) Run these commands in this order from command prompt:

a. aspnet_regiis.exe –i

b. aspnet_regiis.exe –e

3) Restart IIS

Seabert at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 3

This works...awesome....

Harsimrat

Harsimrat at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 4

Thanks it works

Just use aspnet_regiis.exe -i

Swargam at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 5
Works great. However I had to restart the computer. Also had to give the folder sharing permissions.
doraiswamy at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...
# 6

I am getting the same error.

I followed Anjumrizwi at 2007-8-30 > top of Msdn Tech,.NET Development,XML and the .NET Framework...

.NET Development

Site Classified