Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

Could not load file or assembly - deploying asp.net application

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.
0
ernie_shah
Asked:
ernie_shah
  • 3
  • 3
1 Solution
 
CodeCruiserCommented:
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).
0
 
ernie_shahAuthor Commented:
I am not using any 3rd party controls
Error.docx
0
 
CodeCruiserCommented:
Is OTforDept your own DLL? It is built against a newer version of ASP.NET than your website.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
ernie_shahAuthor Commented:
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?
0
 
ernie_shahAuthor Commented:
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 =========
0
 
CodeCruiserCommented:
Yes install 4 if not already installed and ensure that your app pool is v4
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now