I am having a problem with viewing a crystal report in asp.net. when the db is located on another computer or server I get the following error
"CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed".
If the db is located on local machine it works just fine. It is a simple report just grabbing one field, because this is the root of all my problems with this. I have look at hundreds of post but when dealing with this error they are looking at local machines and I have tried all the setups they have mentioned. I feel it is a rights issue between my machine during asp.net running and the machine it is trying to grab the db from. If anyone has any information it would be greatly apprecieated.
//***********************************************888
ReportDocument oRpt = new ReportDocument();
oRpt.Load("C:\\Inetpub\\CrystalReportViewer1.ReportSource = oRpt;
CrystalReportViewer1.DataBind();
//***************************************************
very simple just grabbing one field from one simple access db. As mentioned works fine on local does not work on other machine located on the network.
p.s. I have administrator rights to all computers so its not a system login issue. I think asp.net uses a different criteria, because I can grap info from db using code behind datasets. I would rather not do this though do to complicated reports.
"CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed".
If the db is located on local machine it works just fine. It is a simple report just grabbing one field, because this is the root of all my problems with this. I have look at hundreds of post but when dealing with this error they are looking at local machines and I have tried all the setups they have mentioned. I feel it is a rights issue between my machine during asp.net running and the machine it is trying to grab the db from. If anyone has any information it would be greatly apprecieated.
//***********************************************888
ReportDocument oRpt = new ReportDocument();
oRpt.Load("C:\\Inetpub\\CrystalReportViewer1.ReportSource = oRpt;
CrystalReportViewer1.DataBind();
//***************************************************
very simple just grabbing one field from one simple access db. As mentioned works fine on local does not work on other machine located on the network.
p.s. I have administrator rights to all computers so its not a system login issue. I think asp.net uses a different criteria, because I can grap info from db using code behind datasets. I would rather not do this though do to complicated reports.