dbTalk Databases Forums  

Error on OleDBConnection to MSOLAP provider on a remote server with vs.net

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


Discuss Error on OleDBConnection to MSOLAP provider on a remote server with vs.net in the microsoft.public.sqlserver.olap forum.



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

Default Error on OleDBConnection to MSOLAP provider on a remote server with vs.net - 09-15-2003 , 08:47 AM






Hi,

1. I've created an ASP.NET project on my development machine.
2. I need to access a remote SQL Analysis Server
Dim dsn As String = "Provider=MSOLAP.2; Data Source=remote.server.pt;
Initial Catalog=FoodMart 2000; Integrated Security=SSPI; Client Cache
Size=25; Auto Synch Period=10000"

' Create a OleDb(!!)-connection

Dim conn As New OleDbConnection()

' Open the connection

conn.ConnectionString = dsn

....

Try

conn.Open()

Catch ex As Exception

node.InnerXml = "<error>" & ex.Source & ": " & ex.Message & "</error>"

xmlDoc.AppendChild(node)

GoTo fim

End Try



3. The conn.Open gives the error

<?xml version="1.0" encoding="utf-8" ?>
- <out>
<error>: No error information available: E_FAIL(0x80004005).</error>
</out>

4. I copy the project to the remote server, where IIS runs on the same box
as SQL-OLAP.
5. The same code works.
6. Btw: I'm able to open SqlConnections from my development machine to the
same remote SQL Server.

Why can't I access a remote server with OleDBConnection to a MSOLAP
Provider?
Can you help me pinpoint the problem?

Thanks in advance
Rafaela



Reply With Quote
  #2  
Old   
Bas Kersten [MS]
 
Posts: n/a

Default RE: Error on OleDBConnection to MSOLAP provider on a remote server with vs.net - 09-25-2003 , 08:39 AM






Hi Try,

Please check this webcast it covers all pitfalls in this area:

http://download.microsoft.com/downlo...b-aa13-03a4f02
2150d/WC120401.exe

http://support.microsoft.com/service.../wct120401.asp

HTH,
Bas


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.