Win2003 - Application cannot run except under Administrator

G

Guest

Hello,

I am having an issue with a VB 6 application. The application is very
simple and takes information entered into a form and builds a text file.
From the text file, the application loads the information into MailMerge
fields on a Word document and generates a long letter (legal) that is then
saved and printed by the user.

This application does not have a traditional install with registry hooks,
rather it is simply an executable that reads a DLL and uses an ActiveX
control (.OCX file). When running over Terminal Services 2003 (server 2003
service pack 1), the application works perfectly fine under an administrative
account, but it crashes on the Merge function when trying to open MS Word
(2000) and placing the data into the MailMerge fields, this being used by
normal users and Power Users.

I have attempted to run the application under the 'Relaxed Security'
configuration (considering it is technically a 'legacy' application) and have
even given the "Remote Desktop Users", "Users", and "Power Users" groups Full
Control to the folder where the application lives and all files inside of it.
The application still fails on the merge.

I have tried to run the application under Windows 2000 compatibility and
have enabled the feature for "non-administrators to run this program". I
even added a registry hook for the application as suggested in a KB article
(sorry I don't have the number handy). Nothing seems to allow it to work for
me and I was wondering if anyone had any suggestions (our only other idea was
to port the application to VB.NET). I am new to Terminal Services 2003 /
Server 2003, but am an MSCE for WinNT4/Win2K.
 
V

Vera Noest [MVP]

As with all permission-related issues, I would download FileMon
and RegMon from http://www.sysinternals.com/. Run them as
administrator (when no user is connected), start a TS session as a
normal user and try to run the application.

FileMon and RegMon will show you all "access denied" errors that
occur, so that you can give your users the necessary permissions
on a file-to file or Registry subkey basis.

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
*----------- Please reply in newsgroup -------------*
 
G

Guest

Forgot to mention the error message:

Runtime Error '75'
Path/File Access Error


The application is currently installed to a local folder on that server and
I have tried to run it from the network on a shared folder. I figured this
might have something to do with the 'enhanced security configuration' of IE
too.
 
G

Guest

Not that I ran these two utilities and they have revealed nothing about the
problem. All permissions appear to be accurate and the program, as
previously stated, has no registry hooks so the only registry keys it tries
to access are default keys used by Windows.

Any other ideas?
 
J

J Porter

Jeff....If you're listening or anyone else... Did you resolve this problem??

I just ran into a similar situation where I updated a piece of working
software (a POS app) and now regular users cannot run the application, but a
supervisor can. It's weird.

The app gives an error message Cannot find import; a particular DLL is
missing, corrupt, or wrong version.

Additionally, I copied (copied as opposed to running an install) the
application from one server to another and the 2nd server runs just fine.

I admit that I did this app update a little differently than I usually do. I
updated it while the server was in Application mode. I really don't see why
that would have made a diff... but.....

Win2000 Standard Server
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top