I can't connect to our database (seperate database server) from within my
webservice. I cannot understand why.!!!
* I have configured IIS not to allow anonymous access and to use "windows
integrated authentication"
* I have configured the webService to use "windows" authentication and to
impersonate whomeever uses it.
* In the client (the one that consumes the webservice) I have specified the
network credentials (DefaultCredent ials) that the webService is to use.
* The database is configured to let me (my user) access the database.
* The connection string specifies integrated security
- In the webService I get the CurrentUser and check if it is my account: It
is
This setup didn't let me access the database nor did it allow me to write
debug files so I did a explicit impersonation of my user account (uid, pass
adn domain); result: I can write files whereever I want but I still cannot
access the database.
I tried to change the ProcessModel of IIS in machine.config to run as System
instead (higher privilegies). To no avail...
What to do.???
I know that I could login to the database using SQL authentication but that
is less secure and it doesn't answer this question.
webservice. I cannot understand why.!!!
* I have configured IIS not to allow anonymous access and to use "windows
integrated authentication"
* I have configured the webService to use "windows" authentication and to
impersonate whomeever uses it.
* In the client (the one that consumes the webservice) I have specified the
network credentials (DefaultCredent ials) that the webService is to use.
* The database is configured to let me (my user) access the database.
* The connection string specifies integrated security
- In the webService I get the CurrentUser and check if it is my account: It
is
This setup didn't let me access the database nor did it allow me to write
debug files so I did a explicit impersonation of my user account (uid, pass
adn domain); result: I can write files whereever I want but I still cannot
access the database.
I tried to change the ProcessModel of IIS in machine.config to run as System
instead (higher privilegies). To no avail...
What to do.???
I know that I could login to the database using SQL authentication but that
is less secure and it doesn't answer this question.
Comment