Hi,
I created a Telerik Report in a class library, as the video tutorial instructed. I tested it and it works fine.
I added another project, an ASP.NET project to the solution, and added a reference to my class library where the report lives.
I created a page, and put a Telerik ReportViewer control, setting the report to the one I created in the class library.
When I first run it, I get an error saying it cannot map to "\".
I re-ran Visual Studio as Administrator (begrudgingly), and this error dissapeared. I do, however, get a different error:
An error has occured while processing Report '':
Unable to connect to database. Please verify that your connection string is valid; in case you use a connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
I check app.config, as well as Settings.settings, and the connection string is there. And of course, the fact that the report runs fine when previewed in the class library tells me that something is fishy.
I'm using Visual Studio 2010, and the ASP.NET Development Server.
Thanks.
I created a Telerik Report in a class library, as the video tutorial instructed. I tested it and it works fine.
I added another project, an ASP.NET project to the solution, and added a reference to my class library where the report lives.
I created a page, and put a Telerik ReportViewer control, setting the report to the one I created in the class library.
When I first run it, I get an error saying it cannot map to "\".
I re-ran Visual Studio as Administrator (begrudgingly), and this error dissapeared. I do, however, get a different error:
An error has occured while processing Report '':
Unable to connect to database. Please verify that your connection string is valid; in case you use a connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
I check app.config, as well as Settings.settings, and the connection string is there. And of course, the fact that the report runs fine when previewed in the class library tells me that something is fishy.
I'm using Visual Studio 2010, and the ASP.NET Development Server.
Thanks.