|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Out Of memory error ASP.NET with impersonateimpersonates 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 ------------------------------------- TERASENS GmbH Augustenstraße 24 80333 Munich, GERMANY ------------------------------------- Fon: +49 89 143370-0 Fax: +49 89 143370-22 e-mail: moetje at terasens dot com www: www.terasens.com ------------------------------------- Show quote "boricua" <rmald***@gmail.com> wrote in message news:1145408786.560010.323970@t31g2000cwb.googlegroups.com... > 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. > 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 ------------------------------------- TERASENS GmbH Augustenstraße 24 80333 Munich, GERMANY ------------------------------------- Fon: +49 89 143370-0 Fax: +49 89 143370-22 e-mail: moetje at terasens dot com www: www.terasens.com ------------------------------------- Show quote "boricua" <rmald***@gmail.com> wrote in message news:1145466875.447270.185800@t31g2000cwb.googlegroups.com... > I know it works cause they pull data from a database and the security > is based on their windows logon. > |
|||||||||||||||||||||||