RE: Problem With Web Service
- From: "Saravanan K V" <SaravananKV@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 14 Aug 2005 23:48:27 -0700
Hi,
Please answer few questions below:
Do the web service is implemented in a different project or in the same web
application?
Do you use windows authentication for connecting to the sql server?
Do you use impersonation in the web application?
If the web service is implemented in a different project and you use windows
authentication and impersonation in the web application, check if you have
enabled the impersonation in the web service application.
--
Saravanan K V
"Wayne Wengert" wrote:
> I created a simple web service that returns a dataset containing the city
> and state when the GetZIP function is called with a zip code as the
> parameter. When I test the web service by opening the asmx file I get an
> error "System.Data.SqlClient.SqlException: SQL Server does not exist or
> access denied."
>
> I am using the same database connection string that my aspx pages do and I
> have double checked that it is correct. Is there some special permission
> required for an asmx page to access an sql server?
>
> Wayne
>
>
>
.
- Follow-Ups:
- Re: Problem With Web Service
- From: Wayne Wengert
- Re: Problem With Web Service
- References:
- Problem With Web Service
- From: Wayne Wengert
- Problem With Web Service
- Prev by Date: RE: Help with Datagrid class. Trying to remove it in the following cas
- Next by Date: Re: Windows Client for XML Web Service
- Previous by thread: Problem With Web Service
- Next by thread: Re: Problem With Web Service
- Index(es):
Relevant Pages
|