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

Error when publishing to production server

4 Answers 220 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 20 Mar 2008, 02:55 AM
When publishing my web application to the production site, I get this applicaiton error on start up:

Parser Error Message: Could not load file or assembly 'Telerik.Reporting.Interfaces, Version=2.0.1.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Line 51: <add assembly="Telerik.Reporting, Version=2.0.1.0, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
Line 52: <add assembly="Telerik.Reporting.Processing, Version=2.0.1.0, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
Line 53: <add assembly="Telerik.Reporting.Interfaces, Version=2.0.1.0, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
Line 54: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 55: <add assembly="Telerik.Charting, Version=1.7.2.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>

Here is a screen shot of the files in my /bin folder on the production server:

http://screencast.com/t/9bObhKoKMB

I don't need to install the Telerik Reporting components on the production web server, do I?

Thanks,

Jason


4 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 20 Mar 2008, 02:10 PM
Hello Jason,

Looking at the error message, it seems that you forgot to put Telerik.Reporting.Interfaces.dll in the bin folder. The list of required assemblies on the server are listed in Installation/Deploying Telerik Reporting on a Server article in the Reporting documentation.

Greetings,
Hrisi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Larry Brindise
Top achievements
Rank 1
answered on 25 Jun 2008, 02:29 AM
You did not answer his question:

I don't need to install the Telerik Reporting components on the production web server, do I?

I have run into this same issue.  I have added my first Telerik control to an existing project; I am using the RadDateTimePicker.  This automatically added the Telerik.Web.UI reference to my project, and it also is in the published bin folder.

I do not use Reporting.

Why do I need reporting DLL's?

If I need reporting DLL's why doesn't it add these to my project the same way as it added the Telerik.Web.UI dll?

Actually, I don't even think I have a license to the Reporting module.  This is all new to me, so I'm probably missing something.

DO I NEED all the reporting DLL's that are contained in the article you point to if I am not using reporting?

Thanks.
0
Larry Brindise
Top achievements
Rank 1
answered on 25 Jun 2008, 02:52 AM
Looks like I'm not missing the Reporting DLL's, rather I'm missing the Charting dll.
I manually added a reference to this in the project, and then in the properties of the reference I set Copy Local = true.
This took care of this specific problem. 
I guess my questions are the same as my original post.  Do Rad controls use charting?  If so, why is that DLL not also added to my project automatically?  If not, then why is there a reference that bombs when deployed in production?
OK, I'll stop beating up on you guys - it's just really late.
Thanks for the cool controls.  Besides this confusion, I like what I see so far.
0
Steve
Telerik team
answered on 25 Jun 2008, 08:52 AM
Hello Larry,

You do not need any of the Reporting assemblies if you are not using Telerik Reporting as it is a completely different product, that is not in any way connected to our RadControls suite. As to the question:
I don't need to install the Telerik Reporting components on the production web server, do I?
You do not need to install them, simply set Copy Local = true in order to have the assemblies copied to the bin folder and you can upload the whole project directly to your webserver, without installing anything.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Larry Brindise
Top achievements
Rank 1
Steve
Telerik team
Share this question
or