For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > May 2005 > How to change oledb provider (CR for .NET)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to change oledb provider (CR for .NET)
Jonatan

2005-05-19, 8:57 am

Hi all,

I've spent a lot of hours with this issue, but I'm stuck. I've searched all
the forums, crystal knowledge base articles, etc. No solution found.

My ASP.NET application must be able to execute using both SqlServer or
Oracle oledb connections. While I'm developing, I use to create reports
using Crystal Reports for .NET designer and a SqlServer oledb connection
database (this is the development database). But when I try to launch these
reports then connected to Oracle, a message error appears (LogOnFailed).
I've copied the code showed in crystal kbase article c2011464, and the error
appears again.

So I need to change the PROVIDER attribute of connectionstring, but I don't
know how to achieve it.

It works using CRXADRT library (COM component) , but I need to use the .NET
managed one, so to exploit all new web crystal capabilities.

Any ideas?

Very thanks in advance!

Jonatan


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com