Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

Database Login screen need to uncheck integrated Security everytime

$
0
0

Dear Sir,

I am using Visual Studio 2005 and crystal reports for visual studio 2005 and sql server 2000.

When I am running the project from my pc where it was developed and a local server with server authentication, report is opening but from client machine there is a new screen come before opening the report asking for login issue. my reports has subreports also.

I am using File DSN file to connect with server from crystal reports where dsn file contains as follows:

[ODBC]
DRIVER=SQL Server
UID=sa
PWD=sa
DATABASE=HRISDB
WSID=S-AGD-PAY01\HRSERVER
APP=Microsoft Data Access Components
SERVER=S-AGD-PAY01\HRSERVER

so it is dynamic bcoz i need change server name sometimes.  my question is when same report want show user from their pc then below screen appears:

 

then i need to uncheck the use integrated security and click finish then the reports come. This is very annoying for my clients.

Please help me how can I overcome it. can I add any line in File DSN file so that this will automatically uncheck and finish?

It is mentionable that I didn't use any dblogin method in my code to like setdbloginforReport(). I think there is no problem bcoz the report show correctly. Just want to know how to overcome this screen.


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>