I am using Visual Studio 2005 to create a web site which includes reports.
The web site has several sub-folders.
When working with reports I can't get the website data sources (classes and
datasets in App_Code folders throughout the project) to behave
consistently.
Sometimes data source are displayed, sometimes not. Sometimes I can add
new data sources, sometimes I can't. Some classes are displayed, some
aren't. I can't figure out why.
When I create a report and click on Data on the menu. sometimes it shows Add
New Data Source, and sometimes it doesn't. When I show the data sources,
sometimes the Add New Data Source icon is disabled, sometimes it isn't.
Sometimes the Data menu shows Add New Data Source, but the Add New Data
Source icon is disabled.
When I Show Data Sources, sometimes data sources are displayed from App_Code
folders throughout the web site, and sometimes no data sources are
displayed at all. Clicking refresh doesn' t help.
Sometimes if I log off my computer and log on again, I can then see the Add
New Data source icon, and/or data sources from App_Code folders throughout
the project.
When I can see data sources, I can see some classes in App_Code folders but
not others, although they appear to be similar in construction.
What is up with data sources - why can I sometimes add a new data source,
sometimes I can't? Why can I somtimes see them and sometimes I can't? What
is required in a class to appear as a data source, other than to be placed
in an App_Code folder?
Thanks
Bill