Telerik Reporting 2012 Q3 internal build 1025
Visual Studio 2012
Silverlight 5 with RIA/Entity Framework
Solution has 4 projects: Web Project, Silverlight Project, Data Project (where model is located), and Reporting Project
I was able to create a report that works just fine with the Entity Framework using both a table and a stored procedure with no parameters. However as soon as I add on with just one parameter it fails when trying to compile the project/solution:
Invalid Resx file. Type could not be read from the data in line 145, position 5. The type's internal structure may have changed. Either implement ISerializable on the type or provide a type converter that can provide a more reliable conversion format, such as text or an array of bytes. The conversion exception was: The constructor to deserialize an object of type 'System.RuntimeType' was not found.
I am creating a brand new report and using the wizard. Here the the steps:
- New Report
- Add New Data Source
- Entity Data Source
- Choose an existing connection (same connection that works in my reports without SP's with parameters)
- Choose an object context (same as above)
- I then get a list of all of my tables in the model as well as all of the procedures. I choose a test procedure with one integer parameter
- In the Configure Data Source Parameters I have tried several different options. For now I am choosing a hard coded value of 1.
- For design time parameters I am also giving it a 1.
- Clicking finish takes me to the screen to choose data sources but now I have the one I created selected and I can see the 4 output fields. I choose next.
- Standard Report
- Choose at least one field for the detail section
- Stepped Layout
- Normal Style Sheets and then Finish
- I am taken to the report designer where I can see my fields.
- As soon as I click the preview tab the solution tries to build and gives the error.
I have tried changing the hard coded value to a parameter and used the following code:
But it doesn't seem to matter, I still get the same error. Any ideas?
-Randy