473,787 Members | 2,881 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing windows DLL from an ASP.NET project

I'm new to ASP.NET so forgive me if this is a naive question. I want to
reference a Windows Library from an ASP.NET application using a project
reference in Visual Studio .NET 2003. This Windows Library does not have
any System.Windows. Forms.dll references. It is simply our business class
logic for our more traditional Windows Desktop applications that I would like
to reuse in an ASP.NET context. It is written in Managed C++ and has been
working well for us for years now.

However, when I include a project reference to it in my ASP.NET project and
then try running the ASP.NET code, I get a response in IE of "Server
Application Unavailable: The web application you are attempting to access on
this web server is currently unavailable. An error detailing the cause of
this specific request failure can be found in the application event log..."

The event log message is aspnet_wp.exe stopped unexpectedly.

This happens (I believe) because the base logic dll (called libebfnet.dll in
my case) is copied locally into the bin directory of the ASP.NET application.

Is there anything particular I have to know about ASP.NET and project
references to Windows Libraries (or project references to any libraries, for
that matter)?

My Windows library libebfnet.dll is not strongly named, in case that matters.

I appreciate any help,

Jeff

Nov 21 '05 #1
0 960

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

Similar topics

6
7751
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private assemblies and the Global Assembly but I am having a hard time figuring them out. Ideally, I would like to have one install that puts all 3 EXEs and all 3 DLLs on the workstation. Any recommendations would be appreciated. Jonathan
12
2784
by: Pollux | last post by:
I'm having trouble doing someting apparently simple. I'm still not very familiar with Visual Studio 2003, so apologies if I've missed something obvious. Basically my problem is the following. I have 2 files that contain each one a very simple class. I compiled them as .netmodules. Both classes are under the same namespace. I then bundled these .netmodules files into a dll. This gives me an assembly of 3 files which was confirmed by...
2
2896
by: Steve | last post by:
I have a .NET windows program that has a VB.NET component and a C# component. The VB component contains the form and handles all the UI stuff. The C# component drives the engine that actually does all the work. The VB component has one form called frmX. On frmX are three text boxes (txtA, txtB, txtC) and a button (cmdAdd). When the button is clicked, the program is supposed to add the values in txtA and txtB and display it in txtC.
4
2893
by: Christopher C. Bernholt | last post by:
We have a solution which contains 2 projects. The first project is a windows control and it references an assembly. The second project is a test windows application used to test the windows control from the first project. As such, it references the windows control using a project reference. In addition, it also references the same assembly that the first project references. The assembly which is referenced by both projects contains...
3
1585
by: eduwushu | last post by:
Hi there. Im developing a c# app and i have a solution with some projects: the main project which generates the executable file and some other projects which some of them im compiling generate dll's which my main project needs to run. When i compile a dll project it generates the dll it implements. Then i take that dll and put it in the directoory where my main app executable is. Then i go to my main project and add a reference in it to...
1
2370
by: Tim F | last post by:
Problem: I'm receiving the error "File or assembly name XXXXX or one of its dependencies, was not found." when trying to execute code in an assmebly that has both a strong-name and has been installed into the GAC. We originally had this assembly without a strong-name and we were successfully using it by referencing it when it was NOT in the GAC. The assembly was built using the 1.0 framework and we were able to call it from both 1.0...
2
1955
by: Chris Ashley | last post by:
I've written a C++ Wrapper DLL which I need to add a reference to in my ASP.Net project. This in turn is dependent on the DLL it wraps which is in turn dependent on some other DLLs. When I reference the wrapper DLL VS2005 copies it to the 'bin' directory and I am unable to compile with the error 'the specified module could not be found'. It still has the same behaviour if I copy all the dependent DLLs to my bin directory, but this isn't a...
0
1122
by: pete | last post by:
Greetings all, I am going to attempt to describe the issue that I am having in full. I apologize ahead of time that this may be a long posting, however, I have found no other solution to my problem. I am working with a VS2003 .NET1.1 Solution Project. The Solution contains 6 Projects: CEC_MT, CEC_UI, Common, CommonUI, FISCommon, and FISCommonUI.
1
2847
by: Tom | last post by:
My unsigned DLL works in my project that references it as long as I set Copy Local = true. Now I have signed the DLL with the sn.exe generated keys but have not yet moved the DLL into the GAC. Can I use a strong named DLL outside the GAC with Copy Local = false by providing a reference to the public key? If yes to above, please tell me how to reference the public key within
0
9655
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7517
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.