Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2006, 09:08 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The remote server returned an error: (404) Not Fou

Hi,

I am facing some problem while do trasnform using XSLT. I am using sqlxml and sqlserver 2000. please help me on this... i have given the code and error message.

sqlCommandText = "<ROOT xmlns:sql='urn:schemas-microsoft-com:xml-sql'>" + Environment.NewLine +
                "<sql:query>" + strSql + "</sql:query>" + Environment.NewLine +
                "</ROOT>" + Environment.NewLine;

            SqlXmlCommand cmd = new SqlXmlCommand(conString);
            cmd.CommandType = SqlXmlCommandType.Template;
            cmd.CommandText = sqlCommandText;
            cmd.OutputEncoding = "UTF-8";
            cmd.RootTag ="root";
            XmlDocument doc = new XmlDocument();
            doc.Load(cmd.ExecuteXmlReader());
            XmlUrlResolver resolve = new XmlUrlResolver();
            XslTransform xslTran = new XslTransform();
            xslTran.Load(xslpath);
            XmlDocument xmlDocTransformed = new XmlDocument();
            XmlReader reader = xslTran.Transform(doc, null, resolve);
            xmlDocTransformed.Load(reader);


ERROR:-

The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.CheckFinalStatus()
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncRes ult asyncResult)
   at System.Net.HttpWebRequest.GetResponse()

 
Old September 12th, 2006, 11:45 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

error 404 means you set a request for a URL that the HTTP server couldn't locate.

There's no way we can help you diagnose this from the information supplied.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error # 462 - Remote Server does not exist or is u doncar38 Word VBA 3 January 17th, 2008 08:04 AM
SQL Server Remote Access error sterreyl BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 4 April 18th, 2007 01:24 PM
SQL Server remote connection error sterreyl ASP.NET 2.0 Basics 1 April 6th, 2007 07:17 PM
server error when uploading to remote server ammweb ASP.NET 1.0 and 1.1 Basics 7 July 30th, 2006 01:51 AM
Error 462 : Remote server doesn't exist ldk2004 BOOK: Expert One-on-One Access Application Development 0 December 17th, 2004 01:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.