Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Can't open SLX connection with Classic ASP (vbscript)
Michael Jay
Posts: 4
 
Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 15 8:56 AM

Hello,


I can't open a SLX connection with a Classic ASP (vbscript) page:


Set connSlx = Server.CreateObject("ADODB.Connection")
connSlx.open "Provider=SLXOLEDB.1assword=pwd;User ID=uid;Initial Catalog=SLXDB;Data Source=192.168.100.1ORT=1706;"


Error:


Provider error '80004005'


Unspecified error


If I open the SLX connection with an ASPX script and return to my Classic ASP page, the connection is working and I can query the SLX database.


How can I open the SLX connection with Classic ASP ?


Configuration:


IIS 8.5


SLX 8


The ASPX and Classic ASP pages are running in the same Application Pool (Integrated, CLR 4.0, Identity Network Service).

[Reply][Quote]
Stuart
Posts: 178
 
Re: Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 15 9:45 AM

Do you have the SQL Native Client installed (for the version of SQL Server you're using)? 


I think I had this error when I had the SLXOLEDB provider installed, but not SQL Native Client.


 

[Reply][Quote]
Michael Jay
Posts: 4
 
Re: Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 15 10:02 AM

I'm not using SQL Server.

[Reply][Quote]
Stuart
Posts: 178
 
Re: Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 15 10:23 AM

Well, you didn't specify the DB, so I couldn't know that. Someone else might be able to help.

[Reply][Quote]
Michael Jay
Posts: 4
 
Re: Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jun 15 10:40 AM

Sorry, I'm using Oracle 11.2

[Reply][Quote]
Michael Jay
Posts: 4
 
Re: Can't open SLX connection with Classic ASP (vbscript)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 15 8:31 AM

Well, I managed to find the solution:


In IIS, in my site, feature name: IIS/Authentication: Anonymous Authentication, I change the Application user identity to Application pool identity.


Full configuration to make it work:



  • Application Pool: Identity->Network Service, Load User Profile->True, Enable 32-Bit Applications: True

  • Site: Authentication: Anonymous Authentication->Application pool identity

[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): 11/22/2024 5:19:38 AM