Showing posts with label suddenly. Show all posts
Showing posts with label suddenly. Show all posts

Tuesday, March 13, 2012

Server Application Error

I have an ASP.NET web application that has been running
fine for 18 months. Suddenly the other day I started
getting the following error:

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

It's is not a problem with the application because the
same application is running fine on another web server.

Any help tracking down this problem would be greatly
appreciated.

-Darren-Check if web.config is set to impersonate IUSR ( in case
yes, check the access rights of IUSER).

Alternatively, you can try to run Aspnet_regiis with -i
option Also.

http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/windowsserver2003/proddocs/standar
d/aaconaspnetiisregistrationtoolaspnet_regiisexe.asp

Hope this helps..

Avneesh

>--Original Message--
>I have an ASP.NET web application that has been running
>fine for 18 months. Suddenly the other day I started
>getting the following error:
>"An error occurred while try to load the string resources
>(GetModuleHandle failed with error -2147023888)."
>It's is not a problem with the application because the
>same application is running fine on another web server.
>Any help tracking down this problem would be greatly
>appreciated.
>-Darren-
>.
Hi Darren,

I noticed that you asked the same question at the following post in this
group:

ASP.NET Server Error

I have replied you in that thread. Please check it when you have time.
Thank you for your understanding.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi Avneesh,

Thanks for your reply. I have just tried both of your
suggestions but neither of them has fixed the problem.

Does anyone have any other suggestions?

Thnaks,

~Darren~

>--Original Message--
>Check if web.config is set to impersonate IUSR ( in
case
>yes, check the access rights of IUSER).
>Alternatively, you can try to run Aspnet_regiis with -i
>option Also.
>http://www.microsoft.com/technet/treeview/default.asp?
>url=/technet/prodtechnol/windowsserver2003/proddocs/stand
ar
>d/aaconaspnetiisregistrationtoolaspnet_regiisexe.asp
>Hope this helps..
>Avneesh
>>--Original Message--
>>I have an ASP.NET web application that has been running
>>fine for 18 months. Suddenly the other day I started
>>getting the following error:
>>
>>"An error occurred while try to load the string
resources
>>(GetModuleHandle failed with error -2147023888)."
>>
>>It's is not a problem with the application because the
>>same application is running fine on another web server.
>>
>>Any help tracking down this problem would be greatly
>>appreciated.
>>
>>-Darren-
>>.
>>
>.
Hi Jacob,

Thanks for your reply. The reason I posted my question
again was because I couldn't see my original posting from
yesterday.

I'm using IE6 to browser the newsgroup and still can't
find my orginal posting. Can you please post your answer
again?

Thanks,

~Darren~

>--Original Message--
>Hi Darren,
>I noticed that you asked the same question at the
following post in this
>group:
>ASP.NET Server Error
>I have replied you in that thread. Please check it when
you have time.
>Thank you for your understanding.
>Best regards,
>Jacob Yang
>Microsoft Online Partner Support
>Get Secure! C www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>.
Hi Darren,

The following is my answer for this issue. Please check it when you have
time.

====================================
From: jiany@.online.microsoft.com (Jacob Yang [MSFT])
Date: Fri, 17 Oct 2003 01:27:07 GMT
Subject: RE: ASP.NET Server Error
Newsgroups: microsoft.public.dotnet.framework.aspnet

Hi Darren,

Firstly I want to thank Natty for the great help in this issue.

Based on my research and experience, the possible reason of this issue is
that the ASPNET account does not have the privilege mentioned in the
articles
below.

824308 BUG: IWAM Account Is Not Granted the Impersonate Privilege for
ASP.NET
http://support.microsoft.com/?id=824308
821546 Overview of the "Impersonate a Client After Authentication" and the
http://support.microsoft.com/?id=821546

The solution is adding ASPNET account to the "Impersonate a client after
authentication". Please refer to the mentioned Knowledge Base articles
carefully for this issue.

"...
This article discusses the "Impersonate a client after authentication" and
"Create global objects" user rights. These new security settings were first
introduced in Windows 2000 Service Pack 4 (SP4) and help to increase
security in Windows 2000.
..
After you install Windows 2000 Service Pack 4 (SP4) on your computer, some
programs that use impersonation may not work correctly.
..
"

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
================================================== ====

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hi Jacob,

Many thanks for your fantastic support - the problem is
now fixed.

Best regards,

~Darren~

