I am trying to add a report and a ReportViewer to an ASP.Net 2.0 website
application.
The data source for the report should be the output of a web service.
When I look at the report in design mode, the Website Data Sources panel
displays as it should but the web service is not listed. The only thing
listed in Website Data Sources is System and the list of objects under
System is a long list of DependencyAttributes and
InjectionConstructorAttributes. My web reference to a web service that is
part of this same solution does not show up in the website data sources.
As a test, I created a new website application and added a web reference to
the web service in the first solution described above. I added a report and
in this case, in the Website Data Sources panel, the web reference is listed
with all of the methods of the web service. The onlys thing under System are
four methods of the web service that return values of type System.String.
This test application is just what I expect to see.
Any ideas on how to fix this in the main application? The solution
represents 6 months of work for two developers. Re-creating the solution
from scratch and moving all the work into the new solution is just not a
viable solution.
Thanks,
Dale

Signature
Dale Preston
MCAD C#
MCSE, MCDBA
WenYuan Wang [MSFT] - 29 Mar 2007 10:37 GMT
Hi Dale,
What if you add a new web reference in Solution Explorer? Will this web
service be listed in Data Sources Panel?
If you create a new project, the issue will go away. Apparently, there must
be something wrong with your current project. However, I think we don't
need to re-create a new solution to fix such issue, just re-add your web
reference in "Data Sources" panel.
Delete your wrong web reference.
Click "Add New DataSource" tag in "Data Sources" panel.
Select a web service as the data from.
Type the http(s) address and add new web reference.
Please try this method and let me know whether it will resolve your issue.
I'm glad to assist you.
Hope this helps,
Sincerely,
Wen Yuan
Microsoft Online Community Support
===============================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
===============================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)