Re: Desperate help

From: Niall (asdf_at_me.com)
Date: 08/19/04

  • Next message: eSapient: "Re: Calling base implementation from base class?"
    Date: Thu, 19 Aug 2004 11:16:17 +1000
    
    

    Can you get around the problem by decompiling the dll, fixing the reference
    and recompiling it?

    Niall

    "WertmanTheMad" <cwertman@webchamps.com> wrote in message
    news:13990782.0408181703.6886271a@posting.google.com...
    > Here is the situation.
    >
    > I have a dll (.Net 1.1 C# to be exact)
    >
    > It has a path harcoded into it inside an include that is used as a
    > resource.
    >
    > I hav lost the source to the app, it hasnt needed changed in some time
    > EXCEPT a server path (refrenced inside that resource a js file to be
    > exact) is now broken and cannot be changed server side.
    >
    > I have changed the path in a Hex Editor (I am proficient with a hex
    > editor and have no doubt it will run and do what I need)
    >
    > HOWEVER because of the way .Net Strong Name etc is when I try to run
    > the app I get The check of the signature failed for assembly
    > 'Foo.dll'
    >
    > No suprise there since its not quite kosher anymore as far as the CLR
    > is concerned.
    >
    > I do NOT care about security on this Dll, or that whole server for
    > that matter as it is only used internally (not exposed to the web) and
    > I am in control of everything else that gets installed there.
    >
    > I absolutley need to be able to have it run.
    >
    > I tried adding it to the GAC (knew it would fail) here is the error
    >
    > gacutil -if Foo.dll
    >
    > Failure adding assembly to the cache: Strong name signature could not
    > be verified. Was the assembly built delay-signed?
    >
    > Ok no suprise there right ? WELL I have read about all the reasons in
    > the world NOT to use DEVPATH , I dont see it being an issue here, I
    > NEED to try this option.
    >
    > Where exactly do I set the DEVPATH and How ? Ok, its an enviromtnal
    > variable ? I set it EXACTLY where and when ?
    >
    > OR Is there another way to let a bonked (but functional) previously
    > stron assembely to run ?
    >
    > I am in desperate need of a solution, and I dont care what breaks with
    > devpath as LONG as this app run until I can recreate the source (with
    > a few new bells and whistles of course :)
    >
    > I just really really need to know how to make this run again
    >
    > Please help me oh god of the .Net CLR
    >
    > Chris


  • Next message: eSapient: "Re: Calling base implementation from base class?"

    Relevant Pages

    • Re: DCOM Surrogates
      ... > believed it was possible to create a remote-server dll where I did not ... you're server has to be instantiated in a runnable process. ... but I am quite excited about this technology and what it ... then have to change the main app to accomodate it. ...
      (comp.lang.pascal.delphi.misc)
    • Desperate help
      ... I have a dll ... EXCEPT a server path (refrenced inside that resource a js file to be ... exact) is now broken and cannot be changed server side. ... Where exactly do I set the DEVPATH and How? ...
      (microsoft.public.dotnet.framework.clr)
    • Re: SP6 and problems with XML
      ... Would you know which DLL or OCX is causing the behaviour? ... > runtime on the production server. ... > test machine with the files you have on the server, ... when I compile my app and upload my DLL to my production app ...
      (microsoft.public.vb.enterprise)
    • Re: SP6 and problems with XML
      ... Would you know which DLL or OCX is causing the behaviour? ... > runtime on the production server. ... > test machine with the files you have on the server, ... when I compile my app and upload my DLL to my production app ...
      (microsoft.public.vb.bugs)
    • SP6 and problems with XML
      ... when I compile my app and upload my DLL to my production app ... resides on the app server and is called from an ASP page on a separate ...
      (microsoft.public.vb.enterprise)

    Loading