>--Original Message--
>Hi Darren,
>The following is my answer for this issue. Please check
it when you have
>time.
>====================================
>From: jiany@.online.microsoft.com (Jacob Yang [MSFT])
>Date: Fri, 17 Oct 2003 01:27:07 GMT
>Subject: RE: ASP.NET Server Error
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>Hi Darren,
>Firstly I want to thank Natty for the great help in this
issue.
>Based on my research and experience, the possible reason
of this issue is
>that the ASPNET account does not have the privilege
mentioned in the
>articles
>below.
>824308 BUG: IWAM Account Is Not Granted the Impersonate
Privilege for
>ASP.NET
>http://support.microsoft.com/?id=824308
>821546 Overview of the "Impersonate a Client After
Authentication" and the
>http://support.microsoft.com/?id=821546
>The solution is adding ASPNET account to
the "Impersonate a client after
>authentication". Please refer to the mentioned Knowledge
Base articles
>carefully for this issue.
>"...
>This article discusses the "Impersonate a client after
authentication" and
>"Create global objects" user rights. These new security
settings were first
>introduced in Windows 2000 Service Pack 4 (SP4) and help
to increase
>security in Windows 2000.
>..
>After you install Windows 2000 Service Pack 4 (SP4) on
your computer, some
>programs that use impersonation may not work correctly.
>..
>"
>I hope it helps.
>Best regards,
>Jacob Yang
>Microsoft Online Partner Support
>Get Secure! C www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>================================================== ====
>Best regards,
>Jacob Yang
>Microsoft Online Partner Support
>Get Secure! C www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>.
Hi Jacob,

Many thanks for your fantastic support - the problem is
now fixed.

Best regards,

~Darren~

>--Original Message--
>Hi Darren,
>The following is my answer for this issue. Please check
it when you have
>time.
>====================================
>From: jiany@.online.microsoft.com (Jacob Yang [MSFT])
>Date: Fri, 17 Oct 2003 01:27:07 GMT
>Subject: RE: ASP.NET Server Error
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>Hi Darren,
>Firstly I want to thank Natty for the great help in this
issue.
>Based on my research and experience, the possible reason
of this issue is
>that the ASPNET account does not have the privilege
mentioned in the
>articles
>below.
>824308 BUG: IWAM Account Is Not Granted the Impersonate
Privilege for
>ASP.NET
>http://support.microsoft.com/?id=824308
>821546 Overview of the "Impersonate a Client After
Authentication" and the
>http://support.microsoft.com/?id=821546
>The solution is adding ASPNET account to
the "Impersonate a client after
>authentication". Please refer to the mentioned Knowledge
Base articles
>carefully for this issue.
>"...
>This article discusses the "Impersonate a client after
authentication" and
>"Create global objects" user rights. These new security
settings were first
>introduced in Windows 2000 Service Pack 4 (SP4) and help
to increase
>security in Windows 2000.
>..
>After you install Windows 2000 Service Pack 4 (SP4) on
your computer, some
>programs that use impersonation may not work correctly.
>..
>"
>I hope it helps.
>Best regards,
>Jacob Yang
>Microsoft Online Partner Support
>Get Secure! C www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>================================================== ====
>Best regards,
>Jacob Yang
>Microsoft Online Partner Support
>Get Secure! C www.microsoft.com/security
>This posting is provided "as is" with no warranties and
confers no rights.
>.

Server Application Error: The server failed to load application /LM/W3SVC.

Hi:

I was working good with IIS 5.0 and Netframework, but suddenly my Explorer gave this error: Server Application Error, and tell me to go to the event viewer for more details, who says this: The server failed to load application '/LM/W3SVC'.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

But there's nothing over there about my problem.

I will appreciate any help that you can give me.

Thanks...Hi,

did a quickgoogle search and came up with this:

PRB: Configured Identity Is Incorrect for IWAM Account.

Grz, Kris.

Server Application Unavailable

It's getting to be desperation time for me. I have an app which has been working for 2 years and suddenly I am getting the error above. I am using ASP.NET 1.1. I have data and programs locked up with this problem.

Is this error an alias for some other problem? The error is the same with friendly messages on or off.

The MSFT site says to edit the processModel section of machine.config, but that did not work. At any rate, yesterday when prog was working, processModel was commented out, as it still was today. I have never messed with ASPNET user account.

Both my web server computer and development computer have both ASP.NET 1.1 and Studio.Net 2003 installed, & both have developed this problem, almost at the same time. They are not connected via any network, though.

At any rate, I don't think the problem can be machine.config; it has not changed. Are there "correct" settings for the ASPNET user account? I've never set any password. Is there some default which can be changed? Any help would be greatly appreciated.

Many thanks
Mike Thomas

Take a look in the Event Log. The error should be logged there.

HTH,
Ryan