dbTalk Databases Forums  

Connection Error

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Connection Error in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tony
 
Posts: n/a

Default Connection Error - 09-26-2006 , 09:18 AM






In order to test access to AS2005 dimensions / folders / hierarchies /
etc... I created a console application (in VS2003) and printed out the
entire tree structure. Everything worked great.

Now I want to take that code and put it in a c# class library and call
it from a web application.

The error I encounter is "The peer prematurely closed the connection"
when I call the Open method.

AdoConn = new ADODB.Connection();
AdoConn.Open(connString, "", "", 0);

I'm assuming that this is a credentials problem - but can anyone please
give direction on what I should look at to resolve?

Regards,
Tony


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.