Tristan MSDN Keen
2008-12-05 19:29:02 UTC
I'm trying to introduce Symbol/Source server technology at our company, and
almost succeeding. I've a custom source indexing process (we use MKS - not
supported by the main distrib) correctly indexing the PDBs - srctool -x
successfully gets the source required. I also use symstore to put the
indexed PDB/EXE/DLLs in a network share. VS 2008 will download from the
symbol store to it's local cache, load the symbols and bring up the "Do you
trust this command?" dialog in response to the source indexing. The output
window shows it then running the command, which is successful & I can see the
downloaded file on the disk.
But then VS 2008 refuses to play, and says it's cannot access the source
code it just downloaded - bringing up the open file dialog or merely the
"Source code cannot be displayed" stop box. I'm at a loss as to how to
proceed - any suggestions?
The srcsrv block from the example I'm using is below:
SRCSRV: ini ------------------------------------------------
VERSION=1
VERCTRL=wget 1
DATETIME=05/12/2008 13:52:25
SRCSRV: variables ------------------------------------------
HTTP_ADDR=http://gwsmon/SrcServer/
HTTP_PROG=s:\testing\wget.exe
SRCSRVTRG=%targ%\%var2%\%var3%\%var5%\%var6%\%var7%\%var6%
SRCSRVCMD=%HTTP_PROG%
"%HTTP_ADDR%?Project=%var4%&Member=%var6%&Version=%var7%"
-O %SRCSRVTRG%
SRCSRV: source files ---------------------------------------
f:\godalming\Projects\IdentityProvider\Source\IntegrationTests\Integration.cs*ATLAS*NoCheckpoint*$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests*IntegrationTests*Integration.cs*1.2
SRCSRV: end ------------------------------------------------
It gets downloaded to
C:\DOCUME~1\username\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\IntegrationTests\Integration.cs\1.2,
where I obviously have full rights so it's not a real file access security
issues.
The output window when this runs shows (some odd spaces in the filename -
significant or just display oddity?):
SRCSRV: s:\testing\wget.exe
"http://gwsmon/SrcServer/?Project=$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests&Member=Integration.cs&Version=1.2"
-O
"C:\DOCUME~1\tristan\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\IntegrationTests\Integration.cs\1.2\Integration.cs"
--19:23:21--
http://gwsmon/SrcServer/?Project=$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests&Member=Integration.cs&Version=1.2
=>
`C:\DOCUME~1\username\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\Inte
grationTests\Integration.cs\1.2\Integration.cs'
Resolving gwsmon... done.
Connecting to gwsmon[150.150.154.17]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,347 [text/plain]
0K . ..
Thanks in advance for any help!
Tristan.
almost succeeding. I've a custom source indexing process (we use MKS - not
supported by the main distrib) correctly indexing the PDBs - srctool -x
successfully gets the source required. I also use symstore to put the
indexed PDB/EXE/DLLs in a network share. VS 2008 will download from the
symbol store to it's local cache, load the symbols and bring up the "Do you
trust this command?" dialog in response to the source indexing. The output
window shows it then running the command, which is successful & I can see the
downloaded file on the disk.
But then VS 2008 refuses to play, and says it's cannot access the source
code it just downloaded - bringing up the open file dialog or merely the
"Source code cannot be displayed" stop box. I'm at a loss as to how to
proceed - any suggestions?
The srcsrv block from the example I'm using is below:
SRCSRV: ini ------------------------------------------------
VERSION=1
VERCTRL=wget 1
DATETIME=05/12/2008 13:52:25
SRCSRV: variables ------------------------------------------
HTTP_ADDR=http://gwsmon/SrcServer/
HTTP_PROG=s:\testing\wget.exe
SRCSRVTRG=%targ%\%var2%\%var3%\%var5%\%var6%\%var7%\%var6%
SRCSRVCMD=%HTTP_PROG%
"%HTTP_ADDR%?Project=%var4%&Member=%var6%&Version=%var7%"
-O %SRCSRVTRG%
SRCSRV: source files ---------------------------------------
f:\godalming\Projects\IdentityProvider\Source\IntegrationTests\Integration.cs*ATLAS*NoCheckpoint*$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests*IntegrationTests*Integration.cs*1.2
SRCSRV: end ------------------------------------------------
It gets downloaded to
C:\DOCUME~1\username\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\IntegrationTests\Integration.cs\1.2,
where I obviously have full rights so it's not a real file access security
issues.
The output window when this runs shows (some odd spaces in the filename -
significant or just display oddity?):
SRCSRV: s:\testing\wget.exe
"http://gwsmon/SrcServer/?Project=$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests&Member=Integration.cs&Version=1.2"
-O
"C:\DOCUME~1\tristan\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\IntegrationTests\Integration.cs\1.2\Integration.cs"
--19:23:21--
http://gwsmon/SrcServer/?Project=$23d$3A$2FMKS$2FProjects$2FRepo$2FExperian.Qas.Lib$23IdentityProvider$2FIntegrationTests&Member=Integration.cs&Version=1.2
=>
`C:\DOCUME~1\username\LOCALS~1\APPLIC~1\SOURCE~1\ATLAS\NoCheckpoint\Inte
grationTests\Integration.cs\1.2\Integration.cs'
Resolving gwsmon... done.
Connecting to gwsmon[150.150.154.17]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,347 [text/plain]
0K . ..
Thanks in advance for any help!
Tristan.