New topic: 

Installing a RB Service on Windows 7

<http://forums.realsoftware.com/viewtopic.php?t=34399>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        dscl          Post subject: Installing a RB Service on Windows 
7Posted: Fri Jun 25, 2010 2:54 pm                         
Joined: Fri Apr 30, 2010 11:02 am
Posts: 17                I'm testing a service I made (Studio 2010R2.1) and 
have ran into some problems on some test machines.  I'm installing the service 
using the following command

sc.exe create MyService type= own start= auto binpath= c:\MyService.exe

And to my surprise I get permission denied errors.  So although I am an admin 
account (I'm able to install other software TightVNC Server using their 
installer - and it works) I had to enable the winshell with administrator 
privileges.  This time the service would successfully install, but when I would 
start the service it would immediately stop.  Still thinking it might be a 
permissions thing of some sort I next tried this.

1. Click Start and type CMD in the Start search box
2. Right click on CMD in the list and click on "Run as administrator"
3. Type the following command: net user administrator /active:yes
 
Restart the computer and you should see an "Administrator" account. Login

Now I deleted the service and re-added it ad this tie everything worked 
flawlessly.  The service starts, stays running, and does everything it is 
supposed to.

So my question is why?  Why could my normal admin account install another 
service (albeit via an installer), but not my RealBasic service?  Is it 
something to do with RB or with the way I was installing it?  I realize this 
may be out of scope for this forum, but I'm hoping someone has an idea.

Thanks!   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to