"Object reference not set" with shadow folders on

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
matt

"Object reference not set" with shadow folders on

Post by matt » Fri Sep 24, 2004 3:10 pm

Howdy

I'm having a problem getting shadow folders working on Windows 2003. I'm running whatever the latest version is you guys have available for download. I'm using identity impersonation, and everything is working except shadow folders. I can set up the shadow in the admin tool, but files are never replicated to it. When I look in the c:\windows\temp\VaultShadowFolderService.txt file, this is what's there:

9/24/2004 2:06:20 PM <generic>: [<null>:3268] Vault Shadow Folder encountered a problem: Object reference not set to an instance of an object.

I should add I'm shadowing to a local path, not a UNC path. I'm not on a domain. I set up a separate account for impersonation using the KB articles you guys have set up, but that didn't work. I also tried using the local administrator account for impersonation, but that didn't work either.

Any help would be appreciated!

-matt

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Sat Sep 25, 2004 6:16 am

Matt:

Since you are using Windows 2003, there is an alternative to using identity impersontaion -

You can create an Application Pool dedicted specifically for Vault Shadow Folders. Within this new application pool, you can set the identity to use the custom .Net account.

Once the App Pool has been created / configured, re-configure the VaultShadowFolder virtual directory to use the new app pool.
Jeff Clausius
SourceGear

Guest

Post by Guest » Fri Oct 01, 2004 9:23 am

Hi--

I did that (and commented out the <identity impersonate> bit in the web.config file in the VaultShadowFolder directory), but now I get the following error when I click the "Configure Shadow Folders" button under "Repository Options":

"The Shadow Folder Web Service could not be contacted. The operation has been cancelled. The request failed with HTTP status 503: Service Unavailable."

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Oct 01, 2004 9:35 am

Let's check this out from the server machine. From a browser goto:

http://localhost/vaultshadowfolder/vaul ... rvice.asmx

What does the page look like?
Jeff Clausius
SourceGear

Guest

Post by Guest » Mon Oct 04, 2004 9:00 am

Thanks for the reply. This is what I get when I go to that URL on the vault server computer:

"Service Unavailable"

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Mon Oct 04, 2004 9:24 am

It looks as if something has gone astray with the setup.

Within IIS Admin Tool, can you check to see if you have the virtual directory VaultShadowFolder, and it is mapped to your installation of Vault Server's sub directory aptly named VaultShadowFolder?
Jeff Clausius
SourceGear

Post Reply