I am a new .Net developer.
i was given an existing DB, and modified it for my department.
I intalled Visual Studio on my PC, and I think I have IIS going correctly (I can create a virtual server). But when I go to launch my homepage I get:
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://localhost/Publishtest/Home.aspx'. Line 1, ...
<%@ Reference Page="~/Search.aspx" %>
-^
I see this error all over these forums but i haven't been able to figure it out yet. Is there a bad path somewhere? Any help is appreciated, I'm so new.
Thanks!
try to run
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
or see
How to repair IIS mapping after you remove and reinstall IIS
http://support.microsoft.com/default.aspx?kbid=306005&product=aspnet
The solution is here
MORE INFORMATION
ASP.NET, run the Aspnet_regiis.exe utility:
- Click Start, and then click
Run. - In the Open text box, type cmd, and then press ENTER.
- At the command prompt, type
the following, and then press ENTER:"%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -iIn this path, version represents the version number of the .NET Framework that you
installed on your server. You must replace this placeholder with the actual
version number when you type the command.
No comments:
Post a Comment