gacutil and co. DLL built under 2beta, deploying to IIS5+DotNet Framework 1.1?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tim Hanson (t.hanson_at_faz.de)
Date: 10/14/04


Date: 14 Oct 2004 08:02:20 -0700

hi,

I'm very new to .net but have built a simple DLL with one class (using
a web reference for a soap interface).

i then followed instructions and ran
  tlbexp x.dll
  gacutil /i x.dll
  regasm x.dll

after that i could use the DLL COM-style in a JScript ASP page under
IIS5.

however, to get it to work on another developer's machine (where .net
2 beta is also installed) we found i had to provide the DLL with a
strong name.

this, however, seems not to be enough to get it to work on a test web
server running IIS5 + .net framework 1.1. the gacutil step fails with

  Failure adding assembly to the cache: Unknown Error

(drag and drop into the assembly also failed.)

anything special i have to do under these circumstances? i've searched
quite a bit but haven't found a clue yet that helps.

--Tim Hanson



Relevant Pages

  • dynamic web reference appears to be worthless
    ... configuration file to hold my web reference URL and load it from ... After loading VS2005 .NET 2.0, lo, there it is a dynamic web reference ... reference url generated from that file. ... WHEN THE DLL IS LOADED. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: dynamic web reference appears to be worthless
    ... A dll exists. ... application, in this case, a compiled class on an ASP.NET website has ... class in the dll that contains the web reference. ... Great, so my new plan was to query the settings class, get the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Convert .m file to .dll file
    ... i set this matlab file as a web reference to the Project ... You would need the optional product "Matlab Compiler" to start with. ... must be the main program or if it can be called as a DLL. ... mcc documentation. ...
    (comp.soft-sys.matlab)
  • The type or namespace name SoAndSo...
    ... I added a Web Reference to the EXE and it works ... Then I added another Web Reference to this DLL. ... find the reference when I can see it in both Solution Explorer and Object ...
    (microsoft.public.dotnet.framework.webservices)
  • Web Reference in DLL
    ... I added a Web Reference to the EXE and it works ... Then I added another Web Reference to this DLL. ... find the reference when I can see it in both Solution Explorer and Object ...
    (microsoft.public.dotnet.general)