Mic keeey

Mic keeey

  • NA
  • 22
  • 0

Server Connection - Error: Login failed for user 'STS-COMPANY\USERNAME.

Nov 29 2007 5:56 AM
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)