Re: System.Data.SqlClient.SqlException: SQL Server does not exist????



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


.



Relevant Pages

  • Re: Forms Based Auth & Anon. Pub Folder Access
    ... > We've enabled Forms based Authentication on our Ex2k3 server for OWA. ... I need to allow Anonymous access to some calendars in the Public ... virtual server that doesn't have Forms based auth enabled, ... on just a virtual directory, so that the authentication access for another ...
    (microsoft.public.exchange.admin)
  • Accessing a remote share
    ... I'm trying to setup a virtual directory that's a share on another server, ... I am NOT using anonymous access. ...
    (microsoft.public.inetserver.iis.security)
  • Re: 440 Login Timeout on OWA
    ... this issue is related with the anonymous access on ... the Exchweb virtual directory. ... Open IIS from the Server Management ... Expand the Default Web Site and open the properties page of ExchWeb ...
    (microsoft.public.backoffice.smallbiz)
  • Re: 440 Login Timeout on OWA
    ... this issue is related with the anonymous access on ... the Exchweb virtual directory. ... please restart your IIS service and test your issue again. ... After logging on to Remote Web Workplace ...
    (microsoft.public.backoffice.smallbiz)
  • Re: 440 Login Timeout on OWA
    ... this issue is related with the anonymous access on ... the Exchweb virtual directory. ... please restart your IIS service and test your issue again. ... After logging on to Remote Web Workplace ...
    (microsoft.public.backoffice.smallbiz)