T
TPoise!
Using: .NET 1.1, Visual Studio 2003, C#, Microsoft Windows 2000
Server (SP4 and all latest windows updates), Terminal Server running
in application mode.
I have a C# application that I've deployed to our terminal server for
remote users to use. However, normal users (simple domain users) can
not run the application. After double clicking on the icon, an
hourglass appears as if its loading then it goes back to the normal
cursor. After investigating the issue, I saw that is causing an
exception that shows up in the server's event logs. Here is what I
get:
The application, , generated an application error The error occurred
on 05/1/2004 @ 17:41:59.990 The exception generated was c00000fd at
address 791B50C3 (Ordinal71)
Later in the detailed portion of the event, it shows that c00000fd is
a "Stack Overflow". I am not doing any recursive function calls or
anything like that. My application is multithreaded and accesses a
database. I even took out all the thread function calls and it still
would not work (gives same error).
The weird thing about this is if I give that user administrative
access, it'll work fine (over terminal services). Or, if I login with
a normal user's account from the console, it'll work fine. However, I
can not get it to work with a normal user over terminal services.
The application runs fine on Windows XP Professional as well. At this
point I don't believe it is a .NET or C# or an issue with my
application.
My question is, are there any options for me? Will Windows Server
2003 (or a 64-bit edition) fix my problem? Is there a way I can
expand the stack size (or other resources) for a terminal services
user? Is there a way I can compile my application differently that
uses less stack space?
Thanks, any and all help will be appreciated. I can be emailed
directly at tim .AT. outdoordecor.com
Server (SP4 and all latest windows updates), Terminal Server running
in application mode.
I have a C# application that I've deployed to our terminal server for
remote users to use. However, normal users (simple domain users) can
not run the application. After double clicking on the icon, an
hourglass appears as if its loading then it goes back to the normal
cursor. After investigating the issue, I saw that is causing an
exception that shows up in the server's event logs. Here is what I
get:
The application, , generated an application error The error occurred
on 05/1/2004 @ 17:41:59.990 The exception generated was c00000fd at
address 791B50C3 (Ordinal71)
Later in the detailed portion of the event, it shows that c00000fd is
a "Stack Overflow". I am not doing any recursive function calls or
anything like that. My application is multithreaded and accesses a
database. I even took out all the thread function calls and it still
would not work (gives same error).
The weird thing about this is if I give that user administrative
access, it'll work fine (over terminal services). Or, if I login with
a normal user's account from the console, it'll work fine. However, I
can not get it to work with a normal user over terminal services.
The application runs fine on Windows XP Professional as well. At this
point I don't believe it is a .NET or C# or an issue with my
application.
My question is, are there any options for me? Will Windows Server
2003 (or a 64-bit edition) fix my problem? Is there a way I can
expand the stack size (or other resources) for a terminal services
user? Is there a way I can compile my application differently that
uses less stack space?
Thanks, any and all help will be appreciated. I can be emailed
directly at tim .AT. outdoordecor.com