Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, April 23, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 Administration Forums - Installation
Forum to discuss installing SalesLogix and general installation topics. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Installation | New ThreadView:  Search:  
 Author  Thread: IIS 7.5 SalesLogix 7.2 Crashes web server when trying to connect through OLEDB connection
Christian Patzer
Posts: 1
 
IIS 7.5 SalesLogix 7.2 Crashes web server when trying to connect through OLEDB connectionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Jan 13 12:40 PM

I have a website runing on IIS 7.5 / .NET 4. I am trying to connect to SalesLogix through an OLEDB connection.


OleDbConnection slxConnection = new OleDbConnection("Provider=SLXOLEDB.1;User ID=website; Password=XXXXXX;Initial Catalog=SALESLOGIX;Data Source=ssdata; Persist Security Info=True;");


slxConnection.Open();


 


This throws an uncatchable error and puts this in the event log:


 


Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bcd2b


Faulting module name: SLXDBEngine.DLL, version: 7.2.0.1501, time stamp: 0x46930ac2


Exception code: 0xc0000005


Fault offset: 0x000b087d


Faulting process id: 0x1f34


Faulting application start time: 0x01cdff3ae8131bbf


Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe


Faulting module path: C:\Program Files (x86)\SalesLogix\SLXDBEngine.DLL


Report Id: 3f262c1b-6b2e-11e2-b494-005056c00008


 


Now, from what I understand from my reading, this is due to the fact that SalesLogix needs write permission to a "user" directory i.e. (C:\Users\username). IIS is running as "Network User" and doesn't have a user directory. Network user is a limited user for security reasons.


I am at my wits end trying to get this to work. I even tried installing SLXSystem.exe as a service and running the service as an elevated user, me. 


And yes, I was able to get this running without any problem running a console application, unfortunately I really need the website to be able to play nice with SalesLogix.


Any help would be greatly appreciated!!!


 

[Reply][Quote]
Thomas Aussem
Posts: 57
 
Re: IIS 7.5 SalesLogix 7.2 Crashes web server when trying to connect through OLEDB connectionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Feb 13 1:13 AM
fiogf49gjkf0d

Hi Christian,


as long as the information in your connection string are right, there is no issue in the two lines of code. I suppose, the user "website" is a SalesLogix user, isn't he?


So, it has to be a configuration issue. To clearify the environment, it would be helpful, if you describe the environment more detailed.


Do you have set up the SalesLogix Web Host on that IIS server and is the SalesLogix web host running fine? Or do you use a standalone IIS without SalesLogix installed?
Have you tried to switch your application to .Net 3.5 as target framework? I am not sure, if SLX 7.2 (and it's depedencies) supports) .Net 4.
Is your IIS running in 32bit mode?


Cheers,


Thomas

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: IIS 7.5 SalesLogix 7.2 Crashes web server when trying to connect through OLEDB connectionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Feb 13 10:41 AM

Make sure the application pool for your website is 32-bit. The SLX OLEDB Provider won't work in a 64-bit environment. Open the App Pool's Advanced Settings and look for the setting called "Enable 32-bit applications" and set it to True.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/23/2024 7:39:02 PM