Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

Unable to Completely Uninstall MSDE and SQL2000 locally linked to a VB6 program on XP Pro

Unable to Completely Uninstall MSDE and SQL2000 locally linked to a VB6 program on XP Pro

I inherited a working vb6 program using MSDE and have developed it into a royal dilemma.

On the initial vb6 program install, the path of the MSDE was requested and supplied. Program setup installed MSDE. Program executed with perfection over and over.  VB6 program worked properly; however only on first install.

PROBLEM BEGAIN once vb6 program was UNINSTALLED.
At REINSTALLATION, no VB6 requests to set path for MSDE occurred,
How would vb6 use MSDE and mssql's database file?
 
Start fresh, wipe down all traces of earlier installs and get program functioning as occurred or original install was the goal. Program would ask for MSDE path again if I uninstalled MSDE, yeah right, sour logic, that's a big negative. I UNINSTALLED MSDE desktop engine from add/remove in control pannel, regedit deleting of mssql hkeys, and unintalled vb6 program.

I REINSTALLED vb6 program, executed it and
received error message titled Microsoft SQL Server Login  Connection failed: SQLSTate: '08001' SQL Server Error: 17  
[DBNETLIB][ConnectionOpen (Connect()).)]SQL Server does not exist or access denied. I interpreted this to mean that the vb6 program did not reinstall MSDN.

I tried directly to manually INSTALL MSDN SETUP and got an error message, "A strong SA password is required for security reasons. please use SAPWD switch to supply the same. " 

Knowing program has worked before and thinking the attempts to uninstalled both the vb6 program and the MSDE I made it worse by finding the full SQL 2000 cd in order to use the full uninstall feature, but the uninstall button was blacked out. I proceeded to installed SQL2000 and with redoing an wiping clean using the SQL2000 uninstall feature but have read how that was not a good idea because of  MTS COMPONENTS and STUFF?? and how both use different system Dlls and can overwrite each other and cause conflicts.

Can anyone help? I know this program works on original install. Am on XP Pro and have used System Restore, even that didn’t wipe everything off.

Thank you in advance.
0
jedanner
Asked:
jedanner
  • 2
2 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
The solution is to rebuild the setup package, in order to skip the installation of MSDE if MSDE/SQL is already installed :-)
if that isn't a option:
* Get the file & registry state
* Install the program on a clean pc
* compare the registry state -> Diff -> can be applied on other PC

Now, for Upgrade of installations of that program, you can do the same procedure, however you will have to remove any references in the DIFF to the msde, because otherwise it will erase your nice database files :-)
Another way for the upgrade:
install a clean pc with the new version, and just copy over the new program files / dll / ocx etc on the other config & register the dll/ocx etc ...

CHeers

0
 
jedannerAuthor Commented:


question on rebuildings setup package: how do you begin that? what program do you suggest to build the setup?

It's ok if database files are deleted, nothing is in them. Do I search the register using the find option for "DIFF" and delete those instances (how do you know if they relate to msde)? Lol, I'm brand new at this. :)

thank you angelIII.

0
 
Eugene ZCommented:

all for you:


HOW TO: Manually remove SQL Server 2000 default, named, or virtual instance:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q290991
------------------
HOW TO: Manually Remove a Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) Instance
http://support.microsoft.com/default.aspx?scid=kb;en-us;320873
-------------
How To Distribute the Microsoft Data Engine (MSDE) With the Package and Deployment Wizard (PDW)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;231923
0
 
jedannerAuthor Commented:
THANK YOU VERY MUCH. Tremendous help angelIII and EugeneZ!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now