Re: Displaying XML in webbrowser

From: Irwin Dolobowsky[MS] (irwind_at_mail.microsoft.com)
Date: 04/05/04


Date: Mon, 5 Apr 2004 10:50:06 -0700

Sorry, but does everyone have their own Sql Server that they need to access?
Why aren't they accessing the same server?

Also, be careful when using sql=. Generally we recommend not to use it in
production, just because you're opening up you server to any query the user
has permissions for. Make sure you lock the database down tight or use
somethign like annotated XSD + Xpath.

-- 
Irwin Dolobowsky
Program Manager - SqlXml
http://weblogs.asp.net/irwando
This posting is provided "AS IS" with no warranties, and confers no rights.
"NSR" <nick@ragannet.com> wrote in message
news:1071e35e5q8174a@corp.supernews.com...
> When I try to access SQL server via HTTP, I'd set up a IIS virual
directory
> for XML support.
> then access it with
>
> http://localhost/myvirtualdirectory?sql="select * from sometable for xml
> auto,elements &root=root
>
> I can do this because I set up virtual directory in IIS
>
> Now I'm writing a pgm to display the XML format of the SQL resultset into
a
> control.
> The way I thought about doing this is to build the above URL internally
and
> send it to the Web browser
> COM object and navigate to it. Problem is  when my user runs my pgm on his
> machine, he wont have
> a virtual directory set up to handle XML via Http. Is it possible for me
to
> ask user to type in a
> virtual directory to be used so I can pare it into my URL and internally
set
> up his virual directory
> for him ? Since I dont even know if this is possible I am not sure if this
> is even possible. What if
> he doesn't even have IIS loaded on his machine ? etc
>
> What is the best way to do this? Any suggestions ? I'm interested to hear
> what you all thnk.
> Thanks
>
>


Relevant Pages

  • Re: sql 2000 with a frontal IIS 6.0 template XML
    ... If you are using IIS6, you should enable some options on iis configuration ... > I would like to use http to send query to my sql server ... > I've configurated the virtual directory IIS with the sql tool ...
    (microsoft.public.sqlserver.xml)
  • SQL Server does not exist or access denied
    ... System worked great on development computer (IIS and SQL ... "SQL Server does not exist or access denied." ... Application installed in a virtual directory. ... SQL server references the user. ...
    (microsoft.public.dotnet.security)
  • Writing to a Virtual Directory
    ... then sends this data back as XML. ... data being received is created in a virtual directory. ... This configuration runs fine in IIS 5.1 on XP Pro. ... permissions on this Virtual directory, ...
    (microsoft.public.inetserver.iis.security)
  • Re: RDA Pull authentication failed error
    ... The way I'm creating the virtual directory is following the wizard I create ... information I see the Internet URL which is ... > integrated security models on IIS. ... >> In the SQL Server CE Connectivity Management I create the Virtual ...
    (microsoft.public.sqlserver.ce)
  • Re: http://mymachine/sqlce/sscesa20.dll fails in IE
    ... > Sql Server CE 2.0 tools. ... > I have created a virtual directory in IIS using the configuration wizard ...
    (microsoft.public.sqlserver.ce)