Shadow copy service
Moderator: SourceGear
Shadow copy service
Hi
I have set this up as per the instructions but it still doesn't seem to work.
We have the directory on another server using uncand the permissions seem ok. I used the identity tool on the shadows copy service web.config file, and it appeared to do the things its supposed to do.
This is the error in the log file:
25/10/2005 09:13:38 <generic>: [<No Name>:5328] Shadow Folder could not initialize the Client Instance for Repository ID 3. Requested registry access is not allowed.
Thanks
Dan
I have set this up as per the instructions but it still doesn't seem to work.
We have the directory on another server using uncand the permissions seem ok. I used the identity tool on the shadows copy service web.config file, and it appeared to do the things its supposed to do.
This is the error in the log file:
25/10/2005 09:13:38 <generic>: [<No Name>:5328] Shadow Folder could not initialize the Client Instance for Repository ID 3. Requested registry access is not allowed.
Thanks
Dan
OK so we have installed the update to 3.1.3 with no problems - all is working except the shadow copy service.
Unfortunately I can't get any information form the log as it is not being updated. Event viewer gives this error.
Error writing start up string to log file . Exception was: The key 'logFilePath' does not exist in the appSettings configuration section.
So I have added:
<add key="LogFilePath" value="%SYSTEMROOT%\Temp" />
to the web.config file to try and force the location of the file but no go.
So what am I missing with shadow copy using url and custom account, and how do i get a log file so I can trouble soot.
Regards
Dan
Unfortunately I can't get any information form the log as it is not being updated. Event viewer gives this error.
Error writing start up string to log file . Exception was: The key 'logFilePath' does not exist in the appSettings configuration section.
So I have added:
<add key="LogFilePath" value="%SYSTEMROOT%\Temp" />
to the web.config file to try and force the location of the file but no go.
So what am I missing with shadow copy using url and custom account, and how do i get a log file so I can trouble soot.
Regards
Dan
Some questions:
a) How did you install the Vault server? Was it with a custom .Net account or did you use the ASP.Net account?
b) Look for logFilePath in Shadow's web.config file (notice the case). What is the setting there?
c) If you are using identity impersonation in Shadow Folder, how did you switch accounts? With the release of Vault 3.1.3, there was an updated Identity Switcher.
I'll need to check to see if that tool was uploaded to the Support Forum.
a) How did you install the Vault server? Was it with a custom .Net account or did you use the ASP.Net account?
b) Look for logFilePath in Shadow's web.config file (notice the case). What is the setting there?
c) If you are using identity impersonation in Shadow Folder, how did you switch accounts? With the release of Vault 3.1.3, there was an updated Identity Switcher.
I'll need to check to see if that tool was uploaded to the Support Forum.
Jeff Clausius
SourceGear
SourceGear
The installation was done using the asp.net account.
There is no setting for LogFile Path in the shadow's web.config file. Only the line i added that doesn't seem to work.
I used the impersonator previously released.
Are you saying that I should start from scratch with the settings? If so where can i get the original web.config file from?
Thanks
Dan
There is no setting for LogFile Path in the shadow's web.config file. Only the line i added that doesn't seem to work.
I used the impersonator previously released.
Are you saying that I should start from scratch with the settings? If so where can i get the original web.config file from?
Thanks
Dan
Jeff mentioned the IdentitySwitcher earlier -- you can download it from this link:
http://support.sourcegear.com/viewtopic.php?t=2953
It was updated November 2, so it should be the latest version.
http://support.sourcegear.com/viewtopic.php?t=2953
It was updated November 2, so it should be the latest version.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Dan:
To enable logging, add the following to your web.config's <appSettings> element. Note the path and file name are both specified for this setting.
Note, you can change the path to the log file, but make sure the Custom .Net account has permissions to that directory.
Once that has been added, use the instructions on the link Linda has provided to configure the rest of Shadow Folder.
To enable logging, add the following to your web.config's <appSettings> element. Note the path and file name are both specified for this setting.
Code: Select all
<add key="logFilePath" value="%WINDIR%\TEMP\SGShadowFolder\vaultshadowfolderservice.txt" />
Once that has been added, use the instructions on the link Linda has provided to configure the rest of Shadow Folder.
Jeff Clausius
SourceGear
SourceGear