473,668 Members | 2,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An error occurred while try to load the string resources (GetModuleHandl e 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 (GetModuleHandl e
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.Http Exception: An error occurred while try to
load the string resources (GetModuleHandl e failed with error -2147023888).
Stack Trace:

[HttpException (0x80004005): An error occurred while try to load the string
resources (GetModuleHandl e failed with error -2147023888).]
System.Web.Stri ngResourceManag er.ReadSafeStri ngResource(Type t) +373
System.Web.UI.T emplateControl. ReadStringResou rce(Type t) +5
_ASP.ipinfo_asp x..ctor() +31

[TargetInvocatio nException: Exception has been thrown by the target of an
invocation.]
System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) +0
System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) +66
System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context) +164

[HttpException (0x80004005): Failed to create page of type
'_ASP.ipinfo_as px'.]
System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context) +337
System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context, String
requestType, String url, String path) +44
System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +698

System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n+IExecutionSte p
..Execute() +95
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +173

Any ideas, what went wrong on this machine ?
Thanks,

Marco Gerlach
Nov 17 '05 #1
1 7747
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 "Impersonat e a Client AfterAuthentica tion"
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 "Impersonat e a Client After Authentication"
and the
http://support.microsoft.com/?id=821546

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

Hope that helps!
Carb Simien, MCSE MCDBA MCAD
Microsoft Developer Support - Web Data
"Marco Gerlach" <MG******@IhrPa rtner.de> wrote in message news:<OP******* *******@TK2MSFT NGP11.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 (GetModuleHandl e
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.Http Exception: An error occurred while try to
load the string resources (GetModuleHandl e failed with error -2147023888).
Stack Trace:

[HttpException (0x80004005): An error occurred while try to load the string
resources (GetModuleHandl e failed with error -2147023888).]
System.Web.Stri ngResourceManag er.ReadSafeStri ngResource(Type t) +373
System.Web.UI.T emplateControl. ReadStringResou rce(Type t) +5
_ASP.ipinfo_asp x..ctor() +31

[TargetInvocatio nException: Exception has been thrown by the target of an
invocation.]
System.RuntimeT ype.CreateInsta nceImpl(Boolean publicOnly) +0
System.Activato r.CreateInstanc e(Type type, Boolean nonPublic) +66
System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context) +164

[HttpException (0x80004005): Failed to create page of type
'_ASP.ipinfo_as px'.]
System.Web.UI.T emplateControlP arser.GetCompil edInstance(Stri ng
virtualPath, String inputFile, HttpContext context) +337
System.Web.UI.P ageParser.GetCo mpiledPageInsta nceInternal(Str ing
virtualPath, String inputFile, HttpContext context) +43
System.Web.UI.P ageHandlerFacto ry.GetHandler(H ttpContext context, String
requestType, String url, String path) +44
System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +698

System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n+IExecutionSte p
.Execute() +95
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +173

Any ideas, what went wrong on this machine ?
Thanks,

Marco Gerlach

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5810
by: acemann7 | last post by:
Windows 2000 udb v 7.2 Got the latest fixpak 13 Applied it. Still can't get a single java sp to run. I used to get reason "2"... now reason "0" - reason 0 is not even documented. I point jdk11_path to: Java Development Kit 1.1 installation path (JDK11_PATH) =
1
4132
by: Kevin B. Campisi | last post by:
Hi There, I'm really stuck on this one and any help would be GREATLY appreciated. I've got an ASP.net application, that initially, gives me the following error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
1
2427
by: Stan | last post by:
I get this error when I try to access any page on the website: An error occurred while try to load the string resources (GetModuleHandle failed with error 126). At the same time here is what I got in the Event Log: Event Type: Error Event Source: ASP.NET 1.0.3705.288 Event Category: None
0
1560
by: Bryan Poteet | last post by:
Hello, Not sure where to start with this error. The application uses Forms as the authentication Mode and AD for user login. An error occurred while try to load the string resources (GetModuleHandle failed with error -2147024896). Here is the stack trace:
0
3138
by: Simon | last post by:
Hi I try to open a CR report file located on the network path from a web form developed with vs2003 and CR for Visual Studio, but the Load method of ReportDocument object always return error. --------------------- Load report failed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
0
1662
by: David Mediavilla | last post by:
I am writing a client for an HTTPS web service using WSE 1.0 but I always get an error like "The underlying connection was closed: An unexpected error occurred on a send." Sometimes the error "occured on a receive". Looking around, I find http://weblogs.asp.net/jan/archive/2004/05/08/128394.aspx ("Solving "The underlying connection was closed" when using WSE"), that sets KeepAlive to false, but it doesn't work for me since when I get to...
0
2953
by: dba123 | last post by:
All of a sudden in VS 2005, I'm starting to get this when performing a build on our website that I wasn't getting before. The website is copied down locally on my C:\. It's always been fine. An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\Inetpub\wwwroot\VSS\Web\app_code' because access is denied. One of my bosses, probably caused the issue. He had added some keys to my registry just like...
3
12051
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type
1
2409
by: aaronkmar | last post by:
Hi Bytes, Hope your day is going well and thank god it's Friday! I've got an IE only error kicking my butt. The java below is responsible for table row highlighting and a tool tip for one of the cells. Neither work in IE, but FF is fine. $(document).ready(function() { $('.Login .Textbox').focus(function(){
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8586
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4205
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2026
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.