SQL XML Virtual Directories Unaccessible

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sanjeevpurohit
    New Member
    • Aug 2007
    • 2

    SQL XML Virtual Directories Unaccessible

    Hi,

    I have a ASP .Net (IIS 6) website that uses SQL XML to fetch data from SQL Server. Two SQL XML virtual directories are created (for RO and RW operations). Now if we try to access the directories through IP address, it works all fine but if domain name is used I get an error, i.e.
    "The underlying connection was closed: Unable to connect to the remote server."

    Also one more interesting thing to know is, one more website runs on same port (80) with host header settings.

    Any pointers on why this would happen would be more than appreciated.

    Cheers,
    Sanjeev Purohit
  • sanjeevpurohit
    New Member
    • Aug 2007
    • 2

    #2
    Sorted!!

    Putting the server dns name and IP address entry in hosts file did the trick!!

    Cheers,
    Sanjeev

    Comment

    Working...