Visual Studio 2010报表向导错误无法加载文件或程序集 [英] Visual Studio 2010 Report Wizard error could not load file or assembly

查看:134
本文介绍了Visual Studio 2010报表向导错误无法加载文件或程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2010中制作报告时遇到了很多麻烦,在visual studio 2008中一切正常。 我目前正在尝试从向导创建报告。 我无法使用它。


我在解决方案中有一个单独的项目,其中包含一个linq to sql类文件。 我在我的网站项目中引用该项目都在同一个解决方案中。 当我尝试使用报告向导创建报告时,它会给出错误"无法
加载文件或程序集..."。然后它无法加载的程序集是linq to sql类项目。


该网站可以使用linq到sql类项目没有任何问题,我唯一一次看到错误是什么时候我尝试使用向导创建报告定义。 如果可以解决这个问题,这可以解释我遇到的其他一些问题。

解决方案

嗨Ncollier,


我在我身边进行了测试,但没有遇到这个问题。为了让我更好地了解您的问题,您能先回答我的以下问题吗?


1。报告向导的哪一步遇到了这个问题?


2。您的LinqToSql类与报告之间的关系是什么?


3。您是否可以通过使用简单的LinqToSql类创建测试项目来重现此问题?


如果您可以重现此问题,我建议您首先向我发送(sqltnsp_at_microsoft_dot_com)您的测试项目,以便我可以用来重现你的问题。为了让我快速识别您的电子邮件,我建议您发送主题为
"< To Charles> http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols的电子邮件/ thread / c42d3ff5-0e03-40be-9841-469f8c43297b"。


谢谢。


 


&NBSP;


I am having alot of trouble with making reports in visual studio 2010, everything worked fine in visual studio 2008.  I am currently trying to create a report from a wizard.  I cannot get this to work.

I have a seperate project in the solution that contains a linq to sql class file.  I reference that project in my website project all in the same solution.  When I try and create a report using the report wizard it gives the error "Could not load file or assembly..." then the assembly it can't load is the linq to sql class project.

The website can use the linq to sql class project without any problem, the only time I see that error is when I try to create a report definition using the wizard.  This may explain some of the other problems I am having if this can get fixed.

解决方案

Hi Ncollier,

I performed a test at my side but did not encounter this issue. To let me better understand your issue, could you please first answer my following questions?

1. Which step of the report wizard did you encounter this issue?

2. What is the relationship between your LinqToSql class and your report?

3. Can you simply reproduce this issue by creating a test project with a simple LinqToSql class?

If you can reproduce this issue, I recommend that you first send me (sqltnsp_at_microsoft_dot_com) your test projects so that I can use to reproduce your issue. So as to let me quickly identify your email, I recommend that you send your email with the subject "<To Charles>http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/c42d3ff5-0e03-40be-9841-469f8c43297b".

Thanks.

 

 


这篇关于Visual Studio 2010报表向导错误无法加载文件或程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