Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2007

Tip: Looking for answers? Try searching our database.

Problems with Object DataSource for ReportViewer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dale - 28 Mar 2007 17:36 GMT
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.)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.