Wednesday, October 18, 2006

IIS Problem

When try to access an ASPX page on IIS, I got the following error yesterday. i spent few hours before finding a proper solution on this.

problem description (copied from net)


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/IssueTracker/Default.aspx'. Line...

<%@ Page Language="vb" AutoEventWireup="false" Inherits="ASPNET.StarterKit.IssueTracker._Default" CodeFile="Default.aspx">



Solution

register the dotnet framework again. be sure of the specific version.
you will be getting it in C:\Sysroot(it could be windows\system32) all the installed .net versions are listed out there. go the correct folder and execute the "aspnet_regiis -i" from command prompt. it worked for me.

C:\SYSROOT\Microsoft.NET\Framework\v2.0.50727
\aspnet_regiis -i




some other info on this blog

No comments: