Improve company productivity with a Business Account.Sign Up

x
?
Solved

How can I get vs 2008 application setup to work right for all users?

Posted on 2011-03-23
3
Medium Priority
?
418 Views
Last Modified: 2012-05-11
I apologize as I have absolutely NO idea how to tag this post or what zones to use.

I have inherited an application that has a problem i need to fix.  When installed the normal, everyday user gets a blank form and an error saying that it cannot right to the event log when logging in.  If an administrator logs in first, though, its does its event log fine and from that point on any normal user that logs in has no prolbem.

Talking to the client, I know that they don't allow a regular user to write to the event log and I know that the same program in other client locations works fine without issue.

I was told, by the person that I inherited it from that when a manager logs in, it sets some registry value and that's why anyone else can use it after; however, there is nothing that touches the registry keys in the code or in the setup project.  

What are my options for getting around this?  Or is it all on the client?
0
Comment
Question by:RichardRiga
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 total points
ID: 35202727
I think I pretty much understand what the application is doing, what exactly it writes in the registry; if I'm right, then your option is to create in advance the registry key that administrator creates. Can be done easily by group policy's machine start script. But you said "there is nothing that touches the registry keys in the code or in the setup project" . How do you know? did you run regmon or process monitor to monitor what the application is doing when it's started by administrator?
0
 
LVL 1

Author Comment

by:RichardRiga
ID: 35202820
no i just went through the code manually and checked out the registry editor in the setup project.  I'll try your suggestions, thank you!  i'll let you know tomorrow as the client is already out for the night.
0
 
LVL 1

Author Closing Comment

by:RichardRiga
ID: 35233726
Thank you very much.  The tools helped immensely.  I actually went with a tool called What Changed?
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In short, I will be giving a guide on how to install UNMS on a virtual machine in hyper-v and change the default port for security (you don’t need to have a server, since Windows 10 supports hyper-v)
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question