SQLXML: error loading XSL stylesheet (A security error occurred)

G

Guest

Hey, all! We're having trouble displaying SQL Server data in a web site as
XML, using a transform. The query is a simple SELECT statement. When
running the query, we get the following error from the web site:

<error>
[COMException (0x80004005): SQLXML: error loading XSL stylesheet (A security
error occurred
)]

Microsoft.Data.SqlXml.Common.ISQLXMLCommandManagedInterface.ExecuteToOutputStream() +0
Microsoft.Data.SqlXml.SqlXmlCommand.innerExecute(Stream strm) +137

[SqlXmlException: SQLXML: error loading XSL stylesheet (A security error
occurred
)]
Microsoft.Data.SqlXml.SqlXmlCommand.innerExecute(Stream strm) +178
Microsoft.Data.SqlXml.SqlXmlCommand.ExecuteToStream(Stream outputStream)
+10
UATPWebApplication.QueryResults.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
</error>

There are 2 servers in an NLB config. WS1 works fine (no error), but WS2
doesn't.

I've searched and searched, but I'm not able to find a similar error neither
in the newsgroups, nor Google. Any help is appreciated.
 
G

Guest

SOLUTION! The error was being caused by my SSL certificate - access to our
XSL sheets required SSL. I replaced the SSL cert, and now all is good!

Thanks to everyone who... wait! I solved it MYSELF!!!

Not bitter at all,

campwes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top