Hi I'm totally new to Crystal reports I made a report and i added the data set (.XSD) and used a report viewer and report source in a page to show it but it shows a login screen instead but when i tried the machines login because i use integrated security but still no use but the report is showing the data when i click show preview in VS
What do i do ???
I'm using C#
Any help or sample Source would be grateful.
Crystal Reports with Asp asking for login
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Pravin GhadgeRank #1,340 · 1.3K reputationPosted Jan 4, 2012, 7:03 AM EST
Add 1 line after rd.Load(reppath); (rd is reportdocument & reppath is physical path of crystalreport ).
rd.DataSourceConnections[0].SetConnection("sa", "sql Password", "", "");
this may help u!!