Re: Very strange behavior of SQLServer with connection from CGI
From: Mattia (matt_at_none.com)
Date: 02/15/05
- Next message: Mike Epprecht (SQL MVP): "RE: Sql server 2000 database connection problem"
- Previous message: Peter Yang [MSFT]: "Re: Login failed for Server\Guest"
- In reply to: Geoff N. Hiten: "Re: Very strange behavior of SQLServer with connection from CGI"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 09:15:18 +0100
I understand, but the funny thing is that when I run the program just
executing it, it works everytime.
The problem is when I call it from the web server (on the same machine
where I run it by executing it).
Do you have an idea why when I run the software locally, launching the
exe, it originates only TCP/IP packets, and when I run it through the
webserver as a cgi it originates this UDP packet?
I mean, the oledb string is exactly the same.
It is because the user that executes the program the first time is the
local user, and the second time (when through the webserver) the user
is the INET user?
I'm sure the solution is there.
Thanks,
Mattia
On Mon, 14 Feb 2005 14:07:51 -0500, "Geoff N. Hiten"
<SRDBA@Careerbuilder.com> wrote:
>Not sure on the whole connection/reconnection issue. You may have an MDAC
>or connection pooling issue. Make sure your client systems are up to date
>with the latest MDAC. Older MDAC versions have problems with named instance
>resolution. Clustered instances look like named instances from a client
>perspective, otherwise they are identical to a standard SQL server
>implementation.
>
>You specify ports with xxx.xxx.xxx.xxx,portnum.
>
>You may also be running into a windows security issue. Windows attempts to
>create a SSPI session for windows networking if there is a common security
>context when a socket is created. This attempt and failure may also be
>causing your problems.
>
>Finally there could be DNS issues, but that seems very unlikely since you do
>get one good connection..
- Next message: Mike Epprecht (SQL MVP): "RE: Sql server 2000 database connection problem"
- Previous message: Peter Yang [MSFT]: "Re: Login failed for Server\Guest"
- In reply to: Geoff N. Hiten: "Re: Very strange behavior of SQLServer with connection from CGI"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|