title: How can I load crystal reports in web viewer without credentials?
body: <p>Hello we have an in house vb.net based application that will allow users to load and access reports that we have generated on a file server. When they are created they are made in the visual studio designer using an ODBC connection. We have decided to port this application over to a web based system using asp.net but have ran into a snag.  The viewer on the web page will load the reports (we can verify this by date criteria that appears on some) but a login page will appear that ask us for the following fields; Server Name, Database name, User name, and password. The top field being the server name is incorrect in that its not a valid hostname, unfortunately it will not let us change it. I have tried various in-code methods to override this message. I have set the credentials in the code, disabled the login in code, I even copied the exact ODBC connection settings to the server the site runs on. Has anyone ever had an issue with crystal reports viewer like this? </p>
  
  <p>Some of the code I use to attempt to resolve this was to create the credentials and set them for each table like so.</p>
  
  <pre><code>  For Each CrTable In CrTables
          crTableLogonInfo = CrTable.LogOnInfo
          crTableLogonInfo.ConnectionInfo =
          ConnInfo
          CrTable.ApplyLogOnInfo(crTableLogonInfo)
      Next
  </code></pre>