Connection Strings
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Content Selection Framework > Connection Strings




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Connection Strings  
Randy Jeppesen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-04-04 04:38 PM

Hey All,

I built a business component that matches shipments in a SQL table to orders
in the CS system.  My component takes a connection string.  I use that
connection string to access the SQL DB and I want to use the same connection
string to Initialize the OrderGroupManager object.  The OrderGroupManager
does not want to initialize with the connection string that I am passing it.
Can you please tell me the compatible versions of connection strings that it
uses and if there is version that I can use with the SQLHelper and the
OrderGroupManager?
My connstring:

" Server=INTERN1;database=Online_commerce;
USER
ID=sa;pwd=password;pooling=false";

I also tried:

"Data Source=INTERN1;User Id=sa;Password=password;Connect Timeout=30;
network library=dbmssocn;Initial Catalog=Online_commerce;"

//Create a new instance of the PIA OrderGroupManager

Microsoft.CommerceServer.Interop.Orders.OrderGroupManagerFreeThreaded
oOrderGroupManager = new OrderGroupManagerFreeThreaded();

object oConnSting = connectionString;

oOrderGroupManager.Initialize(ref oConnSting);

I keep getting the error: could not connect to datasource.

-Randy











[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register