Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-06-27
6
Medium Priority
?
354 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
[X]
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
6 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
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).
0
 

Author Comment

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

Expert Comment

by:CodeCruiser
ID: 39284348
Is OTforDept your own DLL? It is built against a newer version of ASP.NET than your website.
0
Industry Leaders: 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!

 

Author Comment

by:ernie_shah
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?
0
 

Author Comment

by:ernie_shah
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 =========
0
 
LVL 83

Accepted Solution

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

Featured Post

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.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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