question

avinashupadhyay-1971 avatar image
0 Votes"
avinashupadhyay-1971 asked avinashupadhyay-1971 answered

Intermittent 0x800700aa- Resource in Use error when making asp callls

when making asp calls to IIS site, intermittently some of the calls (2 %) fails with below error-
Error code- 0x800700aa
http code- 500 Internal Server Error
Module- Isapi module.
Below is failed trace from FRT-


MODULE_SET_RESPONSE_ERROR_STATUS

ModuleName
IsapiModule

Notification
EXECUTE_REQUEST_HANDLER

HttpStatus
500

HttpReason
Internal Server Error

HttpSubStatus
0

ErrorCode
The requested resource is in use.
(0x800700aa)



Any clues and means to understand how to check what resource is in Use at the time of failures
Also the only way to get past this error is a IIS reset.

windows-server-iis
· 12
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @avinashupadhyay-1971 May I know the version of your IIS and could you please provide more details of your application on IIS(such as is that a asp.net project). And could you please have a try with the solution in this link ?

0 Votes 0 ·

Hi @HuryShenMSFT-3800 .
IIS version-10, this application is a legacy asp application and GET and POST API calls are being made round the clock via F5 load balanced URL.
I enabled FRT and above trace was captured, I need to know how to check why the ‘Resource in Use’ error for ISapi module only for some calls.
This application is being served by an application pool with a custom identity.

0 Votes 0 ·

i tried the solution in the link and can conform that the cache setting is already set to true.

0 Votes 0 ·

Hi @avinashupadhyay-1971 I think the problem may be related to custom identity. Could you please try to go to "Application pool" --> "Set Application Pool Defaults" -- then set "Identity" to "LocalSystem" under "Process Model".

1 Vote 1 ·
Show more comments

1 Answer

avinashupadhyay-1971 avatar image
0 Votes"
avinashupadhyay-1971 answered

The occasional '500 Internal server' error for few of the GET and POST asp calls was narrowed down to the custom app pool identity. Upon switching the app pool identity from custom gMSA account to system built - app pool identity, no errors have been identifies post that.

Error-
Error code- 0x800700aa
http code- 500 Internal Server Error
Module- Isapi module.


Fix- Change app pool identity from custom gMSA to system account- app pool identity

Thank you @HuryShenMSFT-3800 for the pointers.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.