2
Answers

Connecting to local host. Error.

Mic keeey

Mic keeey

16y
2.5k
1
Hi all.

I have created a Crystal Report Viewer Program. When Compiled on my machine (locally), it works fine.

However, I transferred this program onto one of our servers and each time the program is compiled, I encounter and error which says...

Login failed for user 'STS-COMPANY\SVRCOMP02$'.

I have tried the following bits of code within my config file - but nothing appears to work..

<add key="ConnectionString" value="Data Source=SVRSQL35;Initial Catalog=OTReports;Integrated Security=True" />

<add key ="ConnectionString" value="Persist Security Info=False;Connection Timeout=20;Initial Catalog=OTReports;Integrated Security=True;User Id=sts-company/user/COMPANY/ICT;Password=password"/>
   
<add key="ConnectionString" value="Data Source=SVRSQL35;Initial Catalog=OTReports;Integrated Security=True;User Id=STS-COMPANY\user;password=password"/>

Any help would be grately appreciated.

Thanks

Answers (2)