Connect with Expertise | Find Experts, Get Answers, Share Insights

Cannot view XML input using XSL style sheet

 
Join Date: Mar 2006
Posts: 3
#1: Mar 22 '06
I am trying to surf the web application (developed in ASP.NET)which is there in my personal system .I am getting the error while accessing the link :


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/RA%20TOOL/Login.aspx'. Line 1, P...

<%@ Page Language="vb" debug="true" AutoEventWireup="False" Inherits="RiskAssessment2.Login" CodeFile="Login.aspx.vb" %&g...


Could you tell me what could be the reason ..

 
Join Date: Feb 2007
Posts: 1
#2: Feb 28 '07

re: Cannot view XML input using XSL style sheet


Hi I have found a fix to your problem on MSDN

click start->Run
type cmd and enter

go to directory
c:\Windows\Microsoft.Net\Framework\[version]\aspnet_regiis.exe -i
[version] being your latest version you might want to use the dir /p command to check your options
1.1 for Visual Studio .Net / Web Matrix
2.0 for Visual Studio 2005

This will reiinstall the mappings for the .Net framework
This error usually happen when IIS is reinstalled

Good Luck


================================================== =======
I am trying to surf the web application (developed in ASP.NET)which is there in my personal system .I am getting the error while accessing the link :


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/RA%20TOOL/Login.aspx'. Line 1, P...

<%@ Page Language="vb" debug="true" AutoEventWireup="False" Inherits="RiskAssessment2.Login" CodeFile="Login.aspx.vb" %&g...


Could you tell me what could be the reason ..
dorinbogdan's Avatar
E
C
 
Join Date: Feb 2007
Posts: 822
#3: Mar 21 '07

re: Cannot view XML input using XSL style sheet


Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.
 
Join Date: Mar 2007
Posts: 1
#4: Mar 23 '07

re: Cannot view XML input using XSL style sheet


Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.

it's a perfect solution. THANKS FOR POSTING IT.
dorinbogdan's Avatar
E
C
 
Join Date: Feb 2007
Posts: 822
#5: Mar 23 '07

re: Cannot view XML input using XSL style sheet


Glad to hear that it's working.
You're welcome.
God bless you,
Dorin.
 
Join Date: Jul 2007
Posts: 2
#6: Jul 6 '07

re: Cannot view XML input using XSL style sheet


I keep getting the same error when trying to view my message history in Windows Live Messenger but only get it when opening 1 certain persons message history...If anyone can explain how I can fix this in not too PC literate terms you will be my best friend.
 
Join Date: Apr 2010
Posts: 1
#7: Apr 29 '10

re: Cannot view XML input using XSL style sheet


Hi expert:

I got error while trying to open a .xml file: "Cannot view XML input using XSL style sheet". I run aspnet_regiis.exe as you instructed in the thread but it didn't fix my problem. Can you help?
Thanks
jkmyoung's Avatar
E
M
C
 
Join Date: Mar 2006
Posts: 1,938
#8: Apr 29 '10

re: Cannot view XML input using XSL style sheet


If this is occuring for all your contacts, there is probably something wrong with the XSL file.

If this is occuring for just one contact, there is probably something wrong with that contacts XML history.

===
Are you sure your xsl file is well formed? Can you open your xsl file by itself without error?
 
Join Date: Jun 2010
Posts: 1
#9: Jun 18 '10

re: Cannot view XML input using XSL style sheet


@baadkitty
I met exactly the same problem. Only one friend's log can't open. After checking on the xml file, I found there are two </log>, but only one <log>. The first </log> is deleted, then it is good.
jkmyoung's Avatar
E
M
C
 
Join Date: Mar 2006
Posts: 1,938
#10: Jun 18 '10

re: Cannot view XML input using XSL style sheet


The fix for this error usually has to do with the error message.
Reply