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

Error while processing Report

5 Answers 244 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bogice
Top achievements
Rank 1
Bogice asked on 22 Mar 2010, 03:19 PM
Hi Telerik team,
I've made a report, run alright on design and html mode. When i embedded in consume page, it gived error: 
An error has occured while processing Report '':
Format of the initialization string does not conform to specification starting at index 0.

Steps:
Create a new project for reports as advise. Put the project in the same solution as my consume project. Physical path however is another place.
Create a report, feed data using store proc. ---> the result as expected until here.
Create a Web form, whose report viewer is assigned to just-made report.
I got the error above.
Am i missing something ?
Thank you

5 Answers, 1 is accepted

Sort by
0
Bogice
Top achievements
Rank 1
answered on 22 Mar 2010, 05:37 PM
Ok i figure it out, i need to put the connection string in the consume project also (why? since i've added reference already) but it works.

0
Quick
Top achievements
Rank 1
answered on 22 Mar 2010, 07:32 PM
I have same problem when I use report on the web form.
Yes, I can create a SqlDataSource for report in the web page. It works. But there is another problem, if the report has subreport, the subreport will show same error message. I have no idea how to fix this problem.
0
Bogice
Top achievements
Rank 1
answered on 22 Mar 2010, 07:37 PM
I believe the error message related to connection. So think about anything related with connection and double check it eg. in web.config in app setting .. Hope it helps
0
Quick
Top achievements
Rank 1
answered on 22 Mar 2010, 08:15 PM
Thank you Bogice,

What do you mean in web.config in app setting? I double check the <connectionStrings>. They are same (Report and web form).
0
Bogice
Top achievements
Rank 1
answered on 22 Mar 2010, 08:24 PM
What i mean is if your sub report has anything to do with connection string or not? Check the sqlDataSource for sub report, where it is go?Does the webconfig mention about that? Because the error message IS RELATED with connection problem, so only thing you can do is to find out what happend. Hope it helps 
Tags
General Discussions
Asked by
Bogice
Top achievements
Rank 1
Answers by
Bogice
Top achievements
Rank 1
Quick
Top achievements
Rank 1
Share this question
or