Solved

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

Posted on 2013-06-27
6
330 Views
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.
0
Comment
Question by:ernie_shah
  • 3
  • 3
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
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
 

Author Comment

by:ernie_shah
Comment Utility
I am not using any 3rd party controls
Error.docx
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
Is OTforDept your own DLL? It is built against a newer version of ASP.NET than your website.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:ernie_shah
Comment Utility
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
 

Author Comment

by:ernie_shah
Comment Utility
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
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
Yes install 4 if not already installed and ensure that your app pool is v4
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now