473,320 Members | 1,936 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,320 software developers and data experts.

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?
Nov 22 '05 #1
2 1910
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
"Andreas C. Andreou" <as***@andreou.com> wrote
in message news:ej**************@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?

Nov 22 '05 #2
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" <ch*************@msn.com> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl...
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
"Andreas C. Andreou" <as***@andreou.com> wrote
in message news:ej**************@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?


Nov 22 '05 #3

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

Similar topics

10
by: Blake | last post by:
I have created an Access2K front end application that connects to a SQLServer2K backend. I use this vba code to create the connection from the Access app: Dim strConnect As String 'make sure...
4
by: Andreas C. Andreou | last post by:
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...
1
by: Ghulam | last post by:
I am using an Access 2k ADP (Converted into ADE) front end and SQL 2K on the backend. Although I taught pretty much myself into these concept with the help of some publications and users group...
11
by: Jeff Robichaud | last post by:
Are there any security issues having the ASPNET user account member of Administrators ? Is it a good practice ?
10
by: Bob | last post by:
This a bit of a second post on same subject, my apologies. IsinRole function only works with built-in roles. If I create a new group on my domain controller then add an existing user to that...
23
by: BH Jodo Kast | last post by:
Hi, I found this handy script and I'm trying to convert it to VB.NET. It pops up a list of members in the Administrators/Builtin group. Can't seem to get DirectorySearcher or DirectoryEntry...
3
by: rdemyan via AccessMonster.com | last post by:
My application is split into a front end and back end. Each user has their own copy of the front end. There are a few forms I only want to be open for one user at a time. So I've implemented the...
0
by: Kevin L | last post by:
I recently release a new version of a VB.NET application and installed it on a Windows 2000 Server. This server is a Terminal Services/Citrix server. After installing the new version of my...
1
by: Dave | last post by:
I want to produce a program that can only be run by a user with administrator privileges (ie a member of the BUILTINS/Adminstrators group - I think. Correct me if I'm getting my terminology wrong)....
2
by: lmlaster | last post by:
I have 2 webs under my default web running win2003 1. A front-page intranet 2. A asp (not .net) web is fine Both allow anonomous access. My front page web always gets a BLANK...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.