I have created a number of web services (CGI) using Delphi 2010. All my simple demos have worked fine. That tells me that thus far, my IIS 7 web server is working fine.
Now, i am trying to make a DB connection to MS SQL SERVER 2005 DB and i keep getting errors - that it doesn't recognize the Alias.
I can take the same exact code and put it in a NON Web Service application (executable) and run it from the same folder (wwwroot) and everything works fine. Tat tells me, that there is something about IIS7 or MS SQL server 2005 that isn't configured right to accept from web service?
Anyone have any ideas. On Friday, someone mentioned this:
"To specify that the service uses the Network Service account, click This account, and then type NT AUTHORITY\NetworkService
To do this go Start->Run and then enter "services.msc"
Navigate to the IIS service and right click and select Properties and then go to Log on.
Make sure This Account is checked and it says Network Service"
I cannot seem to find what the name of the service (IIS7) is in the list of services, so i can try this suggestion.
Anyway, if anyone could help, it surely would be appreciated!