Re: Cannot initialize SSPI package

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Glen Moffitt (gd.moffitt_at_verizon.net)
Date: 04/22/04


Date: 22 Apr 2004 11:22:23 -0700

I don't know the answer but was curious as to the version of SQL
Server you are having trouble connecting to..

rtorreca@hotmail.com (Ogie T) wrote in message news:<a099ddcd.0404210939.270de9fc@posting.google.com>...
> After installing the security updates below, my vb6 applications
> started having problems connecting to the database.
>
> http://www.microsoft.com/technet/security/bulletin/ms04-011.mspx
> http://www.microsoft.com/technet/security/bulletin/ms04-012.mspx
> http://www.microsoft.com/technet/security/bulletin/MS04-014.mspx
>
> I do not have a custom security.dll installed so I know this is not
> the cause of my problem. Searching my entire server will not return
> this file.
>
> System specs:
> Windows 2000 5.00.2195 SP4
> Visual Basic 6.0
> ActiveX ADO 2.5
> IIS 5.0
>
> The applications I have uses a dll for connecting to the database.
> Let's call this dll conn.dll for illustration purposes. Conn.dll
> simply returns an adodb.connection that's already opened. (This way
> when multiple application that need to go to that db, other programmer
> won't need to know the uid/pwd/db. They just need this util to connect
> to it)
>
> I have an .exe that has been running stable for more than 2.5 years
> that uses conn.dll. After applying the patches, it started failing and
> found that it fails with "Cannot Initialize SSPI Package" when
> attempting to connect to db. But the problem does not happen with our
> web applications, which are installed on the same server and also use
> conn.dll to connect to db. Why would it fail on one and not the other?
>
> I also wrote a test .vbs script that uses conn.dll to see if it can
> connect. No problem.
>
> I also wrote another .exe that uses the code snippets from the
> original .exe and it runs without any problems! Again, why would it
> fail on one and not the other when it uses the exact same dll?
>
> So, ok, I remove conn.dll from the .exe and tried to connect using
> straight ADODB.connection with a hard-coded connection string. Still
> fails. But use the same code on a vbscript on the other .exe I
> mentioned, and it works just fine.
>
> I haven't tried uninstalling the patches because it simply is not an
> option at this time as they are critical patches that MUST be
> installed.
>
> If anyone can offer any help, I would greatly appreciate it.
>
> thanks,
> Ogie



Relevant Pages

  • Re: DHCP server and netgear router problems
    ... Originally they had windows server 2003 installed. ... SBS2003 they had the option of installing SBS2003 DHCP server as part of the ... >> the existing setup instead of installing the SBS DHCP, ... >> clients to the domain and connecting to companyweb clearly. ...
    (microsoft.public.windows.server.sbs)
  • Cannot initialize SSPI package
    ... After installing the security updates below, ... The applications I have uses a dll for connecting to the database. ... I have an .exe that has been running stable for more than 2.5 years ...
    (microsoft.public.sqlserver.setup)
  • Re: xp wont let me load .exe files from server
    ... the computer needs to be able to run .exe ... files from the server. ... that depends on installing programs of their ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Service hung on starting
    ... This is actually an upgrade for us - from an old server to ... the old server we also had two 3Com server NICs doing load ... > up as the second NIC connecting the server to a 3Com ... without installing all the ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Service hung on starting
    ... up as the second NIC connecting the server to a 3Com ... In a previous installation, without installing all the ... I did get the server set up to access the ... update the the Intel chipset and the drivers for the NICs. ...
    (microsoft.public.backoffice.smallbiz2000)