473,382 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Problem using SQL 2005 Reporting Services & asp.net app

I'm using VS 2005, SQL 2005 reporting services.

SQL reporting services is working, and I have it both on my local
computer, as well as on a server.

I've created a report in the SQL Business Intelligence development
studio that works in that environment.

I've uploaded the same report to both the Reporting services on my local
computer as well as the server, and can log in to them and run the
report there.

In VS 2005, in a test application that otherwise functions, I brought in
a Reportviewer from the toolbar, and added the report to it.

The reportServerUrl is:

http://mylocalcomputer/reports$sql2005

(I have both sql 2000 and sql 2005 on this local box).

The report path is:

J4 Report/J4 Detail Report
When I try to run it, I get:

The attempt to connect to the report server failed. Check your
connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.
When I change the server name to the other one, I get the same message.
However, when I go into SQL Server Reporting services, to this link:

http://myserver/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+reports%2fJ4+Detail+Rep ort

The report displays fine.

When I go to my local computer & sql reporting services, to this link:

http://mylocalcomputer/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+Reports%2fJ4+Detail+Rep ort

I'm not using Localhost either in the VS 2005 app (in the properties for
the report viewer), but I am calling it (the web app itself where I'm
trying to call the report viewer from) thru localhost there.

http://localhost:2228/testjob/default.aspx

I'm calling other things (not report viewers) on this page that appear
to work.

I've seen some notes regarding this error, and that there is a lot of
registry hacks and config file updates you have to make for it, but not
sure if that's a true fix for the problem.

Anyone have any idea why SQL Reporting Services displays it fine, and
the report viewer - which is supposedly calling the same thing, doesn't?

BC

Jul 27 '07 #1
3 2882
On Jul 27, 9:16 am, Blasting Cap <goo...@christian.netwrote:
I'm using VS 2005, SQL 2005 reporting services.

SQL reporting services is working, and I have it both on my local
computer, as well as on a server.

I've created a report in the SQL Business Intelligence development
studio that works in that environment.

I've uploaded the same report to both the Reporting services on my local
computer as well as the server, and can log in to them and run the
report there.

In VS 2005, in a test application that otherwise functions, I brought in
a Reportviewer from the toolbar, and added the report to it.

The reportServerUrl is:

http://mylocalcomputer/reports$sql2005

(I have both sql 2000 and sql 2005 on this local box).

The report path is:

J4 Report/J4 Detail Report

When I try to run it, I get:

The attempt to connect to the report server failed. Check your
connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.

When I change the server name to the other one, I get the same message.

However, when I go into SQL Server Reporting services, to this link:

http://myserver/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+repo...

The report displays fine.

When I go to my local computer & sql reporting services, to this link:

http://mylocalcomputer/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2f...

I'm not using Localhost either in the VS 2005 app (in the properties for
the report viewer), but I am calling it (the web app itself where I'm
trying to call the report viewer from) thru localhost there.

http://localhost:2228/testjob/default.aspx

I'm calling other things (not report viewers) on this page that appear
to work.

I've seen some notes regarding this error, and that there is a lot of
registry hacks and config file updates you have to make for it, but not
sure if that's a true fix for the problem.

Anyone have any idea why SQL Reporting Services displays it fine, and
the report viewer - which is supposedly calling the same thing, doesn't?

BC

This might be a long shot, but you should check to see if the the
virtual directories (ReportServer and Reports) in IIS are set to the
correct .NET Framework (.NET 2.0) [via: right-click My Computer ->
select Manage -Services and Applications -Internet Information
Services -Web Sites -Default Web Site -right-click the Reports/
ReportServer virtual directories -select Properties -select the
ASP.NET tab and verify that the ASP.NET version is 2.0.50727]. Hope
this helps.

Regards,

Enrique Martinez
Sr. Software Consultant

Jul 28 '07 #2
Connect to ReportServer instead of Reports...i.e.
http://mylocalcomputer/ReportServer$sql2005

"Blasting Cap" wrote:
I'm using VS 2005, SQL 2005 reporting services.

SQL reporting services is working, and I have it both on my local
computer, as well as on a server.

I've created a report in the SQL Business Intelligence development
studio that works in that environment.

I've uploaded the same report to both the Reporting services on my local
computer as well as the server, and can log in to them and run the
report there.

In VS 2005, in a test application that otherwise functions, I brought in
a Reportviewer from the toolbar, and added the report to it.

The reportServerUrl is:

http://mylocalcomputer/reports$sql2005

(I have both sql 2000 and sql 2005 on this local box).

The report path is:

J4 Report/J4 Detail Report
When I try to run it, I get:

The attempt to connect to the report server failed. Check your
connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.
When I change the server name to the other one, I get the same message.
However, when I go into SQL Server Reporting services, to this link:

http://myserver/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+reports%2fJ4+Detail+Rep ort

