This is a migrated thread and some comments may be shown as answers.

The module was expected to contain an assembly manifest

3 Answers 288 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jichao Zhong
Top achievements
Rank 1
Jichao Zhong asked on 28 Apr 2010, 12:25 AM
Hi,
I already working on this for the whole day, but I still can't figure out, so I hope any one here can help:

I am using Reporting Q2, and my application is working well locally (while develping, debuging)
but after I upload my file to the server, I get this message
--------
Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=3.1.9.807, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The module was expected to contain an assembly manifest.
--------

and the related line is in web.config:
--------
<add assembly="Telerik.ReportViewer.WebForms, Version=3.1.9.807, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>

--------
Because it said: " The module was expected to contain an assembly manifest."
So It means I already put .dll file in the BIN folder, and I have these fields in web.config file:
--------
<add assembly="Telerik.ReportViewer.WebForms, Version=3.1.9.807, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
<add assembly="Telerik.Reporting, Version=3.1.9.807, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/></assemblies>
.
.
<buildProviders>
        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</buildProviders>
.
.
<add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.1.9.807, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0"/>
--------

everything is good locally, why I get this error on the server, can any body give me an explain?
Thank you very much.
Do I need to configure something on the server? How to?


3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Apr 2010, 04:49 PM
Hi Jichao Zhong,

As explained in the Deploying Applications using Telerik Reporting help article, during the installation of Telerik Reporting on your machine, the Telerik assemblies were added to GAC. However when deploying a Web Site project the assemblies from the GAC are not copied automatically, so you need to copy the assemblies manually from the installation’s Telerik Reporting /bin folder to the bin folder of your application. You can find step by step instructions to do so in the referenced article.

Sincerely yours,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jichao Zhong
Top achievements
Rank 1
answered on 28 Apr 2010, 05:35 PM
Thank you very much for replying,
I already did that, as I said, because the error description is:
"The module was expected to contain an assembly manifest."
which is not "the file not be found", it means I already copy two dll files from Telerik Reporting /bin folder to the bin folder of my application. The files I copied is Telerik.Reporting.dll and Telerik.ReportViewer.WebForms.dll
My application is a asp.net application (no Silverlight).

Any idea of solving my problem, I already read a lot on internet, but there is no solution fit for me.

I hope you guys met this  kind of problem before, can give me some advice.

Thank you very much.
0
Steve
Telerik team
answered on 29 Apr 2010, 02:51 PM
Hello Jichao Zhong,

In your download history, it shows that you have downloaded only the latest Q1 SP1 version, but the version in the exception is 3.1.9.807. This means that somewhere in your project you have reference to this old assembly which should be updated. Please start manually the Upgrade Wizard which would make sure that all references are to the latest version. Rebuilt all of your projects and then re-upload you app to the server.

Best wishes,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Jichao Zhong
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jichao Zhong
Top achievements
Rank 1
Share this question
or