mwhodges
asked on
Problems with an ssrs report
I have the following code that I am using to call a report from my local machine.
ReportViewer1.ProcessingMo de = Microsoft.Reporting.WebFor ms.Process ingMode.Re mote
ReportViewer1.ServerReport .ReportSer verUrl = New System.Uri("http://localhost/reportserver")
ReportViewer1.ServerReport .ReportPat h = "C:\Users\Matt\Documents\V isual Studio 2010\Projects\AGFC Budget\AGFC Budget\FieldBudgetReport2. rdl"
ReportViewer1.ShowParamete rPrompts = True
ReportViewer1.ShowPrintBut ton = True
I am getting the following errors: It stops once I click the webform with the report viewer with on it heres that message:
Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: panelsCreated[3]
and if I click ignore I get the following message:
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 129.0.21.1:80
Please help. THanks in advance
ReportViewer1.ProcessingMo
ReportViewer1.ServerReport
ReportViewer1.ServerReport
ReportViewer1.ShowParamete
ReportViewer1.ShowPrintBut
I am getting the following errors: It stops once I click the webform with the report viewer with on it heres that message:
Microsoft JScript runtime error: Sys.ArgumentNullException:
Parameter name: panelsCreated[3]
and if I click ignore I get the following message:
Unable to connect to the remote server
No connection could be made because the target machine actively refused it 129.0.21.1:80
Please help. THanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have parameters in my query could this be the problem? I was hoping that the show parameterprompts would allow the user to input the parameters the same way I did in the report builder.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm new to ssrs. I am running both the website and my reports off my localhost. My .rdl is in the folder with my project. Im not sure how to that. IM sorry
ASKER