Link to home
Start Free TrialLog in
Avatar of mwhodges
mwhodgesFlag for United States of America

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.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
        ReportViewer1.ServerReport.ReportServerUrl = New System.Uri("http://localhost/reportserver")
        ReportViewer1.ServerReport.ReportPath = "C:\Users\Matt\Documents\Visual Studio 2010\Projects\AGFC Budget\AGFC Budget\FieldBudgetReport2.rdl"
        ReportViewer1.ShowParameterPrompts = True
        ReportViewer1.ShowPrintButton = 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

ASKER CERTIFIED SOLUTION
Avatar of Alfred A.
Alfred A.
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mwhodges

ASKER

I get the same messages. Is it that I need to setup my local differently or add some kind of special permissions?
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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