fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. ' - Inetserver

This is a discussion on fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. ' - Inetserver ; HELP ME PLEASE!! I have been working with .NET for a while now and never run into this one. I have an ASP.NET application with C# code-behinds and get the error message that is below when I deploy (either by ...

+ Reply to Thread
Results 1 to 2 of 2

fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. '

  1. Default fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. '

    HELP ME PLEASE!!

    I have been working with .NET for a while now and never run into this
    one. I have an ASP.NET application with C# code-behinds and get the
    error message that is below when I deploy (either by using an MSI or
    by copying the necessary files and setting up a virtual directory in
    IIS) the application.

    The strange piece seems to be that it references a non-existant DLL
    (see below following the "Show Detailed Compiler Output:" section).
    In this case it is looking for "riexran5.dll", which I did not create
    and does not exist on the server anywhere. This DLL name seems to
    change with every different virtual directory I create. Other example
    names include: "yhkzggnj.dll", "u898q81e.dll", "etom4cdc.dll", and
    "imfraewp.dll". I have never seen this before and don't know if this
    is the problem or not.

    I do not believe that this is a code/development problem as the exact
    same source is running on 2 other servers with absolutely no problems.
    This error occurs when ANY page within the site is attempted to be
    loaded into IE on the server (the error message is not displayed with
    this detail on a client machine...).

    We have tried reinstalling the .NET framework (v1.1.4322.573) and I am
    tempted to reinstall IIS. Please let me know if anyone has ever seen
    this behavior before and how you got rid of it!

    Thanks,

    Bill

    --------------------


    Server Error in '/HelloWorld' Application.
    ________________________________________
    Compilation Error
    Description: An error occurred during the compilation of a resource
    required to service this request. Please review the following specific
    error details and modify your source code appropriately.

    Compiler Error Message: CS0007: Unexpected common language runtime
    initialization error -- 'The specified module could not be found. '

    Source Error:

    [No relevant source lines]

    Source File: Line: 0

    Show Detailed Compiler Output:

    C:\WINNT\system32>
    "c:\winnt\microsoft.net\framework\v1.1.4322csc.exe"
    /t:library /utf8output
    /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"
    /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll"
    /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll"
    /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll"
    /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll"
    /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll"
    /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll"
    /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
    /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll"
    /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
    files\helloworld\0f3cddc2\2d10a607\assembly\dl2\2ae75aa7\d0cbd1be_267ec401\helloworld.dll"
    /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    Files\helloworld\0f3cddc2\2d10a607\riexran5.dll"
    /DEBUG /debug+ /optimize-/warnaserror /w:1
    "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    Files\helloworld\0f3cddc2\2d10a607\riexran5.0.cs"

    Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
    for Microsoft (R) .NET Framework version 1.1.4322
    Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.

    fatal error CS0007: Unexpected common language runtime initialization
    error -- 'The specified module could not be found. '

    Show Complete Compilation Source:

    Line 1: //------------------------------------------------------------------------------
    Line 2: // <autogenerated>
    Line 3: // This code was generated by a tool.
    Line 4: // Runtime Version: 1.1.4322.573
    Line 5: //
    Line 6: // Changes to this file may cause incorrect behavior
    and will be lost if
    Line 7: // the code is regenerated.
    Line 8: // </autogenerated>
    Line 9: //------------------------------------------------------------------------------
    Line 10:
    Line 11: namespace ASP {
    Line 12: using System;
    Line 13: using System.Collections;
    Line 14: using System.Collections.Specialized;
    Line 15: using System.Configuration;
    Line 16: using System.Text;
    Line 17: using System.Text.RegularExpressions;
    Line 18: using System.Web;
    Line 19: using System.Web.Caching;
    Line 20: using System.Web.SessionState;
    Line 21: using System.Web.Security;
    Line 22: using System.Web.UI;
    Line 23: using System.Web.UI.WebControls;
    Line 24: using System.Web.UI.HtmlControls;
    Line 25:
    Line 26:
    Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
    Line 28: public class Global_asax : HelloWorld.Global {
    Line 29:
    Line 30: private static bool __initialized = false;
    Line 31:
    Line 32: public Global_asax() {
    Line 33: if ((ASP.Global_asax.__initialized == false)) {
    Line 34: ASP.Global_asax.__initialized = true;
    Line 35: }
    Line 36: }
    Line 37: }
    Line 38: }
    Line 39:
    ________________________________________
    Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    ASP.NET Version:1.1.4322.573

  2. Default Re: fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. '

    Well, there it is, "riexran5.dll" after the /out switch of the compiler.
    What tool are you using to create this? Looks like you've messed
    up your project somehow. Check the project settings, and possibly
    remake the project from scratch, copy/paste existing code.


    RayO


    "WGH" <bill_headley@yahoo.com> wrote in message
    news:ef2e4c9b.0408091336.537d623b@posting.google.com...
    > HELP ME PLEASE!!
    >
    > I have been working with .NET for a while now and never run into this
    > one. I have an ASP.NET application with C# code-behinds and get the
    > error message that is below when I deploy (either by using an MSI or
    > by copying the necessary files and setting up a virtual directory in
    > IIS) the application.
    >
    > The strange piece seems to be that it references a non-existant DLL
    > (see below following the "Show Detailed Compiler Output:" section).
    > In this case it is looking for "riexran5.dll", which I did not create
    > and does not exist on the server anywhere. This DLL name seems to
    > change with every different virtual directory I create. Other example
    > names include: "yhkzggnj.dll", "u898q81e.dll", "etom4cdc.dll", and
    > "imfraewp.dll". I have never seen this before and don't know if this
    > is the problem or not.
    >
    > I do not believe that this is a code/development problem as the exact
    > same source is running on 2 other servers with absolutely no problems.
    > This error occurs when ANY page within the site is attempted to be
    > loaded into IE on the server (the error message is not displayed with
    > this detail on a client machine...).
    >
    > We have tried reinstalling the .NET framework (v1.1.4322.573) and I am
    > tempted to reinstall IIS. Please let me know if anyone has ever seen
    > this behavior before and how you got rid of it!
    >
    > Thanks,
    >
    > Bill
    >
    > --------------------
    >
    >
    > Server Error in '/HelloWorld' Application.
    > ________________________________________
    > Compilation Error
    > Description: An error occurred during the compilation of a resource
    > required to service this request. Please review the following specific
    > error details and modify your source code appropriately.
    >
    > Compiler Error Message: CS0007: Unexpected common language runtime
    > initialization error -- 'The specified module could not be found. '
    >
    > Source Error:
    >
    > [No relevant source lines]
    >
    > Source File: Line: 0
    >
    > Show Detailed Compiler Output:
    >
    > C:\WINNT\system32>
    > "c:\winnt\microsoft.net\framework\v1.1.4322csc.exe"
    > /t:library /utf8output
    > /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll"
    >

    /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.dr
    awing.dll"
    >

    /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system
    ..web.mobile.dll"
    >

    /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.
    dll"
    >

    /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3
    a\system.enterpriseservices.dll"
    >

    /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dl
    l"
    >

    /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\syst
    em.web.services.dll"
    > /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
    >

    /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dl
    l"
    > /R:"c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net
    >

    files\helloworld\0f3cddc2\2d10a607\assembly\dl2\2ae75aa7\d0cbd1be_267ec401\hell
    oworld.dll"
    > /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    > Files\helloworld\0f3cddc2\2d10a607\riexran5.dll"
    > /DEBUG /debug+ /optimize-/warnaserror /w:1
    > "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
    > Files\helloworld\0f3cddc2\2d10a607\riexran5.0.cs"
    >
    > Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
    > for Microsoft (R) .NET Framework version 1.1.4322
    > Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
    >
    > fatal error CS0007: Unexpected common language runtime initialization
    > error -- 'The specified module could not be found. '
    >
    > Show Complete Compilation Source:
    >
    > Line 1:

    //-----------------------------------------------------------------------------
    -
    > Line 2: // <autogenerated>
    > Line 3: // This code was generated by a tool.
    > Line 4: // Runtime Version: 1.1.4322.573
    > Line 5: //
    > Line 6: // Changes to this file may cause incorrect behavior
    > and will be lost if
    > Line 7: // the code is regenerated.
    > Line 8: // </autogenerated>
    > Line 9:

    //-----------------------------------------------------------------------------
    -
    > Line 10:
    > Line 11: namespace ASP {
    > Line 12: using System;
    > Line 13: using System.Collections;
    > Line 14: using System.Collections.Specialized;
    > Line 15: using System.Configuration;
    > Line 16: using System.Text;
    > Line 17: using System.Text.RegularExpressions;
    > Line 18: using System.Web;
    > Line 19: using System.Web.Caching;
    > Line 20: using System.Web.SessionState;
    > Line 21: using System.Web.Security;
    > Line 22: using System.Web.UI;
    > Line 23: using System.Web.UI.WebControls;
    > Line 24: using System.Web.UI.HtmlControls;
    > Line 25:
    > Line 26:
    > Line 27:

    [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
    > Line 28: public class Global_asax : HelloWorld.Global {
    > Line 29:
    > Line 30: private static bool __initialized = false;
    > Line 31:
    > Line 32: public Global_asax() {
    > Line 33: if ((ASP.Global_asax.__initialized == false)) {
    > Line 34: ASP.Global_asax.__initialized = true;
    > Line 35: }
    > Line 36: }
    > Line 37: }
    > Line 38: }
    > Line 39:
    > ________________________________________
    > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    > ASP.NET Version:1.1.4322.573




+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 11-07-2007, 04:45 PM
  2. Replies: 0
    Last Post: 06-04-2006, 07:31 AM
  3. how can I solve Common Language runtime Error
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 08-17-2005, 03:17 AM
  4. Replies: 0
    Last Post: 03-06-2005, 11:38 PM
  5. Unexpected fatal error in MSSQLServerOLAPService
    By Application Development in forum XML SOAP
    Replies: 2
    Last Post: 09-20-2004, 05:26 PM