Help

I'm trying to open a Crystal Report in a CRViewer on a Windows Form.

The report has been created with Intergrated Security and is based on a sp.

When trying to open the report from my vb app i'm being propmted for my ID and Password.

I'm also using the following code

VB Code:
  1. crTables = crReportDocument.Database.Tables
  2.  
  3.         For Each crTable In crTables
  4.             crtableLogoninfo = crTable.LogOnInfo
  5.             crtableLogoninfo.ConnectionInfo = crConnectioninfo
  6.             crTable.ApplyLogOnInfo(crtableLogoninfo)
  7.         Next

Does anyone know where I'm going wrong?

Thanks