View Single Post
  #7 (permalink)  
Old October 23rd, 2006, 03:38 PM
VictorVictor VictorVictor is offline
Friend of Wrox
Join Date: Apr 2005
Location: Fort Walton Beach, FL, USA.
Posts: 190
Thanks: 0
Thanked 0 Times in 0 Posts


Took your advice as follows:

Made an ordinary simple aspx page and used the web.config manager to establish a connection to the Northwnd sql database which I attached to the project in the data folder.
Ran it, it worked fine.

Took the exact same web.config, database, connection string, etc, and used them in a simple web service.
Ran it, did not work.

Below appear the web service code, the error msg, and listing extracts showing the connection string.

This is my first web service and I'm trying to do it without spending hours going thru a book on web services. Seems like my shortcut approach is not going to cooperate, so I am going to turn to line 1, page 1 of the book and follow it. Hopefully, all will become clear as I go thru the book.

Thanks for your help.