The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
SalesLogix OLEDB Provider 7.2 for 64 bit machine Issues Connecting
Posted: 08 Sep 08 10:05 AM
|
We are trying to connect to a SalesLogix 7.2 system on a 64 bit server. We receive the following error "SLXOLEDB.1 provider is not registered on the local machine". SalesLogix is on the machine and installed using the Administrator user id. The sample SalesLogix Login screen program that Ryan provided on here does work, however, once i recompile it using Visual Studio 2005, the sample program seems to stop working and the same error starts to appear again. Has anyone run into similiar issues trying to login into SLX on a 64 bit machine?
Thanks, Glenn |
|
|
| |
| |
|
Re: SalesLogix OLEDB Provider 7.2 for 64 bit machine Issues Connecting
Posted: 09 Sep 08 2:50 AM
|
SLX OLEDB only works in 32-bit mode. If you are writing an application to use it, in VS, you need to specify the target as x86.
It isn't a problem for SLX or applications created in, say, VS6, because they are already 32-bit apps and run fine on 64bit.
Stephen
|
|
|
|
Re: SalesLogix OLEDB Provider 7.2 for 64 bit machine Issues Connecting
Posted: 10 Sep 08 6:37 AM
|
Glenn, does not matter if it is iis or a winforms application. The startup application has to be a 32 bit application specifically. When the ANYCPU setting is determined it will startup in a 64 bit address space and therefore will not be able to use the provider at all.
Mark |
|
|
|
Re: SalesLogix OLEDB Provider 7.2 for 64 bit machine Issues Connecting
Posted: 10 Sep 08 8:16 AM
|
Mark,
We recompiled the sample program using the x86 platform target and the customer gets the following errors:
When the user tries to run the program as a normal error, he gets system policy error and it doesn't run.
When he runs it as an administrator, he gets the following error. It looks like the error is when trying to read the following registry key key = Registry.CurrentUser.OpenSubKey(@"Software\SalesLogix\ADOLogin", false);
Request for the permission of type 'System.Security.Permissions.RegistryPermission,mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Any ideas?
Thanks again, Glenn |
|
|
| |
|