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

asp.net error after deployment

1 Answer 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 06 Oct 2011, 12:56 PM
I just have created my first reports. Everthing works fine on my development machine.
So I have extended an exisiting web application with telerik reports.
After deployment I got the the error message:
"Format of the initialization string does not conform to specification starting at index 0"

Could someone give me a hint what reasons could cause the problem.

Thanks
Andi

Nevermind, I solved the problem. It was a connection string problem, what else ;-)

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Oct 2011, 09:44 AM
Hi Andreas,

The Using connectionStrings from configuration file KB article explains what you need to do:
  1. Always modify the application settings at design time through its editor and never change it through the config file because the changes won't be recorded in the settings metadata;
  2. If the reports are defined in a class library and you add settings for this class library, always remember to copy the corresponding connection string entries from the class library's config file to the application's config file. Otherwise at runtime when the application's config file is respected the Settings object will not be able to find such connection strings and will return the default value from its metadata.

Best wishes,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

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