473,412 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Limited ASPNET system resources?

Are there some system resources which the ASPNET user account gets less
of, by default?

I'm running into a problem with a web service that I'm working on. I
have a 3rd-party program which the web service interacts with, and I
have several documents associated with this program. Some of these
documents are small, and some of the documents are extremely large.

The 3rd party program opens all of these documents just fine when
running under my user account. But opening the larger documents causes
the program to crash when it's run under the ASPNET user account (from
the web service). Thus, I'm inclined to think that there's some
limited system resource that the ASPNET account doesn't have as much of
as a default user account.

Can anyone offer some suggestions of what resources might be the
culprit, and how this problem might be addressed? Thanks.

- Roger

Nov 23 '05 #1
6 1457
Does the security on the server grant the appropriate permissions to view
the large documents with the ASPNET account? I assume it does since it sounds
like the smaller documents open fine.

I don't know why one account would be restricted resources. Especially the
ASPNET account since its important to web servers.

Do you get a certain error message when the program crashes?

-Trevor
Are there some system resources which the ASPNET user account gets
less of, by default?

I'm running into a problem with a web service that I'm working on. I
have a 3rd-party program which the web service interacts with, and I
have several documents associated with this program. Some of these
documents are small, and some of the documents are extremely large.

The 3rd party program opens all of these documents just fine when
running under my user account. But opening the larger documents
causes the program to crash when it's run under the ASPNET user
account (from the web service). Thus, I'm inclined to think that
there's some limited system resource that the ASPNET account doesn't
have as much of as a default user account.

Can anyone offer some suggestions of what resources might be the
culprit, and how this problem might be addressed? Thanks.

- Roger


Nov 23 '05 #2
Yes, the ASPNET account has sufficient permissions to access the
documents. If I open one of the large documents with my own account
and then remove enough data then it will open fine from the web
service.

Unfortunately, the crash is just a typical access violation
(0xc0000005). I thought that perhaps the program was trying to
allocate some system resources and wasn't checking the returned handle
before trying to use them. But as to what that resource might be, I
have no idea.... and hence, my original question :)

Nov 23 '05 #3
Some more information which might be helpful:

Looking at the disassembly of the program that is crashing, the crash
appears to occur during an attempted call to GetClientRect.

Would the ASPNET user account have trouble allocating large numbers of
window handles, perhaps?

Nov 23 '05 #4
Hmmm... notify the 3rd party and see what they think... They should be showing
a friendly error message if something like this happens. ie. maybe their
software attempts to write a file behind the scenes to a temp folder.
Yes, the ASPNET account has sufficient permissions to access the
documents. If I open one of the large documents with my own account
and then remove enough data then it will open fine from the web
service.

Unfortunately, the crash is just a typical access violation
(0xc0000005). I thought that perhaps the program was trying to
allocate some system resources and wasn't checking the returned handle
before trying to use them. But as to what that resource might be, I
have no idea.... and hence, my original question :)


Nov 23 '05 #5
Googled the function name - I assume this is why you are referring to handles...

http://msdn.microsoft.com/library/de...clientrect.asp

"GetClientRect function retrieves the coordinates of a window's client area"

Maybe you need special permissions to access/view the client screen????
It is weird the 3rd party component needs access to the screen. ie. Is
it meant to be hosted on a web server?

-Trevor
Some more information which might be helpful:

Looking at the disassembly of the program that is crashing, the crash
appears to occur during an attempted call to GetClientRect.

Would the ASPNET user account have trouble allocating large numbers of
window handles, perhaps?


Nov 23 '05 #6
Thanks for your suggestions. I finally found a solution to the
problem!

The 3rd-party application uses a large number of user objects, even
when it's running under a web service (it's a poorly designed app -
registers WAY too many windows). It was failing in the ASPNET user
account because non-interactive desktops are given a smaller desktop
heap.

Increasing the amount of desktop heap available to non-interactive
desktops seems to have fixed the problem. The default, 512k, was just
too small for this app... I upped it to 1024k.

The registry key was found here:
http://support.microsoft.com/default.aspx?kbid=126962

Nov 23 '05 #7

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

Similar topics

22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
1
by: Stig Johansen | last post by:
I have what I thought was a simple task. When the user's session times out I want to save some data to a database so that these can be retrieved the next time the user connects. I have therefore...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
1
by: Daniel Frede | last post by:
Hello, I Created a AxSHDocVw.AxWebBrowser in a class and want to Post Values to a WebPage. When I use this class in a Windows application, everything is fine, but in an ASPX page it hangs...
3
by: Jiho Han | last post by:
Should ASPNET user belong to the local Users group? I may have made some changes that affected my workstation setup and I am experiencing some unexpected behaviors. For example, I have my IIS...
2
by: SKG | last post by:
Can any one explain me what is IUSR_ account in IIS. What is ASPNET user account. do these account work in conjunction.? Is ASPNET user account used in execution context of the request....
0
by: Kruq | last post by:
Hello, I have a problem. In development environment we have few dev workstations and one development database. Application allows to upload some resources to HDD and store its descriptors into...
0
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web...
2
by: =?Utf-8?B?d2luZHNpbQ==?= | last post by:
Hi, I have a C# program that need to know whether the user that run the application is administrative user or limited user. Are there any methods in C# I can use? -- windsim
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.