Forum Discussion

Tomato's avatar
14 years ago

Profile on substituted disk

Hi,



My project is deployed on a subst disk. It is located e.g. at D:\Work\Proj, however we create a substituted disk e.g. W and we start VS from this W disk. Also the build is located in this disk - DLL, EXE, PDBs etc. In the past I had no problem to profile my project with AQTime5 or 4 (can't remember, it was quite a long time ago) on my WinXP 32bit OS. Now I'm on Win7 x64 OS, the project is already 64bit. The old version of AQTime does not run on x64 OS so I tried the latest AQTime7 version.



When I try to add a DLL to the AQTime project the well known "You are about to add the ABC.DLL module located on the mapped drive to the project...". I say Yes for this message so the path is converted to real path - this message was displayed with older version as well. Then I run the project. The "Specified Host application" dialog appears - here I specify the W:\BIN\APP.EXE path (what is on a substitute disk). The run continues, but immediately stops with message "The filename, directory name, or volume label syntax is incorrect.". The Event Viewer has only "Failed to start the project" message.



Unfortunately I can't use the real path because the developement version of the project expects the exact W substituted disk.

Any idea how could I get this work?



Thanks,

Tom
  • gaditya's avatar
    gaditya
    New Contributor
    Hi,



    We use substituted/logical drives as well and I am seeing the same error message running AQTime 6.50.498.64. Do you have a solution for this issue?



    Error msg: "The filename, directory name, or volume label syntax is incorrect."



    Thanks,

    Aditya

  • Hi Aditya,

    We are not aware of any issues in AQtime that could result in such a problem. Do you run AQtime as an administrator? Do you have full permissions for the mapped network folder? Which operating system is installed on your machine?
  • gaditya's avatar
    gaditya
    New Contributor
    Hi Irene,



    Yes, I am an administrator on my machine. I run Win 7. Note, that this is NOT a mapped network drive. We use drive substitution using the "subst" command to map a folder to a particular drive name. Say, c:\prod\v101 is mapped to p:\.



    I was able to workaround temporarily by running my product and attaching to it for the problem I was looking at, but this may not always be possible.



    Thanks,

    Aditya

  • Hi Aditya,

    I have used the subst command to map the C:\Users\Public\Documents\AQtime 7 Samples\Unmanaged\Allocation\VC2005 folder and tried to reproduce the problem. I have not faced any problems when profiling the sample. Could you please do the same and let me know your results?