S
super todd
Here is the deal. We have an ASP.NET page which does an XSLT
transform. Both the XSL and the XML come off a unc path on another
server. All annonymous accaess has been permissioned accordingly. In
addition aspnet_setreg.exe has been downloaded and been run to give the
applications the appropriate permissions.
I feel it has something to do with trusted sites. If I change the code
to pass evidence to the XslTransform load (the good code) it all works
jim dandy and such. Unfortunately, I am unable to modify the code in
production and need to solve this at a machine.config / web.congig / OS
level. Any help would be greatly appreciated.
Thank you
Todd
***** BAD CODE *****
*************************
XslTransform xslt = new XslTransform();
xslt.Load(uncPath);
xslt.Transform(doc, xslArg, tw, null);
string result = sb.ToString();
Response.Write(result);
***** GOOD CODE *****
*************************
XmlDocument d = new XmlDocument() ;
d.Load(uncPath)
XslTransform xslt = new XslTransform();
xslt.Load((IXPathNavigable)d, null, this.GetType().Assembly.Evidence);
xslt.Transform(doc, xslArg, tw, null);
string result = sb.ToString();
Response.Write(result);
transform. Both the XSL and the XML come off a unc path on another
server. All annonymous accaess has been permissioned accordingly. In
addition aspnet_setreg.exe has been downloaded and been run to give the
applications the appropriate permissions.
I feel it has something to do with trusted sites. If I change the code
to pass evidence to the XslTransform load (the good code) it all works
jim dandy and such. Unfortunately, I am unable to modify the code in
production and need to solve this at a machine.config / web.congig / OS
level. Any help would be greatly appreciated.
Thank you
Todd
***** BAD CODE *****
*************************
XslTransform xslt = new XslTransform();
xslt.Load(uncPath);
xslt.Transform(doc, xslArg, tw, null);
string result = sb.ToString();
Response.Write(result);
***** GOOD CODE *****
*************************
XmlDocument d = new XmlDocument() ;
d.Load(uncPath)
XslTransform xslt = new XslTransform();
xslt.Load((IXPathNavigable)d, null, this.GetType().Assembly.Evidence);
xslt.Transform(doc, xslArg, tw, null);
string result = sb.ToString();
Response.Write(result);