The report displays fine.

When I go to my local computer & sql reporting services, to this link:

http://mylocalcomputer/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+Reports%2fJ4+Detail+Rep ort

I'm not using Localhost either in the VS 2005 app (in the properties for
the report viewer), but I am calling it (the web app itself where I'm
trying to call the report viewer from) thru localhost there.

http://localhost:2228/testjob/default.aspx

I'm calling other things (not report viewers) on this page that appear
to work.

I've seen some notes regarding this error, and that there is a lot of
registry hacks and config file updates you have to make for it, but not
sure if that's a true fix for the problem.

Anyone have any idea why SQL Reporting Services displays it fine, and
the report viewer - which is supposedly calling the same thing, doesn't?

BC

Jul 30 '07 #3
Thank you.

This appeared to work, although I had to put in a slash at the end of
the http://mylocalcomputer/ReportServer$sql2005 line.

However, now that I've gotten it to run, I have some unusual behavior -

The "e" on Internet explorer at the top of the tab now flickers, like
the page is reloading. It also runs the CPU up to 100% on the computer
and although I can go from tab to tab in it (I am using AJAX tab panels
in the page), it will take like up to a minute to go to the next tab.
I'm not doing anything really data-intensive on those tabs, and they had
been functioning fine prior to putting in the report viewer (i.e. they
weren't flickering & clocking the CPU).

I eventually have to kill the page to do anything, because it has the
system up to 100%.

Any idea why reportviewer might make this act this way?

Thanks for the help,

BC

David wrote:
Connect to ReportServer instead of Reports...i.e.
http://mylocalcomputer/ReportServer$sql2005

"Blasting Cap" wrote:
>I'm using VS 2005, SQL 2005 reporting services.

SQL reporting services is working, and I have it both on my local
computer, as well as on a server.

I've created a report in the SQL Business Intelligence development
studio that works in that environment.

I've uploaded the same report to both the Reporting services on my local
computer as well as the server, and can log in to them and run the
report there.

In VS 2005, in a test application that otherwise functions, I brought in
a Reportviewer from the toolbar, and added the report to it.

The reportServerUrl is:

http://mylocalcomputer/reports$sql2005

(I have both sql 2000 and sql 2005 on this local box).

The report path is:

J4 Report/J4 Detail Report
When I try to run it, I get:

The attempt to connect to the report server failed. Check your
connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.
When I change the server name to the other one, I get the same message.
However, when I go into SQL Server Reporting services, to this link:

http://myserver/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+reports%2fJ4+Detail+Rep ort

The report displays fine.

When I go to my local computer & sql reporting services, to this link:

http://mylocalcomputer/Reports$SQL2005/Pages/Report.aspx?ItemPath=%2fJ4+Reports%2fJ4+Detail+Rep ort

I'm not using Localhost either in the VS 2005 app (in the properties for
the report viewer), but I am calling it (the web app itself where I'm
trying to call the report viewer from) thru localhost there.

http://localhost:2228/testjob/default.aspx

I'm calling other things (not report viewers) on this page that appear
to work.

I've seen some notes regarding this error, and that there is a lot of
registry hacks and config file updates you have to make for it, but not
sure if that's a true fix for the problem.

Anyone have any idea why SQL Reporting Services displays it fine, and
the report viewer - which is supposedly calling the same thing, doesn't?

BC

Jul 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Gary Anniss | last post by:
Hi I have several reports that I have imported from Access into SQL Reporting Services 2005. They are multi-level grouping reports and SQL Server Reporting Services generates rectangles and lists...
1
by: iThinkData | last post by:
Should these 3 items, .Net 2.0 Website, SQLServer 2005, Reporting Services 2005. all reside on the same computer? I know that the website issues a configuration error saying it can't find...
1
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio...
1
by: Roy | last post by:
Hey all, This came up in a meeting and I can't find any firm answers online, so I figured I'd come to you. :) Essentially, what's the difference between VS 2005 Crystal Reports and SQL Server 2005...
1
by: yhafeez1 | last post by:
We are in the process of doing a side by side installation of the SQL server 2000 and SQL server 2005 on the same server. To install the Reporting services feature of SQL server 2005 requires IIS....
4
by: Poldie | last post by:
I'm using Visual Studio 2005 SP1 on a Win2K SP4 system. VS is set up to use "web development settings ". I use VB. If I create a new web application project, then close the project and exit VS...
0
by: Michael Burgess | last post by:
Hi there, I have a problem that's beginning to do my head in and hope someone can help!!! I've got a SQL Server 2005 database which is partly encrypted (certain columns per table are...
16
by: Bill Nguyen | last post by:
I'm running into a very weird problem regarding subtraction. Subtraction behaves as if it's an addition in the below sub txtJacoCost.Text = Format(mRackc - (mDisc + mJaEc), "0.#####0") ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.