Could not load file or assembly - deploying application

Posted on 2013-06-27
Last Modified: 2013-07-01
Please find attached the error when I moved my application from the client to the server.
The application was built with vs2010 and the server has 2008 and 2010.

Any advice will be appreciated.
Question by:ernie_shah
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 83

Expert Comment

ID: 39282680
No error attached. What DLL does it complain about? Are you using any 3rd party controls? There must be a DLL which is GAC and is not deployed on the server (or missing from bin folder).

Author Comment

ID: 39284251
I am not using any 3rd party controls
LVL 83

Expert Comment

ID: 39284348
Is OTforDept your own DLL? It is built against a newer version of ASP.NET than your website.
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.


Author Comment

ID: 39285206
OTforDept is the application's name.The server has vs 2008 and vs 2010 with .net framework 2.0 and 3.5. However, my application was developed on client with vs2010 and .net framework 4.0. Will installing .net 4.0 on the server rectify this issue?

Author Comment

ID: 39285218
When I build my project I see OTforDept.dll

See message...

Rebuild All started: Project: OTforDept, Configuration: Debug Any CPU ------
  OTforDept -> C:\Documents and Settings\My Documents\Visual Studio 2010\Projects\OTforDept\OTforDept\bin\OTforDept.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped =========
LVL 83

Accepted Solution

CodeCruiser earned 500 total points
ID: 39285424
Yes install 4 if not already installed and ensure that your app pool is v4

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
aspx ascx, c# 7 43
ASP.NET Load html part first, then start function 2 40
ASP.NET generate check digit for ITF-14 and EAN-13 barcodes 4 34
Datagridview column resizing 8 28
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question