English 中文(简体)
"Operation could destabilize the runtime" Message when using RDLC
原标题:

When running an RDLC, I get the following message displayed inside the report frame:

Failed to load host assembly. Operation could destabilize the runtime.

Does anyone have any idea which assembly is being referred to. Better still, where is there a seam I can check to figure out which assemblies are being loaded and which are not. I don t think this is an issue with the RDLC assemblies themselves because:

  1. I ve installed the report viewer locally.
  2. Other RDLC s work (or at least load).

I m truly baffled on this one. Many thanks for whatever help is offered.

问题回答

can you show us how do u the datasource of report? please put your code here usually this error occurs when you system try to serialize an uknown object adding xmlincludeattribute to class(the class of report data source) may solve your problem





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签