Out Of memory error ASP.NET with impersonate

  • Thread starter Thread starter boricua
  • Start date Start date
B

boricua

I have a TAPI application that passes through authenication and
impersonates the user. Application fails with OUT OF MEMORY error when
app Initializes TAPI class object. When I add the user group that
holds the users to the local admin group on the web server it works
like a charm. When they are not in the Admin group it fails with the
same error.

I have another TAPI App that uses the exact same code except instead of
windows authentication it uses form authentication. This works
seamlessly.

Info On Web Server:

Windows 2003 Web Edition
1 gb of RAM
Memory Commit Charge: no more then 400mb
IIS 6

I find this very odd. Any ideas will be greatly appreciated.

Thank you.
 
Boricua,

are you sure your impersonation code works?
You might want to write some code to e.g.
delete a file that only the impersonated user has
permission to delete. So you would at least know
for sure that the impersonation works.

Best regards,

Matthias Moetje
 
I know it works cause they pull data from a database and the security
is based on their windows logon.
 
Hm,

at least it is sure that is a permissions problem.

You may want to try FileMon and RegMon from
sysinternals.com and check all the access denied
entries if they are related to tapi. Maybe the
permissions are misconfigured in some way.

Alternatively you could also try to tempórarily
give the user extensive permissions on the
file system (windows, system, temp etc.) and see
if that cures the problem. Then you could try to
narrow it down..

Best regards,

Matthias Moetje
 
Back
Top