/build/static/layout/Breadcrumb_cap_w.png

Port Number not displayed in ODBC on DSI

Hi,
I am creating an MSI Package for an application Platypus Trader v4.5.It does not have any dependencies and consists of raw files provided to me as source.The MSI package needs to be installed over Windows XP-DSI and Windows Vista Operating systems via OVCM(Open View Configuration Manager).I am creating the ODBC settings for the application wherein a system DSN is created and i need to enter the server name and port number.

Now my problem is that when I test the MSI Package via OVCM on Windows Vista and Windows XP-DSI operating systems using test privileges,it does not display the correct port number(displays 1433 which is incorrect).

If I logout from my test account and then login into administrator account and then check the ODBC Settings,it displays the correct port number(2431).I checked the registry path under "HKLM\Software\Microsoft\MSSQL\ConnectTo" path,it shows the correct port number on both admin as well as test user privileges.However, this is not reflected in the ODBC screen with test account.

I have tried rebooting the system and logging in with my test id again but still not helped change the port number.

Kindly assist on the same asap.

Note:On SOE systems, the port number is correctly displayed.This problem is only with DSI systems (Windows XP-DSI and Windows Vista).

0 Comments   [ + ] Show comments

Answers (7)

Posted by: MSIPackager 14 years ago
3rd Degree Black Belt
2
I had this myself on XP SP2 (not sure what you mean buy XP-DSI ?!)

Although the port number is configured correctly and will work - it won't display for a locked down user unless you open up permissions on HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo

Cheers,
Rob.
Posted by: MSIPackager 14 years ago
3rd Degree Black Belt
2
XP-DSI is Windows XP SP3

Ahh of course - I should have known [;)]
Posted by: MSIPackager 14 years ago
3rd Degree Black Belt
2
No problem.. don't be afraid to rate the post [;)]
Posted by: satyapai 14 years ago
Orange Senior Belt
0
Hi Rob,

Thanks a lot for your response.

XP-DSI is Windows XP SP3 (DSI - Desktop Standarisation Initiative which is going to replace the SOE environment soon at my workplace).

This is what is happening.

When the user launches the executable on test user privileges, he gets an error "could not start trader.exe as the ODBC settings are incorrect", this means that the executable is looking at the port number from the "odbcad32.exe" and not from the "HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo" path in the registry.
I mean, the "HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo" path in registry displays the port number correctly but the "odbcad32" does not.

I will try opening up the permissions on the registry path in the MSI and will inform you on how it goes.

Thanks and Best Regards,
Satyajit.
Posted by: satyapai 14 years ago
Orange Senior Belt
0
Rob,
Let me say...YOU ROCK!!!

setting the permissions on the HKLM registry path worked like a charm!!!

The application now displays the correct port number on test user privileges.

Thanks a ton mate!!
Cheers,
Satyajit.[:D] [:)]
Posted by: anonymous_9363 14 years ago
Red Belt
0
So...we have a piece of s/w that requires WRITE permissions to READ a registry entry? Why am I not surprised? How do these clowns get away with this cr@p?
Posted by: MSIPackager 14 years ago
3rd Degree Black Belt
0
I can't comment on the app Satyajit is working on but I found it just creating a standard SQL Server system DSN - only difference was that they wanted it setup for a specific port.

The connection itself was working fine but the ODBC GUI didn't display the specific port number. The only way I found to overcome this was the permissions. Hardly ideal I know.. but the crappy software in this case is Windows [:D]

God bless crap software.. keeps me employed and the family fed and watered!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