Suddenly can not establish connection with

From: michi (wwwmike_at_gmx.ch)
Date: 10/19/04


Date: 18 Oct 2004 22:59:11 -0700

Hello there

Since yesterday on my local server I could not establish any
connection to my sqlserver 2000 with my asp.net code. I have about 10
sites running over 1 year. But today out of a sudded the connection
string failed today.

This is the code I am always using

*************
'Open DB Connection
Dim cnn As New SqlConnection
cnn = New SqlConnection("Server=localhost;Database=myDB;UID=myUID;PWD=myPW;")
cnn.open '<-- error happens here
*************

***Error Message (German Version)*************

System.Data.SqlClient.SqlException: SQL Server ist nicht vorhanden,
oder der Zugriff wurde verweigert.
Some facts)

English Translation: SQL Server not available or connection denied.
*****************

Some facts

1) I can compile without error.
2) The code runs perfectly the server hosted at www.easerve.com, only
my localhost makes problem
3)If I use this new connection string, it works again on my localhost
4) When I am using this code then everthing works fine again
workstation id=SQUADRON;packet size=4096;user id=myUSER;data
source=SQUADRON;persist security info=True;initial
catalog=myDB;password=myPassword
6) I installed Windows XP SP2 one week ago
7) I did not play around with any db,directory or any security
settings

Why does my old code not work anymore.

Thanks for helping

Michael :)



Relevant Pages

  • Re: HTTP DDoS attack on our servers
    ... Server administration, security, programming, consulting. ... HTTP DDoS attack on our servers ... > handle HTTP requests at all and immediately closed the connection after ...
    (Incidents)
  • Re: DCOM Security.
    ... > server component via anonymous access. ... DCOM is nothing to do with security it is the distributed object ... you can use an open connection from anywhere else and crack away at ...
    (Pen-Test)
  • Re: Questions when using https://servername.local/remote
    ... I am now at home trying to access the office server. ... "Create Remote Connection Disk Wizard" I tried that and it does not work. ... or security parameters may not be configured properly ... When i try the public IP address of the server, i get into the Zywall10 ...
    (microsoft.public.windows.server.sbs)
  • Re: How is dangerous connect to server over internet with remote d
    ... If you want to add more security, create VPN connection first, then fire up ... Vulnerability in Remote Desktop Protocol Could Lead to Denial of ... encryption and if i connect to server with the same ip (i configure ...
    (microsoft.public.security)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)

Quantcast