Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, April 25, 2024 
 
View User Profile  

 User Profile - Jay Mehta  
Jay Mehta
(SalesLogix Business Partner)
Conexio

abortion pill online philippines

abortion manila extrageek.com buy abortion pill

buy antidepressants uk

amitriptyline online tonydyson.co.uk amitriptyline 25mg
fjrigjwwe9r1SiteUser:UserBio
fiogf49gjkf0d


Log in to send this member a message!
 


 Jay Mehta's Contributions
Jay Mehta has contributed 3 comments and 0 articles.
 
Select to view:    
Comment: Re: Building a SalesLogix Login Screen
fiogf49gjkf0d
Unfortunately executing the following code is still throwing the invalidcastexception on the conn.Open() call.

string connstring = "Provider=SLXOLEDB.1;Data Source=crm12server;Initial Catalog=SALESLOGIX_VSERVER;User ID=admin;Password=****;Persist Security Info=True;RWPASS=;Extended Properties=\"PORT=1706;Log=On\"";
OleDbConnection conn = new OleDbConnection(connstring);
conn.Open();



Author: Jay Mehta - 1/25/2005

 
Comment: Re: Building a SalesLogix Login Screen
fiogf49gjkf0d
Ryan, thanks for the response. I see your point about using the right provider. I'm using this connection string - "Provider=SLXOLEDB.1;Data Source=crm12server;Initial Catalog=SALESLOGIX_VSERVER;User ID=admin;Password=****;Persist Security Info=True;RWPASS=;Extended Properties=\"PORT=1706;Log=On\"" I got this from the SLX LAN Developer's Reference. Does it look right to you?

I noticed you mentioned that the slxApp.getNewConnection() method returns an ADO Connection object. Which version of ADO does it use? Cause I tried casting it to an ADODB.Connection class. And that threw the same exception.

Author: Jay Mehta - 1/24/2005

 
Comment: Re: Building a SalesLogix Login Screen
fiogf49gjkf0d
Great article. I downloaded the SLX Login Demo and ran it. However, I'm getting an error on the conn.Open(); statement. The exception is an "InvalidCastException - Specified cast is not valid". I'm also running into the same error in my own login app. Has anyone else seen this error? Could it be something in my dev environment? Any help would be greatly appreciated.

Also, I tried using the slxApplicationClass object to retrieve the connection object using GetNewConnection. I understand that it returns an object, but if I tried casting it as an oledbconnection. I get the same error mentioned above. Ditto if I try to cast to a adodb connection object.

Thanks for any suggestions.

Author: Jay Mehta - 1/24/2005

 


 
 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/25/2024 12:40:45 AM