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 9:51am
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 10:12am
I've seen that thread and he's talking about web.config. My problem is related to RDLC.
May 23rd, 2011 10:36am
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 2:08am


