Ask a Question related to ASP.NET Security, Design and Development.
-
GrantS #1
Authorization error (401) when loading treeview
I am having a problem loading a tree view web control.
This problem does not occur on my development machine but
occurs when testing on a QA server.
We can load dropdown lists with data on the same pages.
When attempting to load the treeview, a trace of the call
to the database reveals no database security issue and
the data is retrieved.
I believe that the group permission and impersonation is
setup correctly on the test machine (as we can access the
application, the pages within the applicationand some
data.
The error log stack trace (see below) indicates that
there is a final HttpWebRequest check (CheckFinalStatus)
that is the point of failure. MSDN not too helpful in
terms of anything I might have ommitted.
Here is the Error log:
The remote server returned an error: (401) Unauthorized.
STACK TRACE:
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse
(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at System.Xml.XmlDownloadManager.GetNonFileStream(Uri
uri, ICredentials credentials)
at System.Xml.XmlDownloadManager.GetStream(Uri uri,
ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReader.CreateScanner()
at System.Xml.XmlTextReader.Init()
at System.Xml.XmlTextReader.Read()
at
System.Xml.XmlValidatingReader.ReadWithCollectText Token()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XPath.XPathDocument.Load(XmlReader
reader)
at System.Xml.Xsl.Compiler.LoadDocument(XmlTextReader
reader)
at System.Xml.Xsl.XslTransform.Load(String url,
XmlResolver resolver)
at System.Xml.Xsl.XslTransform.Load(String url)
at
Microsoft.Web.UI.WebControls.TreeView.GetXmlReader FromXPat
hDoc(XPathDocument xmldoc, String TreeNodeXsltSrc)
at
Microsoft.Web.UI.WebControls.TreeView.GetXmlReader FromStri
ng(String TreeNodeSrc, String TreeNodeXsltSrc)
at Microsoft.Web.UI.WebControls.TreeView.ReadXmlSrc
(String TreeNodeSrc, String TreeNodeXsltSrc, String
strOuter)
at
Microsoft.Web.UI.WebControls.TreeView.ReadTreeNode XmlSrc()
at Microsoft.Web.UI.WebControls.TreeView.DataBind()
at CMSDataViewer.OrgUnit.OrgUnit.RefreshTree()
at
CMSDataViewer.OrgUnit.OrgUnit.cboGrouping_Selected IndexCha
nged(Object sender, EventArgs e)
at
System.Web.UI.WebControls.ListControl.OnSelectedIn dexChang
ed(EventArgs e)
at
System.Web.UI.WebControls.ListBox.System.Web.UI.IP ostBackD
ataHandler.RaisePostDataChangedEvent()
at System.Web.UI.Page.RaiseChangedEvents()
at System.Web.UI.Page.ProcessRequestMain()
************************************************88 88
Hopefully someone can point me in the right direction
with this.
Cheers.
Thhanks in advance. Grant S
GrantS Guest
-
Error loading video
:sad; I bought a sony handycam in order to create flash sites with video. I uploaded the video to my pc. When I try to import it into flash or... -
Error loading url
Im trying to load a asp generated xml format file from within flash IDE. When uploaded to server this works fine, so the file it self is OK, but it... -
Error loading flash! Error-4836
:| I don't know much about computers but I have been trying to play slingo on AOL and everytime it is loading I get this error message. Error... -
Error Loading Plugins...
Keep on getting an error, only happens when starting the application. "Adobe Illustrator Error Loading Plugins ASDataStream.apl" Can't find... -
Error loading Photoshop
I am attempting to load Photoshop Elements and the full version of Photoshop on a Windows 2000 platform but continue to receive the following error...



Reply With Quote

