Edit/ Well after a day (or 2) of trying to figure it out I just deleted the site from IIS and re added it. Should have done that ages ago
I was making a change to my site code. Literally one line but, I didn't get the result I wanted so I copied back the original file (Made a backup of course).
And now I get the error above/below. I didn't touch the file that's showing the error below and the permissions look fine but I guess they're not.
Server Error in '/' Application.
The remote server returned an error: (403) Forbidden.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The remote server returned an error: (403) Forbidden.
Source Error:
Line 24: ((HSPage)oPage).HandlePostback();
Line 25:
Line 26: ((HSPage)oPage).WritePage();
Line 27: }
Line 28: }
Source File: f:\website\Default.aspx.cs Line: 26
Stack Trace:
[WebException: The remote server returned an error: (403) Forbidden.]
System.Net.HttpWebRequest.GetResponse() +5314029
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +69
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +3929371
System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +54
System.Xml.Xsl.XsltOld.Compiler.ResolveDocument(Uri absoluteUri) +24
System.Xml.Xsl.XsltOld.ContainerAction.CompileInclude(Compiler compiler) +112
System.Xml.Xsl.XsltOld.ContainerAction.CompileTopLevelElements(Compiler compiler) +1766751
System.Xml.Xsl.XsltOld.ContainerAction.CompileDocument(Compiler compiler, Boolean inInclude) +117
System.Xml.Xsl.XsltOld.RootAction.Compile(Compiler compiler) +6
System.Xml.Xsl.XsltOld.Compiler.CreateRootAction() +44
System.Xml.Xsl.XsltOld.Compiler.Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence) +147
[XsltCompileException: XSLT compile error at http://www.mywebsite.com/xslt/Default.xslt(4,3). See InnerException for details.]
System.Xml.Xsl.XsltOld.Compiler.Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence) +239
System.Xml.Xsl.XslTransform.Compile(XPathNavigator stylesheet, XmlResolver resolver, Evidence evidence) +84
System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver) +121
System.Xml.Xsl.XslTransform.Load(String url) +25
EcomUtils.XMLHelper.Transform(String xml, String xsltPath, XsltArgumentList xsltParams, TextWriter output) +152
Harvington.XsltPage.WritePage() in E:\Sandbox\Domain\pages\XsltPage.cs:141
Harvington._Default.Page_Load(Object sender, EventArgs e) in f:\website\Default.aspx.cs:26
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Hoping someone with more experience might be able to help.
(Is a Standard Win2003 R2 (SP2) Server Running IIS 6.0 if that makes a difference)
Question
furby
Edit/ Well after a day (or 2) of trying to figure it out I just deleted the site from IIS and re added it. Should have done that ages ago
I was making a change to my site code. Literally one line but, I didn't get the result I wanted so I copied back the original file (Made a backup of course).
And now I get the error above/below. I didn't touch the file that's showing the error below and the permissions look fine but I guess they're not.
Hoping someone with more experience might be able to help.
(Is a Standard Win2003 R2 (SP2) Server Running IIS 6.0 if that makes a difference)
Edited by furbyLink to comment
Share on other sites
2 answers to this question
Recommended Posts