Re: System.Data.SqlClient.SqlException: SQL Server does not exist????
- From: "Sambathraj" <v_sambath_raj@xxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 18:54:33 +0530
Hi,
Whenever you are windows authentication, ensure that anonymous access to the
virtual directory has been removed.
To do this go to the virtual directory in IIS, Properties -> Directory
Security -> edit . Uncheck anonymous access and use only integrated windows
authentication.
Regards,
Sambathraj
"GTDriver" <GTDriver@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4287B9E4-807C-4EF7-8214-137B3D9BDF42@xxxxxxxxxxxxxxxx
> I'm getting the following error when running my web app on my localhost
> web
> server:
>
> System.Data.SqlClient.SqlException: SQL Server does not exist or access
> denied
>
> I drag and dropped an sqlconnection1 object onto my web from from the
> server
> explorer. I'm getting the above error on the following line of code in my
> web
> form:
>
> da.Fill(ds, "Results")
>
> Does anyone know what I need to do to correct the above error? What is
> causing this error?
>
> --
> Sincerely,
>
> Keith
.
- Follow-Ups:
- Re: System.Data.SqlClient.SqlException: SQL Server does not exist????
- From: rbutch@xxxxxxxxx
- Re: System.Data.SqlClient.SqlException: SQL Server does not exist????
- References:
- Prev by Date: Re: One big pain in the arse
- Next by Date: Re: Help: Calling Oracle SP using OLEDB.net
- Previous by thread: Re: System.Data.SqlClient.SqlException: SQL Server does not exist????
- Next by thread: Re: System.Data.SqlClient.SqlException: SQL Server does not exist????
- Index(es):
Relevant Pages
|