Author: rperreta | Posted on: 7/31/2009 7:51:46 PM | Views : 1759

 ok,
 I've worked every example I could find on the web and I can't seem to get this working... I basically need to pass a default username and password to my reporting server (same one for every user).  I've done this before and I can't seem to get it going.  See code below:
MY Problem:
ReportViewer1.ServerReport.ReportServerCredentials = new ReportCredentials("username", "password", ""); ----------> Blue underline on ReportCredentials
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://69.18.xxx.xxx/ReportServer");    Error 1 The type or namespace name 'ReportCredentials' could not be found (are you missing a using directive or an assembly reference?) 

MY CLASS:
Go to the complete details ...