v4.1.4: difference in web.config files

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

Moderator: SourceGear

Post Reply
kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

v4.1.4: difference in web.config files

Post by kha » Thu Apr 30, 2009 1:00 pm

My production server web.config: which is in domain "Domain1"
<!-- IMPERSONATEPROCESS-identity impersonate="true" userName="AAAAAAAA" password="BBBBBBBB"/>IMPERSONATEPROCESS- -->

My staging web.config: which is not in domain, just in WORKGROUP
<identity impersonate="true" userName="domain2\runtask" password="password"/>

My question: Why are they different? When installed Vault server on these 2 servers, I choosed "custom" for IIS Process Model
Last edited by kha on Thu Apr 30, 2009 1:23 pm, edited 1 time in total.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: v4.1.4:

Post by Beth » Thu Apr 30, 2009 1:22 pm

The answer should be found in your vault_install.log on each machine. By default that is in %username%/local settings/temp if it's Windows 2003. Compare those two and see what you have.
Beth Kieler
SourceGear Technical Support

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: difference in web.config files

Post by kha » Thu Apr 30, 2009 1:31 pm

what should I look for in the install log file?

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: difference in web.config files

Post by kha » Thu Apr 30, 2009 1:35 pm

This is what I found:

Production server vault_install.log:

Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user SERV-SOURCECTRL\ASPNET
Using SERV-SOURCECTRL\ASPNET as the user.
GrantPermissions completed successfully.
Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user NT AUTHORITY\NETWORK SERVICE
Using NT AUTHORITY\NETWORK SERVICE as the user.
GrantPermissions completed successfully.
Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user SERV-SOURCECTRL\IWAM_SERV-SOURCECTRL
Using SERV-SOURCECTRL\IWAM_SERV-SOURCECTRL as the user.
Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user SERV-SOURCECTRL\IUSR_SERV-SOURCECTRL
Using SERV-SOURCECTRL\IUSR_SERV-SOURCECTRL as the user.
Adding NT AUTHORITY/NETWORK SERVICE to IIS_WPG
Exception The specified account name is already a member of the local group. (Exception from HRESULT: 0x80070562)


This is from staging server vault_install.log

Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user domain2\runtask
Error granting permissions. Some or all identity references could not be translated.
Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user VMSGTEST\IWAM_VMSGTEST
Using VMSGTEST\IWAM_VMSGTEST as the user.
Adding permission to 'C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\Temporary ASP.NET Files\\vaultshadowfolder' for user VMSGTEST\IUSR_VMSGTEST
Using VMSGTEST\IUSR_VMSGTEST as the user.
Adding domain2/runtask to IIS_WPG
Exception A member could not be added to or removed from the local group because the member does not exist. (Exception from HRESULT: 0x8007056B)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: v4.1.4: difference in web.config files

Post by Beth » Thu Apr 30, 2009 1:50 pm

The top one would usually come from choosing the machine IIS process model. Do you have a user similar to domain2\runtask anywhere in the production server Vault install log?
Beth Kieler
SourceGear Technical Support

kha
Posts: 221
Joined: Fri Sep 12, 2008 8:25 am

Re: v4.1.4: difference in web.config files

Post by kha » Fri May 01, 2009 11:38 am

Beth,

You are right. The production server did not use "custom" (but "machine") for IIS Process Model. domain2/runtask user is not in anywhere in vault_install.log on production server.

I found out that since SQL server and Vault Server are not in the same domain, the "custom" method doesn't work for us. So, we used "machine" method instead.

Thanks for your help.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: v4.1.4: difference in web.config files

Post by Beth » Fri May 01, 2009 2:31 pm

Thanks for the update.
Beth Kieler
SourceGear Technical Support

Post Reply