Microsoft Report Designer: Undocumented Error
Hi all, I am working with asp.net reporting using RDLC file. Everything was working fine but now when I add a new dataset, an error occurs.
Undocumented Error.
Could not load file or assembly 'PrecisionCareEntity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I have no more info than this, to provide you people to diagnose the problem. Have anyone idea what would be happening?
I just want to add a new dataset.
May 23rd, 2011 4:43pm
Check the following thread that might help you.
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/f0330dda-f3fd-4aff-999f-47709b50836f/
Thanks
Tarak
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2011 5:05pm
I've seen that thread and he's talking about web.config. My problem is related to RDLC.
May 23rd, 2011 5:29pm
I solved the problem by following this method:
1. Add a datasource in your report viewer i.e. in aspx page
<asp:ObjectDataSource ID="odsAdmission" runat="server"
OldValuesParameterFormatString="original_{0}"
SelectMethod="SelectAdmissionForReport"
TypeName="PrecisionCareBLL.AdmissionBLL.AdmissionLogic">
<SelectParameters>
<asp:QueryStringParameter Name="admissionId" QueryStringField="Id"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
2. Go to its designer and click on the arrow appearing in front of datasource, and click on it.
3. Click Refresh Scehma and Save the file.
4. Go to its code again and comment the datasource code.
5. Try adding new dataset in rdlc. It will allow adding new datasets now.
I solved my problem in this way. Hopefully it will be helpful for you as well. Don't forget to response here if it is helpful.
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2011 9:06am
I wish MS would address this issue.
I create all my reports in a dummy project, which has no references.
After the report is ready, I copy it to the web site where it belongs.
If I try to create it in the project where it belongs (which has various references to other projects in the solution), I get the error:
Undocumented Error.
Could not load file or assembly '[random project name], Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
This error occurs when I try to add a table (or whatever) to the report and define the dataset for the table.
January 18th, 2012 12:29am
what the heck kind of a resolution is that?
what is causing the problem? Is this a bug?bill
Free Windows Admin Tool Kit Click here and download it now
January 21st, 2012 4:37pm


