PDA

View Full Version : DSN not removed



JoeThompson
07-26-2002, 12:30 PM
Hi,

I have a Standard project using IS Dev 7.02. I use an ODBC Resource to create a DSN.
Everything seems to work fine during installation and the program uses it just fine. When I uninstall, the DSN still remains.

I remove the database before the RemoveODBC call. What am I doing wrong?

I logged the uninstallation and here are the lines dealing with RemoveODBC:

MSI (s) (3C:30): Doing action: RemoveODBC
Action start 9:39:37: RemoveODBC.
MSI (s) (3C:30): Note: 1: 2262 2: ODBCTranslator 3: -2147287038
MSI (s) (3C:30): Note: 1: 2262 2: ODBCTranslator 3: -2147287038
MSI (s) (3C:30): Note: 1: 2262 2: ODBCDriver 3: -2147287038
MSI (s) (3C:30): Note: 1: 2262 2: ODBCDriver 3: -2147287038
MSI (s) (3C:30): Note: 1: 2711 2: ODBCDriverManager
GenerateScript: Removing ODBC components
MSI (s) (3C:30): Note: 1: 2711 2: ODBCDriverManager64
Action ended 9:39:37: RemoveODBC. Return value 1.

then further down...

MSI (s) (3C:30): Executing op: ActionStart(Name=RemoveODBC,Description=Removing ODBC components,)
Action 9:39:44: RemoveODBC. Removing ODBC components
MSI (s) (3C:30): Executing op: ODBCDriverManager(,BinaryType=0)
MSI (s) (3C:30): Executing op: ODBCDriverManager(,BinaryType=1)


Thank you,
Joe

Prince
07-27-2002, 04:57 AM
Just check the Parmanent property of the component with which this ODBC resource is linked. If this is set to Yes then change it to No.

kbernhardt
07-29-2002, 03:37 AM
Hi joe,

that is a bug in 7.02. ODBC Data Sources are allways permanent.
Look at the readme from 7.03.

Klaus

JoeThompson
07-29-2002, 09:04 AM
Thanks for the heads up. This was driving me crazy.

Joe

jeronimo
11-04-2002, 03:37 AM
Hi all,
I would like to know whether there is a way to have the DSN uninstalled anyway.
Does the 7.03 readme answers this? If yes, how can I get it?

Thanks,
Jerome