I am getting a similar error to
http://www.red-gate.com/MessageBoard/vi ... ht=service

I can't start the profiler against a service. I don't get any errors saying that a service didn't start.

Is there anyway to check which service is causing the problem?
jbloomer
0

Comments

8 comments

  • Brian Donahue
    I think that this may be a problem unrelated to the paths specified for the service executable in the registry, and I'm looking at possible bugs in the .NET Framework.

    Can you please run ECHO %TMP% and ECHO %TEMP% from a command prompt? I think there could be an issue with the path canonicalization using TMP for storage and running into a problem with the path to temporary storage.

    Please let us know what the results of these commands are.

    Thanks.
    Brian Donahue
    0
  • jbloomer
    I get...

    C:\DOCUME~1\JAMES~1.BLO\LOCALS~1\Temp


    ...for both.
    jbloomer
    0
  • Brian Donahue
    I was afraid of that. That looks like a valid path to me! What about in the system area of the environment variables? The ANTS Profiler service may be running this bit of code and it runs as localsystem by default!

    Thanks...
    Brian Donahue
    0
  • jbloomer
    If I go via System Properties both TEMP and TMP have

    C:\WINDOWS\TEMP

    ...in the System Variables section

    The user variables are in my "Local Settings\Temp" directory.
    jbloomer
    0
  • Brian Donahue
    Hello James,

    I've sent you a program to try via email. Please let me know if you don't get it.
    Brian Donahue
    0
  • jbloomer
    Got it. Replied via email.
    jbloomer
    0
  • Brian Donahue
    Yes, it appears that there is a duplicate path to the executable required to run one of your services. I've replied to your email.
    Brian Donahue
    0
  • jbloomer
    Everything's working fine now I've sorted out that errant service.

    Thanks for your help.
    jbloomer
    0

Add comment

Please sign in to leave a comment.