?
Solved

Problems with an ssrs report

Posted on 2010-11-18
5
Medium Priority
?
1,122 Views
Last Modified: 2012-05-10
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

0
Comment
Question by:mwhodges
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Alfred1 earned 2000 total points
ID: 34165200
Try using relative addressing on your report path.  I am just not sure where your project folder starts.

ReportViewer1.ServerReport.ReportPath = "/AGFC Budget/FieldBudgetReport2"

Also at the last point, did you added the following?

ReportViewer1.ServerReport.Refresh()


0
 

Author Comment

by:mwhodges
ID: 34165232
I get the same messages. Is it that I need to setup my local differently or add some kind of special permissions?
0
 

Author Comment

by:mwhodges
ID: 34165315
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.
0
 
LVL 21

Assisted Solution

by:Alfred1
Alfred1 earned 2000 total points
ID: 34165348

First of all, are you able to access your Reports through Report Manager?  You can access Report Manager through the following url?  Check if you can access your Folder and Reports installed in it.

http://<servername>/Reports/Pages/Folder.aspx
0
 

Author Comment

by:mwhodges
ID: 34165395
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
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question