This is a migrated thread and some comments may be shown as answers.

SQL Connection String issue

1 Answer 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John Cruz
Top achievements
Rank 1
John Cruz asked on 06 Jul 2011, 11:08 PM
I tried following this instructions

http://www.telerik.com/support/kb/reporting/designing-reports/using-connectionstrings-from-configuration-file.aspx

and it works perfectly on my development machine. The problem is that I get the error below when I deployed on our test server.

Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named 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.

The configuration is the same. the only thing different is that it is being pointed to a different database. 

Any ideas? Thank you for your feedback. 

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Jul 2011, 11:17 AM
Hello John,

Modify the connectionString in the web.config to reflect the correct one for the server you have uploaded it to.

Greetings,
Steve
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
John Cruz
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or