Professional Web Applications Themes

An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888) - ASP.NET General

Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888). Stack Trace: [HttpException (0x80004005): An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888).] System.Web.StringResourceManager.ReadSafeStringRes ource(Type t) ...

  1. #1

    Default An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)

    Hello,

    on one of our customers servers we get following error on first ASPX-page:

    An error occurred while try to load the string resources (GetModuleHandle
    failed with error -2147023888)


    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: An error occurred while try to
    load the string resources (GetModuleHandle failed with error -2147023888).


    Stack Trace:

    [HttpException (0x80004005): An error occurred while try to load the string
    resources (GetModuleHandle failed with error -2147023888).]
    System.Web.StringResourceManager.ReadSafeStringRes ource(Type t) +373
    System.Web.UI.TemplateControl.ReadStringResource(T ype t) +5
    _ASP.ipinfo_aspx..ctor() +31

    [TargetInvocationException: Exception has been thrown by the target of an
    invocation.]
    System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
    System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
    System.Web.UI.TemplateControlPr.GetCompiledIns tance(String
    virtualPath, String inputFile, HttpContext context) +164

    [HttpException (0x80004005): Failed to create page of type
    '_ASP.ipinfo_aspx'.]
    System.Web.UI.TemplateControlPr.GetCompiledIns tance(String
    virtualPath, String inputFile, HttpContext context) +337
    System.Web.UI.PagePr.GetCompiledPageInstanceIn ternal(String
    virtualPath, String inputFile, HttpContext context) +43
    System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String
    requestType, String url, String path) +44
    System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
    requestType, String path, String pathTranslated, Boolean useAppConfig) +698

    System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep
    ..Execute() +95
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
    completedSynchronously) +173





    Any ideas, what went wrong on this machine ?


    Thanks,

    Marco Gerlach


    Marco Gerlach Guest

  2. #2

    Default Re: An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)

    Hi Marco,

    I've seen this very error and stack trace before. It happened shortly
    after applying Windows 2000 SP4.

    You will need to grant the "Impersonate a Client AfterAuthentication"
    user right to the appropriate account on your machine. For member
    servers, the account is ASPNET. For domain controllers, the account
    is IWAM_<machine name>.

    Below are some steps you can take to accomplish this:
    1. Click Start, point to Programs, point to Administrative Tools,
    and then click Local Security Policy.
    2. Expand Local Policies, and then click User Rights Assignment.
    3. In the right pane, double-click Impersonate a client after
    authentication.
    4. In the Local Security Policy Setting dialog box, click Add.
    5. In the Select Users or Group dialog box, click the user account
    that you want to add, click Add, and then click OK.
    6. Click OK.

    You should also reboot the entire computer after doing these steps.
    This information is also discussed in greater detail in the following
    KB article:

    821546 Overview of the "Impersonate a Client After Authentication"
    and the
    [url]http://support.microsoft.com/?id=821546[/url]

    315158 FIX: ASP.NET Does Not Work with the Default ASPNET Account on
    a Domain
    [url]http://support.microsoft.com/?id=315158[/url]

    Hope that helps!


    Carb Simien, MCSE MCDBA MCAD
    Microsoft Developer Support - Web Data


    "Marco Gerlach" <MGerlachIhrPartner.de> wrote in message news:<OPND11ZVDHA.2156TK2MSFTNGP11.phx.gbl>...
    > Hello,
    >
    > on one of our customers servers we get following error on first ASPX-page:
    >
    > An error occurred while try to load the string resources (GetModuleHandle
    > failed with error -2147023888)
    >
    >
    > Description: An unhandled exception occurred during the execution of the
    > current web request. Please review the stack trace for more information
    > about the error and where it originated in the code.
    >
    > Exception Details: System.Web.HttpException: An error occurred while try to
    > load the string resources (GetModuleHandle failed with error -2147023888).
    >
    >
    > Stack Trace:
    >
    > [HttpException (0x80004005): An error occurred while try to load the string
    > resources (GetModuleHandle failed with error -2147023888).]
    > System.Web.StringResourceManager.ReadSafeStringRes ource(Type t) +373
    > System.Web.UI.TemplateControl.ReadStringResource(T ype t) +5
    > _ASP.ipinfo_aspx..ctor() +31
    >
    > [TargetInvocationException: Exception has been thrown by the target of an
    > invocation.]
    > System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
    > System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
    > System.Web.UI.TemplateControlPr.GetCompiledIns tance(String
    > virtualPath, String inputFile, HttpContext context) +164
    >
    > [HttpException (0x80004005): Failed to create page of type
    > '_ASP.ipinfo_aspx'.]
    > System.Web.UI.TemplateControlPr.GetCompiledIns tance(String
    > virtualPath, String inputFile, HttpContext context) +337
    > System.Web.UI.PagePr.GetCompiledPageInstanceIn ternal(String
    > virtualPath, String inputFile, HttpContext context) +43
    > System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String
    > requestType, String url, String path) +44
    > System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
    > requestType, String path, String pathTranslated, Boolean useAppConfig) +698
    >
    > System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep
    > .Execute() +95
    > System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
    > completedSynchronously) +173
    >
    >
    >
    >
    >
    > Any ideas, what went wrong on this machine ?
    >
    >
    > Thanks,
    >
    > Marco Gerlach
    Carb Guest

Similar Threads

  1. Indesign failed to load all plug-ins error message
    By Mark_Lincoln@adobeforums.com in forum Adobe Indesign Macintosh
    Replies: 0
    Last Post: September 23rd, 01:12 PM
  2. RSL Load Failed Error using FLASH FORMS
    By WestSide in forum Macromedia ColdFusion
    Replies: 0
    Last Post: May 4th, 05:05 PM
  3. Replies: 0
    Last Post: November 12th, 03:43 PM
  4. Replies: 0
    Last Post: September 25th, 03:23 AM
  5. An error occurred while try to load the string resources
    By Ravikanth[MVP] in forum ASP.NET General
    Replies: 2
    Last Post: August 1st, 05:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139