Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Using a Native dll in ASP.NET

Reply
Thread Tools

Re: Using a Native dll in ASP.NET

 
 
Zenobia
Guest
Posts: n/a
 
      06-24-2004
On Wed, 23 Jun 2004 15:15:03 -0700, Eugene Ventimiglia <Eugene
> wrote:

>I've wrapped a Win32 unmanaged dll in a managed C++ Class, called ManagedServer. I then instantiate that class in C# code, and it works perfectly on the command line. When we try to reference the ManagedServer from ASP.NET, the entire Application reports an error loading ManagedServer.dll "Or one of its dependancies."
>
>We've tried:
> Putting the native dll in every conceivable place where it could be looking.
> Setting the most liberal permissions or that file, and the containing folders
> Generating a .snk file, and signing the ManagedServer.dll
>
>There must be a way to "bless" this .dll to signify that ASP.NET should actually allow it to be loaded. We've searched the web, MSDN, and message boards. People are having similar simptoms to ours, but the solutions suggested for them dont work for us.
>
>--Thanks


..NET supports so many languages. Why don't you just rewrite the
source code for .NET and incorporate the dll into ASP.NET?

PS: I think this is what the ASP.NET designers want you to do.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?RXVnZW5lIFZlbnRpbWlnbGlh?=
Guest
Posts: n/a
 
      06-24-2004
Because the source is not available. The unmanaged dll is from a 3rd party, and they're not going to write a .NET version

"Zenobia" wrote:

> On Wed, 23 Jun 2004 15:15:03 -0700, Eugene Ventimiglia <Eugene
> > wrote:
>
> >I've wrapped a Win32 unmanaged dll in a managed C++ Class, called ManagedServer. I then instantiate that class in C# code, and it works perfectly on the command line. When we try to reference the ManagedServer from ASP.NET, the entire Application reports an error loading ManagedServer.dll "Or one of its dependancies."
> >
> >We've tried:
> > Putting the native dll in every conceivable place where it could be looking.
> > Setting the most liberal permissions or that file, and the containing folders
> > Generating a .snk file, and signing the ManagedServer.dll
> >
> >There must be a way to "bless" this .dll to signify that ASP.NET should actually allow it to be loaded. We've searched the web, MSDN, and message boards. People are having similar simptoms to ours, but the solutions suggested for them dont work for us.
> >
> >--Thanks

>
> ..NET supports so many languages. Why don't you just rewrite the
> source code for .NET and incorporate the dll into ASP.NET?
>
> PS: I think this is what the ASP.NET designers want you to do.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JVM crash while loading native dll using TOMCAT Madhav Java 8 08-22-2008 06:09 AM
using a native dll in java tommygun101 Java 3 06-24-2007 04:52 PM
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57