August 19, 2005 at 6:24 pm
Hello,
I have created a very simple xml template so that i can query a virtual directory.
---------------------------------Template------------------------------
<ROOT xmlns:sql="urn:schemas-microsoft-com:xml-sql">
<sql:query>
Select top 2 ContactName,CompanyName
FROM Customers
WHERE ContactName Like 'j%'
FOR XML AUTO
</sql:query>
</ROOT>
------------------------------------------------------------------------
This is the little query that i am using to access this template
http://localhost/XDesk/template/xdesk1.xml
========================================================
I am not receiving an error it just is not returning any type of result.
I am following along in a book,, and i was able to get a result back from a querry like this
localhost//xdesk?sql=Select+top+2+companyname,+contactname+from+ customers+for+xml+Raw&root=MyRoot
And when i moved to the template example, i am not able to retrieve a result.
This is my first set up with the iis for xml with the virtual directory,, so is there something that i might be over looking?
Thank you!
Erik...
Dam again!
August 19, 2005 at 7:13 pm
I got it,,
Dam again!
August 19, 2005 at 8:59 pm
Hey dude we can't see squat if the url you post is localhost... this points to the local host of the pc (ourself) and not your pc.
Can you also provide the solution so that others can profit from your findings?
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply