Hello,
I'm building an application to access a database through the intranet. I need a n-tier application so I wanted to use web services. The data trail is webpage->web service->DLL->SQL Database. Here is the problem:
I have a database server (SQl 2000) and a webserver (Win2K server & IIS 5) with the .Net framework installed. When I build an web application without a web service I get the data from the database. When I build a web service and directly open the webservice in IE6 I get the data from the database. But when I use a webpage that calls the webservice then the access to the database is denied. The problem is that the authentication isn't forwarded.
Impersonation is set to true in the machine configuration, I tried Kerberos authentication and even certificates, but nothing helps. I'm running out of ideas.
There must be a simple way to get this to work.
Arjan Meskers
Winthesis B.V.
The Netherlands
I'm building an application to access a database through the intranet. I need a n-tier application so I wanted to use web services. The data trail is webpage->web service->DLL->SQL Database. Here is the problem:
I have a database server (SQl 2000) and a webserver (Win2K server & IIS 5) with the .Net framework installed. When I build an web application without a web service I get the data from the database. When I build a web service and directly open the webservice in IE6 I get the data from the database. But when I use a webpage that calls the webservice then the access to the database is denied. The problem is that the authentication isn't forwarded.
Impersonation is set to true in the machine configuration, I tried Kerberos authentication and even certificates, but nothing helps. I'm running out of ideas.
There must be a simple way to get this to work.
Arjan Meskers
Winthesis B.V.
The Netherlands