473,325 Members | 2,805 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,325 software developers and data experts.

DLLs in /bin do not load

I have a web app that I have written on a test server. I have written
my own classes and compiled them in several DLL files, which are
located in the /bin directory.

I am now trying to move the project to a production server. I have
copied all the files from the test server to the production server and
set up the directory as an Application with IIS. When I open my first
page, I get a compilation error when it tries to create on of my
custom classes in the DLL.

It is acting like it didn't even load the DLLs into memory. Is there a
setup issue I am having here or would it be a coding problem.

Thanks for the help,

Neil
Nov 18 '05 #1
3 1418
what exactly is the error? do you have all your dependency dll's in the bin
as well. all dll's on your test box bin directory must be in your
production bin

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"nfedin" <nf****@programmer.net> wrote in message
news:ca**************************@posting.google.c om...
I have a web app that I have written on a test server. I have written
my own classes and compiled them in several DLL files, which are
located in the /bin directory.

I am now trying to move the project to a production server. I have
copied all the files from the test server to the production server and
set up the directory as an Application with IIS. When I open my first
page, I get a compilation error when it tries to create on of my
custom classes in the DLL.

It is acting like it didn't even load the DLLs into memory. Is there a
setup issue I am having here or would it be a coding problem.

Thanks for the help,

Neil

Nov 18 '05 #2
I have actually figured out the problem. IIS had multiple websites
set up. Web1 is the default website and Web2 is a full website, but
the directory structure is inside Web1. I created the Web App in IIS
Manager inside Web2. The problem was when I was trying to view the
web application. I was using the web address
http://web1/web2/program. I needed to use the URL
http://web2/program. Because I had registered the web app in Web2, I
could only run the app (and load the DLLs in /bin) using the Web 2
URL. Thanks trying to help.

Neil
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message news:<#E*************@tk2msftngp13.phx.gbl>...
what exactly is the error? do you have all your dependency dll's in the bin
as well. all dll's on your test box bin directory must be in your
production bin

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"nfedin" <nf****@programmer.net> wrote in message
news:ca**************************@posting.google.c om...
I have a web app that I have written on a test server. I have written
my own classes and compiled them in several DLL files, which are
located in the /bin directory.

I am now trying to move the project to a production server. I have
copied all the files from the test server to the production server and
set up the directory as an Application with IIS. When I open my first
page, I get a compilation error when it tries to create on of my
custom classes in the DLL.

It is acting like it didn't even load the DLLs into memory. Is there a
setup issue I am having here or would it be a coding problem.

Thanks for the help,

Neil

Nov 18 '05 #3
thanks for posting the solution, this may help someone down the road

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"nfedin" <nf****@programmer.net> wrote in message
news:ca**************************@posting.google.c om...
I have actually figured out the problem. IIS had multiple websites
set up. Web1 is the default website and Web2 is a full website, but
the directory structure is inside Web1. I created the Web App in IIS
Manager inside Web2. The problem was when I was trying to view the
web application. I was using the web address
http://web1/web2/program. I needed to use the URL
http://web2/program. Because I had registered the web app in Web2, I
could only run the app (and load the DLLs in /bin) using the Web 2
URL. Thanks trying to help.

Neil
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message

news:<#E*************@tk2msftngp13.phx.gbl>...
what exactly is the error? do you have all your dependency dll's in the bin as well. all dll's on your test box bin directory must be in your
production bin

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"nfedin" <nf****@programmer.net> wrote in message
news:ca**************************@posting.google.c om...
I have a web app that I have written on a test server. I have written
my own classes and compiled them in several DLL files, which are
located in the /bin directory.

I am now trying to move the project to a production server. I have
copied all the files from the test server to the production server and
set up the directory as an Application with IIS. When I open my first
page, I get a compilation error when it tries to create on of my
custom classes in the DLL.

It is acting like it didn't even load the DLLs into memory. Is there a
setup issue I am having here or would it be a coding problem.

Thanks for the help,

Neil

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
2
by: kinghuangz | last post by:
Everyone: I want to use a DLL(FileName:PubFunction.Dll) built with VS.Net(C#) in a unmanaged Program .But there was a Dll just has the same filename,it was built with VC++(6.0).The unmanaged was...
3
by: dhnriverside | last post by:
Hi guys I'm writing a console app in C# for which i want to enable the user to have several "plug-ins". The app has a switch to set the plug-in to use, and at runtime the required dll is loaded...
0
by: Frank Lopez | last post by:
My program structure is: 1. 2. 3. => manually does the crt-init and crt-terminate calls 4. -- this is accessed by the unmanaged C++ classes in (3) using LoadLibrary and FreeLibrary
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
8
by: M. Angelo | last post by:
Situation: An EXE scans the path for DLLs and uses all DLLs and only the existing DLLs All DLLs provides the same functions while doing different processing Program restart is NOT desired ...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
6
by: Dan Dorey | last post by:
I actually have two questions here, but I'll start by giving an outline of what I'm trying to do. I'm building an app with a simple plugin architecture (all in the same app domain). I have each...
3
by: =?Utf-8?B?a3lvbmc=?= | last post by:
Quick question. Say I have a project against the 2.0framework. I also have a dll compiled against 3.5. If I reference the 3.5 dll in the 2.0 project, how would that work? So I'm thinking that...
1
by: davidmurray1 | last post by:
I have a C++ app on my flash drive that i am running, but often times, i must take the flash drive out of the computer and use it elsewhere while the executable continues to run. however, the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.