I am using the Reporting tutorial and am having a problem after creating the first two steps in the solution. The example uses the Adventureworks SQL database. I have created a Class Library that contains a Telerik Report. It previews just fine and contains the full data from the database.
Then I created a VB Windows App as part of the solution with a Telerik ReportViewer to view this sample report. Everything setup the way the tutorial showed, but when I ran the solution (the Windows App is the startup project), I receive a long red, error message about not being able to connect to the database. See the attached file named reportquestion1.gif .
The VIsual Studio 2010 window is captured in reportlquestion2.gif .
Why does the report preview just fine with the data from the database, but then will not run when part of the whole solution? The same connection string is in the report definition. So why can't it make the connection?
Thanks in advance!
Then I created a VB Windows App as part of the solution with a Telerik ReportViewer to view this sample report. Everything setup the way the tutorial showed, but when I ran the solution (the Windows App is the startup project), I receive a long red, error message about not being able to connect to the database. See the attached file named reportquestion1.gif .
The VIsual Studio 2010 window is captured in reportlquestion2.gif .
Why does the report preview just fine with the data from the database, but then will not run when part of the whole solution? The same connection string is in the report definition. So why can't it make the connection?
Thanks in advance!