473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

DLL Referencing Wrong Directory

Hello,

Up until now I've had all my code in code behind files or class files that were in the App_Code directory of the website. Well, with a new project I'm working on I created a seperate project in Visual Web Developer and put all my class files and datasets in that project and build it to a DLL.

I then add a reference to that DLL by browsing to the debug/bin folder of the project and any website locally will work with that DLL with no issue.

However, when I move the code to a dedicated server, I'm having an issue. I upload the website files first and then upload a copy of the DLL into the bin directory. The page throws an object not reference exception. In the error it shows the directory as what is on my local machine and not the bin directory of the website.

I've looked in the project with all my classes and I can't figure out how to build it as a final release and have it where I can put in the bin directory on any website and reference it that way.

If you can understand what I'm talking about, any help would be greatly appreciated.

Thanks!
Sep 16 '10 #1
0 805

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Hello, I have a calendar on my site in an extra directory <calendar> in root i have a site where i include the calendar with:<?php include("calendar"); ?> which works fine so far but the...
4
by: Nick | last post by:
Im developing php pages under apache and Mac OS X. When I have a scripting error, the error page says... ....error occurred at line 139 Problem is that line 139 is blank and the bad code is...
0
by: matthewbauer | last post by:
Ok, here's my situation. I have a web app in which I was going to upload a new copy of the DLL. To be safe, I made a copy of the existing DLL and called it d.dll_bak. I saved it in the bin...
0
by: Mats-Lennart Hansson | last post by:
Hi, I have an add-in to Visio in which I try to deserialize an object. This gives me the error: SerializationException: Cannot find assembly... It turns out that my...
5
by: Poul Dam | last post by:
Hi Setup: Windows 2003 Server Exchange 2003 Server ..NET framework 1.1 I have created an ASP.NET web application and registered it as the application to use when opening messages from
0
by: Rhywun | last post by:
After a recent installation of VS2003 on a new PC, *sometimes* when I build my project, the compiled .dll is put into the wrong directory. For example, suppose it should be placed in ...
0
by: burnhead | last post by:
Hi folks, I have a web project which uses dll files (named as "emlakc.dll" and "fbs.dll" ) and i'm not a developer but what I understand from the below error message on my browser is, these files...
2
by: Milop | last post by:
Hello. I have an ASP.Net 2.0 web service on Win2003 server that needs to write to a shared directory on the same machine. The web.config file is using "None" as the authentication mode. I...
1
Xx r3negade
by: Xx r3negade | last post by:
Hi. I have a script located in /home/jBrandt/Code/python/ftest.py. When I print the results of os.getcwd(), however, it gives me /home/jBrandt/Code as the current working directory. I realize that...
7
by: lolv007 | last post by:
I am a complete rookie at programming, and I've installed NotePad++ on my laptop so I can practise writing scripts outside of uni. I've also installed JDK v 1.6.0 (Java Development Kit), JRE and JDK...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.