Cannot launch A# applications

From: Florian Haag (florianhaag_at_yahoo.de)
Date: 11/05/04


Date: Fri, 5 Nov 2004 12:05:37 +0100

Hi,
I just installed the about most recent version (from like two days
ago) of mgnat from
http://www.usafa.af.mil/dfcs/bios/mcc_html/a_sharp.html
and took all the actions mentioned as being necessary in
section "To use A#, you need the following" on the said
website.

However, I'm not able to run any of the pre-compiled
exe's ... when I launch, for example, test_task.exe from
the test subdirectory, I first get a message telling me
the application had caused an exception that could not
be handled, then I get the following debug output:

>>>
Microsoft (R) Common Language Runtime Test Debugger Shell Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.

(cordbg) a 0x22c
Process 556/0x22c created.
Warning: couldn't load symbols for
c:\windows\microsoft.net\framework\v1.1.4322\
mscorlib.dll
Warning: couldn't load symbols for
C:\Programme\PrgLang\ASharp\mgnat\tests\test_
task.exe
[thread 0xbbc] Thread created.
Unable to determine existence of prolog, if any
[thread 0x468] Thread created.
[thread 0xbbc] Unhandled exception generated: (0x00ce24d4)
<System.IO.FileNotFou
ndException>
  _fileName=(0x00ce1c18) "mgnatcs"
  _fusionLog=(0x00ce1c38) "=== Pre-bind state information ===
LOG: DisplayName = mgnatcs, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=713
d0175fa8fbef8
 (Fully-specified)
LOG: Appbase = C:\Programme\PrgLang\ASharp\mgnat\tests\
LOG: Initial PrivatePath = NULL
Calling assembly : test_task, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=n
ull.
===

LOG: Application configuration file does not exist.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1
.1.4322\config\machine.config.
LOG: Post-policy reference: mgnatcs, Version=2.0.0.0, Culture=neutral,
PublicKey
Token=713d0175fa8fbef8
LOG: Attempting download of new URL
file:///C:/Programme/PrgLang/ASharp/mgnat/te
sts/mgnatcs.DLL.
LOG: Attempting download of new URL
file:///C:/Programme/PrgLang/ASharp/mgnat/te
sts/mgnatcs/mgnatcs.DLL.
LOG: Attempting download of new URL
file:///C:/Programme/PrgLang/ASharp/mgnat/te
sts/mgnatcs.EXE.
LOG: Attempting download of new URL
file:///C:/Programme/PrgLang/ASharp/mgnat/te
sts/mgnatcs/mgnatcs.EXE.
"
  _className=<null>
  _exceptionMethod=<null>
  _exceptionMethodString=<null>
  _message=(0x00ce2ce4) "Datei- oder Assemblyname 'mgnatcs' oder eine
Abhänigkei
t davon wurde nicht gefunden."
  _innerException=<null>
  _helpURL=<null>
  _stackTrace=(0x00ce2da0) array with dims=[12]
  _stackTraceString=<null>
  _remoteStackTraceString=<null>
  _remoteStackIndex=0x00000000
  _HResult=0x80070002
  _source=<null>
  _xptrs=0x00000000
  _xcode=0xe0434f4d

Thread 0xbbc R --- Class initialization ---

(cordbg)
<<<

What does this mean?
Same applies to all exe's, also rapid.exe in the rapid.net
folder of the rapid download package, which was pointed
to on the A# website.

Funnily, as soon as I compile the respective source file
(most will, just a few files seem to be missing for some ...?!),
I can start the exe and it runs as expected ... however, that
cannot be the right way to do it for I'd have to distribute
the source code of my A# applications and have users
compile them like this ...

I'm using Win XP Home SP 2 and I've got the .NET Runtimes
installed (Versions 1.0.3705 and 1.1.4322).

TIA
Florian Haag



Relevant Pages

  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: GAC entries dont show up in References/.NET
    ... cannot be called by another dll. ... Download the files from here http://www.geocities.com/abubakar021/help.zip. ... ClassLibrary1, ... Application configuration file does not exist. ...
    (microsoft.public.dotnet.general)
  • Re: Failed to load resources from resource file Pleas check your Setup
    ... entries in the Fusionlog containing mscorlib: ... Not processing DEVPATH because this is a pre-jit assembly bind. ... Host configuration file not found. ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework)
  • Fusionlog:
    ... LOG: Where-ref bind. ... LOG: Assembly download was successful. ... Attempting application configuration file download. ...
    (microsoft.public.dotnet.framework)
  • Re: GAC entries dont show up in References/.NET
    ... When I get to work today, I will download and try this in w2k to see if I ... cannot be called by another dll. ... Application configuration file does not exist. ... If we register ...
    (microsoft.public.dotnet.languages.csharp)