Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: Crystal Report 8.5 + MSSQL Server 2008 - con. bug Post Reply Post New Topic
Author Message
zhenya
Newbie
Newbie


Joined: 16 Sep 2010
Online Status: Offline
Posts: 1
Quote zhenya Replybullet Topic: Crystal Report 8.5 + MSSQL Server 2008 - con. bug
    Posted: 16 Sep 2010 at 11:54pm

I have issues with connection in application that uses Crystal Report. Issue occurs when CR component initializes connection to database. Application crashes at that point. But when I initialize connection to some directory on server via remote desktop before application starts, then it connects to database successfully. In our project I am using 'CrystalReport' object for report generation. Or connection string looks like

CR_Object.Connect = "DSN=" & gServerName & ";UID=" & gUserName & ";PWD=" & gUserPass & ";DBQ=" & gDatabaseName

with appropriate values. Application connects successfully with the same connection string. I tried to fix this issue using LogOnServer(dll As String, server As String, database As String, userid As String, Password As String) with 'pdsoledb.dll' passed as first argument, but I could not find appropriate dll implementation. How can I fix this issue with connection to data base ?



Edited by zhenya - 17 Sep 2010 at 3:50am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.