Program won't run under administrator

Program won't run under administrator

Anonymous
Not applicable
474 Views
7 Replies
Message 1 of 8

Program won't run under administrator

Anonymous
Not applicable
I am in the process of developing a program to make Inventor files that have been put into a Pro-IntraLink vault readable by Inventor and then change them back so they can be put back into the vault and versioned up. I have the program working but have run into a problem that I have never encountered before.
I can run the program as long as I am not signed in as a adminstrator. If I sign in as a Power User, the program runs fine. If I sing in as adminstrator then the program stops with the following error. (Module: frmMain -- Procedure: Form_Load -- Error Number: 380 -- Error Description: Invalid Procedure Value).
I have tried installing under both Administator and Power User with the same results. I could understand if I could run under Adminstrator and not Power User but I can't figure out why I can run under Power User and not Adminstrator. Most if not all of the operators using this type of program will be under administrators. Can anyone help me on this? I have tried this on 3 machines at one location and on another machine at a different location with the same results. Any help or suggestion of things to try would be greatly appreciated.
Thanks
Ken Dale
[email protected]
0 Likes
475 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable
Forgot to add for the above post:
Running Windows 2000.
Have tried with both Inventor R5.0 and R5.3. All service packs have been up to date.

Thanks
Ken Dale
0 Likes
Message 3 of 8

Anonymous
Not applicable
Just for grins, try running SFC logged in as
administrator.  You will need to run this from a CMD window.  It
checks the windows files to make sure that they are the correct versions. 
You will need access to your windows system CD.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Forgot
to add for the above post:
Running Windows 2000.
Have tried with both
Inventor R5.0 and R5.3. All service packs have been up to date.

Thanks
Ken Dale

0 Likes
Message 4 of 8

Anonymous
Not applicable
Charles:

Thanks for replying. I run the SFC and it didn't show any problems. I did this on 2 different machines. I uninstalled the program and run the SFC and it showed no problems. I reinstalled the program and ran it. I could not get it to run under adminstrator rights. I re-ran the SFC program but it still showed no problems. I have checked the properties on my program and the "DLL" and "TBL" files and they all seem to be Okay. On a long shot I have even run the "Dependency Walker" program and did not find anything there either.
Any other suggestions that you might have I will gladly try.

Thanks
Ken
0 Likes
Message 5 of 8

Anonymous
Not applicable
Does it only fail as administrator as in does it fail with any other
user logins? I don't know why I ask but wonder if it has something to
do with what name it was installed with or if there is something
getting precedence in the administrators profile. Is it possible that
it is something in the Pro/Intralink API which avoids calls under an
administrator profile. What happens if you create a new account with
full administrator rights but has a different name?

kadway wrote:

> Charles:
>
> Thanks for replying. I run the SFC and it didn't show any problems.
> I did this on 2 different machines. I uninstalled the program and
> run the SFC and it showed no problems. I reinstalled the program and
> ran it. I could not get it to run under adminstrator rights. I
> re-ran the SFC program but it still showed no problems. I have
> checked the properties on my program and the "DLL" and "TBL" files
> and they all seem to be Okay. On a long shot I have even run the
> "Dependency Walker" program and did not find anything there either.
> Any other suggestions that you might have I will gladly try.
>
> Thanks
> Ken
0 Likes
Message 6 of 8

Anonymous
Not applicable
Charles:

I have only tried it with the administrator name. When I go into work this morning I will set up another account with administrator rights and see if the program will work.
At this point, I am making no reference to the Pro/Intralink API or program at all. I only work with the files after they are checked out of the Pro/Intralink vault. I do make a reference to the Inventor Apprentice. I have discovered that if I take all references to the Inventor Apprenctice, then the program will work. I need this reference for something that I am adding later as the program developes. This is the first time that I have tried to use the Inventor Apprentice, so it is not impossible that I am doing something there that is messing it up althought I have looked and relooked at it. I will set up an administrator account with a different name and try it.
Thanks
Ken
0 Likes
Message 7 of 8

Anonymous
Not applicable
Charles:

I set up an account with administrator rights under a different name. The results are the same, the program will not run under administrator rights. As I said in the previous post that if I take all references to the Inventor Apprentice out, the problem goes away. I can find no information on the Inventor Apprentice that would indicate the problem that I have. I could see that if I was addressing the Apprentice wrong that I could/would be getting other errors and the program crashing or failing to run but the adminstrator thing has me pulling what little hair I have left out. I need to solve this before moving into the final stages of the program as this will be a probem later on. I have no problem sending the code to you if you wish.
Thanks
Ken
0 Likes
Message 8 of 8

Anonymous
Not applicable
If you want to send me the code, that would be fine. The only problem
I might have is I don't have Pro/Intralink so if you are making calls
into one of its type libraries I might not be able to help.

Sorry for taking so long to get back, I haven't been keeping up with
the newsgroups as much lately.



kadway wrote:

> Charles:
>
> I set up an account with administrator rights under a different
> name. The results are the same, the program will not run under
> administrator rights. As I said in the previous post that if I take
> all references to the Inventor Apprentice out, the problem goes
> away. I can find no information on the Inventor Apprentice that
> would indicate the problem that I have. I could see that if I was
> addressing the Apprentice wrong that I could/would be getting other
> errors and the program crashing or failing to run but the
> adminstrator thing has me pulling what little hair I have left out.
> I need to solve this before moving into the final stages of the
> program as this will be a probem later on. I have no problem sending
> the code to you if you wish.
> Thanks
> Ken
0 Likes