CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Join Date
    Nov 2003
    Location
    Sweden
    Posts
    129
    I dint recieve anything how about you try sending to [email protected]
    or
    [email protected]
    Might work
    Regards,
    Alexei

  2. #17
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    166
    I have sent it to [email protected] 30 minutes ago.

    Isn't it the right address?

    I will send it again to Your other address [email protected].


    Thanks again for help!!

  3. #18
    Join Date
    Nov 2003
    Location
    Sweden
    Posts
    129
    both of them are right addresses actually... :S
    hmmz... io never recieved it on hotmails email...

    and i wish a bit more help that i really am im not really good with services.. so its quite hard for me to see whats wrong...
    Just trying to be a Windows (works quite fine after 1 liter of wine actually) and see what really is wrong there...

    I will take a look at your code and try to figure out whats wrong..
    Regards,
    Alexei

  4. #19
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    166
    A sip of wine?

    That's a good idea!

    Doesn't solve problems but makes them look smaller

  5. #20
    Join Date
    Nov 2003
    Location
    Sweden
    Posts
    129
    After a liter you just stop noticing them
    Actually im having a problem with even installing your service :S

    I just cant find the freaking installutil... it simply doesnt exist on my PC :S

    If you dont really mind i think i have to stop for today with C# and programming in general...

    I have a date tomorrow and im kinda dizzy right now...

    do NOT do this at home kids : Programming and drinking wine
    The result will be Chernobyl or a new Sasser worm..

    I might not even make sence right now.. but tomorrow i will take a look at your project and try to help...

    Ich spreche kine deutch, aber:
    "Auf Wiedersehen, Mikey"

    Talk to you later tomorrow i think..
    Regards,
    Alexei

  6. #21
    Join Date
    Aug 2001
    Location
    Germany
    Posts
    166
    "Danke und Schlafe gut"

    Thanks for today and good night!

  7. #22
    Join Date
    Jul 2004
    Posts
    3

    May be this helps?

    I was having the same problem and searching for solution I found your mails....in the end I solved on my own by changing from local system to administrator of the domain the account used in the property page of the service......can thi be of any help?

    Today i'm also looking for a sample.vbs file that enable me to obtain the size of specific file trhou the network....I can easily do it with a very simple objFSO.GetFile command but it works only on local file or on mapped network drive, what I would like to do is use the network name: \\computer_name\c:\file_name......got nothing?

  8. #23
    Join Date
    Aug 2004
    Posts
    1

    Thanks iposeai

    Your solution works very well.

  9. #24
    Join Date
    Sep 2004
    Posts
    1

    Talking Re: Starting Windows Service fails: 'access denied'

    I had the same problem with starting a basic windows service I created in vb.net. This is what worked for me. The folder where the executable resided security was setup inproperly. When I checked the properties page for the folder and went to the security tab and clicked on everyone. Everyone only had list folders rights when I changed this to full control, I was able to run the service as a localsystem.

  10. #25
    Join Date
    Oct 2004
    Posts
    1

    Wink Re: Starting Windows Service fails: 'access denied'

    Add these lines to your projectinstaller class in the InitializeComponent method:

    this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;

    this.serviceProcessInstaller1.Password = null;
    this.serviceProcessInstaller1.Username = null;

    This will allow your service to run under the local account.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured