Only administrators can run my application | | |
I am new to dotnet programming and I face a problem with a Windows Forms
application i did when I try to run it on a Windows 2000 Terminal Server.
The application can be run only by administrators of the server. All other
users cannot, I can see the process starting and after a while the process
ends with no error and no message displayed. I assume that the problem has
something to do with security but I cannot figure out what I have to do in
order for the application to run.
Can anyone help me out on this? | | | | re: Only administrators can run my application
Hello Andreas,
What does your application do when you login as a user (terminate, freeze,
etc)?
How are you handling your application security?
Are you using application based security, NTFS permissions, etc?
Is your application calling resources that require admin rights?
I would manually debug this by entering a few lines of code to check the
following
and then output the value of each one to the screen using a message box or
label on your form.
*Authentication - Validate User
*Authorization - Does the user have rights to the resources needed
(Datasource, etc)
This is where I would start at least.
Charles
Charles AT CharlesGreen DOT ORG
[color=blue]
>"Andreas C. Andreou" <asoft@andreou.com> wrote
>in message news:ejILNF1LEHA.2736@TK2MSFTNGP11.phx.gbl...
> I am new to dotnet programming and I face a problem with a Windows Forms
> application i did when I try to run it on a Windows 2000 Terminal Server.
> The application can be run only by administrators of the server. All other
> users cannot, I can see the process starting and after a while the process
> ends with no error and no message displayed. I assume that the problem has
> something to do with security but I cannot figure out what I have to do in
> order for the application to run.
>
> Can anyone help me out on this?
>
>[/color] | | | | re: Only administrators can run my application
Hello Andreas,
What does your application do when you login as a user (terminate, freeze,
etc)?
How are you handling your application security?
Are you using application based security, NTFS permissions, etc?
Is your application calling resources that require admin rights?
I would manually debug this by entering a few lines of code to check the
following
and then output the value of each one to the screen using a message box or
label on your form.
*Authentication - Validate User
*Authorization - Does the user have rights to the resources needed
(Datasource, etc)
This is where I would start at least.
Charles
Charles AT CharlesGreen DOT ORG
[color=blue]
>"Andreas C. Andreou" <asoft@andreou.com> wrote
>in message news:ejILNF1LEHA.2736@TK2MSFTNGP11.phx.gbl...
> I am new to dotnet programming and I face a problem with a Windows Forms
> application i did when I try to run it on a Windows 2000 Terminal Server.
> The application can be run only by administrators of the server. All other
> users cannot, I can see the process starting and after a while the process
> ends with no error and no message displayed. I assume that the problem has
> something to do with security but I cannot figure out what I have to do in
> order for the application to run.
>
> Can anyone help me out on this?
>
>[/color] | | | | re: Only administrators can run my application
I re-installed Windows 2000 SP4 and the .NET Framework 1.1 and restarted the
server and the problem was solved.
I don't know what was the problem but that worked out for me.
Thanks for the interest anyway
"Charles Green" <charles_m_green@msn.com> wrote in message
news:Ondi1$1LEHA.1388@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hello Andreas,
>
> What does your application do when you login as a user (terminate, freeze,
> etc)?
> How are you handling your application security?
> Are you using application based security, NTFS permissions, etc?
> Is your application calling resources that require admin rights?
>
> I would manually debug this by entering a few lines of code to check the
> following
> and then output the value of each one to the screen using a message box or
> label on your form.
> *Authentication - Validate User
> *Authorization - Does the user have rights to the resources needed
> (Datasource, etc)
>
> This is where I would start at least.
>
> Charles
> Charles AT CharlesGreen DOT ORG
>[color=green]
> >"Andreas C. Andreou" <asoft@andreou.com> wrote
> >in message news:ejILNF1LEHA.2736@TK2MSFTNGP11.phx.gbl...
> > I am new to dotnet programming and I face a problem with a Windows Forms
> > application i did when I try to run it on a Windows 2000 Terminal[/color][/color]
Server.[color=blue][color=green]
> > The application can be run only by administrators of the server. All[/color][/color]
other[color=blue][color=green]
> > users cannot, I can see the process starting and after a while the[/color][/color]
process[color=blue][color=green]
> > ends with no error and no message displayed. I assume that the problem[/color][/color]
has[color=blue][color=green]
> > something to do with security but I cannot figure out what I have to do[/color][/color]
in[color=blue][color=green]
> > order for the application to run.
> >
> > Can anyone help me out on this?
> >
> >[/color]
>
>[/color] | | | | re: Only administrators can run my application
I re-installed Windows 2000 SP4 and the .NET Framework 1.1 and restarted the
server and the problem was solved.
I don't know what was the problem but that worked out for me.
Thanks for the interest anyway
"Charles Green" <charles_m_green@msn.com> wrote in message
news:Ondi1$1LEHA.1388@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hello Andreas,
>
> What does your application do when you login as a user (terminate, freeze,
> etc)?
> How are you handling your application security?
> Are you using application based security, NTFS permissions, etc?
> Is your application calling resources that require admin rights?
>
> I would manually debug this by entering a few lines of code to check the
> following
> and then output the value of each one to the screen using a message box or
> label on your form.
> *Authentication - Validate User
> *Authorization - Does the user have rights to the resources needed
> (Datasource, etc)
>
> This is where I would start at least.
>
> Charles
> Charles AT CharlesGreen DOT ORG
>[color=green]
> >"Andreas C. Andreou" <asoft@andreou.com> wrote
> >in message news:ejILNF1LEHA.2736@TK2MSFTNGP11.phx.gbl...
> > I am new to dotnet programming and I face a problem with a Windows Forms
> > application i did when I try to run it on a Windows 2000 Terminal[/color][/color]
Server.[color=blue][color=green]
> > The application can be run only by administrators of the server. All[/color][/color]
other[color=blue][color=green]
> > users cannot, I can see the process starting and after a while the[/color][/color]
process[color=blue][color=green]
> > ends with no error and no message displayed. I assume that the problem[/color][/color]
has[color=blue][color=green]
> > something to do with security but I cannot figure out what I have to do[/color][/color]
in[color=blue][color=green]
> > order for the application to run.
> >
> > Can anyone help me out on this?
> >
> >[/color]
>
>[/color] |  | Similar .NET Framework bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,353 network members.
|