27.2. SQL IIS Configuration

To use the mapping schema from the previous section, you need to configure SQL Server to allow for XML queries. Using HTTP to access SQL Server requires that you set up an appropriate virtual directory. You can use the IIS Virtual Directory Management for SQL Server utility to define and register a new virtual directory, also known as the virtual root, on the computer that is running Microsoft Internet Information Services (IIS). This utility instructs IIS to create an association between the new virtual directory and an instance of Microsoft SQL Server.

The name of the IIS server and the virtual directory must be specified as part of the URI. The information in the virtual directory is used to establish a connection ...

Get XML Schema Complete Reference, The now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.