Hi. I'm trying to connect RS to a sybase db and are having some problems
connecting. I get the message: "Test connection failed becouse of an error in
initializing provider. Cannot load data source: <the IP I try to connect
to>". Im using the Sybase ASE OLE DB provider. The error messages comes up so
fast it almost seems it doesnt even try to connect. Any sugestions?
I have Winxp SP2 and RS SP1.
I work very extensively with Sybase. I have not had much luck with the OLEDB
provider (although I think I know what is wrong here and if you insist on
staying with OLEDB I can try to dig up some more information for you). The
best way to work with Sybase is to use the ODBC driver instead. Setup a
machine DSN and use the Microsoft oledb provider for ODBC and then use the
Sybase ODBC drive. Performance is good, no problem from that point. There
are problems with using stored procedures with the OLEDB provider and other
problems.

Signature
Bruce Loehle-Conger
MVP SQL Server Reporting Services
> Hi. I'm trying to connect RS to a sybase db and are having some problems
> connecting. I get the message: "Test connection failed becouse of an error
[quoted text clipped - 5 lines]
>
> I have Winxp SP2 and RS SP1.
aCa - 24 Jan 2005 14:47 GMT
It's the same for me if I use OLEDB or ODBC... to be hones I don't really
know the difrence :-) I tryed the ODBC too but didn't manage to connect.
Could you post an example connection string for me? I tryed to do it with the
"wizard" but didn't manage to create the new connection. Also tryed to
manually decide the connection string under advanced "Driver={SYBASE ASE ODBC
Driver};Srvr=Aron1;Uid=username;Pwd=password", but that didnt work either.
Could you post and example of a connection string here?
The DSN I created had TCP as the protocol, how can I test if that is
correct? I know I have the correct port and IP on the connection.
Thanks alot
> I work very extensively with Sybase. I have not had much luck with the OLEDB
> provider (although I think I know what is wrong here and if you insist on
[quoted text clipped - 14 lines]
> >
> > I have Winxp SP2 and RS SP1.
BruceLC - 24 Jan 2005 19:55 GMT
DSN is an ODBC thing, not oledb. Sybase has an OLEDB configuration manager
that you have to use if using their oledb provider. Here is what I suggest
you do for ODBC. Create a machine DSN and test the connection. Do this:
1. Create the ODBC Machine DSN and test that connection works
2. Pick provider Microsoft OLE DB Provider for ODBC drivers
3. Next
4. Use Data Source name and pick the DSN you created in 1
5. Enter username and password to use.
6. Pick initial catalog to use and click on test connection
7. Click OK
You should now be done. If you have a problem with username and password
after you are done double click on the data source and go to the credential
tab.

Signature
Bruce Loehle-Conger
MVP SQL Server Reporting Services
> It's the same for me if I use OLEDB or ODBC... to be hones I don't really
> know the difrence :-) I tryed the ODBC too but didn't manage to connect.
[quoted text clipped - 27 lines]
> > >
> > > I have Winxp SP2 and RS SP1.
aCa - 25 Jan 2005 09:55 GMT
Thanks, I managed to get up the connection now finally. I had tryed what you
said earlier... but found out that I had forgot the portnumber after the
IP... lol. Oh well it works now atleast.
> DSN is an ODBC thing, not oledb. Sybase has an OLEDB configuration manager
> that you have to use if using their oledb provider. Here is what I suggest
[quoted text clipped - 54 lines]
> > > >
> > > > I have Winxp SP2 and RS SP1.
sivaram - 27 Aug 2008 16:19 GMT
Hi Bruce ,
I saw your answers in good number of Google Searches .. Can you please give
us a light on this below issue
Hi Folks,
i am missing some thing in the script which is not giving me a Dataset
Below is the script
Create Table AIG_TTSSIVA (
omsref varchar(16) null ,
moddate datetime null
)
SET NOCOUNT ON
begin
Insert into AIG_TTSSIVA SELECT '0',''
Insert into AIG_TTSSIVA SELECT SUBSTRING(a.uniquemsgref, 1, 16) AS
omsref ,max(a.moddate) as moddate FROM tmsg_status a
where cONVERT(CHAR(10), a.moddate , 101) = '08/05/2008'
Group by SUBSTRING(a.uniquemsgref, 1, 16)
end
Select omsref , moddate from AIG_TTSSIVA
Drop Table AIG_TTSSIVA
In the reporting services , gives the results , but we are NOT getting the
dataset on left hand side
But it works when the table was created Mannually by me in the database ,
Insted of Creating and Droping the Table Just deleting the content it works
fine. We are trying to avoid the reporting tabes in the Database , so that
Upgrades are smoother ..
Connection Details
Sybase OLE DB - ODBC - Sybase Database
Any Help - light on this is Highly appriciated
regds
siva ram
>I work very extensively with Sybase. I have not had much luck with the OLEDB
>provider (although I think I know what is wrong here and if you insist on
[quoted text clipped - 10 lines]
>>
>> I have Winxp SP2 and RS SP1.