January 10, 2002 at 9:58 am
I have set up IIS with a virt. dir. and have entered an xml and xsl.
When I type in the URL I am getting a page cannot be found message. When I enter the xml and xsl individuallyin the url they display. Any ideas or suggestions.
TIA,
Philip
January 10, 2002 at 10:10 am
Do you mean you ahve an XSL and XML template in your virtual directory?
Once you have the virtual directory, are you submitting a query bia url?
Steve Jones
January 10, 2002 at 10:34 am
YES & thanks for helping.
January 10, 2002 at 12:31 pm
yes for both?
Try a query into the URL, something simple like SELECT%20*%20FROM%20%pubs.dbo.orders
Steve Jones
January 10, 2002 at 12:59 pm
I got it working thankx for your help.
January 10, 2002 at 1:08 pm
September 9, 2002 at 6:33 am
Hi
I have the same problem (page not found) with the xml template file.
I configured a virtual dirctory and put the template file in this virtual directory . If I try to call htttp://server/virtual directory/test.xml II get the error message page not found. If I try the query in the url like this
http://server/virtual directory/?template=<person%20xmlns:sql="urn:schemas-microsoft-com:xml-sql"><sql:query>SELECT%20*%20from%20saphr%20%20where%20ntkennung='theimhei'%20FOR%20XML%20AUTO%20</sql:query>%20</person>
) it works.
Can you help ? Thanks and regards
heike
Edited by - heiket on 09/09/2002 06:34:12 AM
October 9, 2002 at 6:23 am
One possibility is that you haven't enabled template queries or specified a directory for them.
When you set up your IIS/SQLXML configuration,
(Start -> Programs -> SQL XML3.0 -> Configure IIS Support on my machine)
Check the properties of your virtual directory.
On the "Settings" tab, make sure that
the "allow template queries" is checked.
Then you must specify a physical directory for your template queries.
Do this in the "Virtual Names" tab.
Example
Name: MyTemplates
Type: Template
Path: YourSQLVDir/Templates
Click apply.
Hope that works
I don't know you need to restart IIS for this to statr working (shouldn't think so)
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply