Warning: when domain credentials change - so should the ones in the Custom Account in IIS
Settings in these two files are often different for diff developers on the team. To avoid making changes every time and/or checking in your individual settings into source control do the following two steps:
1. Open IIS and go to your app pool for the site. Open Advanced Settings. Under Generate Process Model Event Log Entry find Identity. Click to change. Select Custom Account and click Set. Enter your domain credentials (what you use to log into your machine). Hhog email and domain password. All this is possible because in the ConnectionStrings file it says "Integrated Security=True;" which means that custom account takes precedence over what is in the connection strings file itself.
2. Add a user config file to the same physical location where the TDS global config is (in the source, not in the web root); named this way and with YOUR settings for Deploy Folder and Web URL. It should be automatically picked up and ignore the settings in the TDS global config file.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">DebugLocal</Configuration>
<SitecoreDeployFolder></SitecoreDeployFolder>
<SitecoreWebUrl></SitecoreWebUrl>
<InstallSitecoreConnector>False</InstallSitecoreConnector>
<SitecoreAccessGuid></SitecoreAccessGuid>
<SitecoreAssemblyPath></SitecoreAssemblyPath>
<SeperateFilesAndItems>False</SeperateFilesAndItems>
<AddDateTimeToPackageName>True</AddDateTimeToPackageName>
<RecursiveDeployAction>Ignore</RecursiveDeployAction>
<NuGetGenerateNuGetPackage></NuGetGenerateNuGetPackage>
<NuGetExePath></NuGetExePath>
<NuGetSummary></NuGetSummary>
<NuGetDescription></NuGetDescription>
<NuGetTitle></NuGetTitle>
<NuGetVersion></NuGetVersion>
<NuGetPackageId></NuGetPackageId>
<NuGetAuthors></NuGetAuthors>
<NuGetProjectUrl></NuGetProjectUrl>
<NuGetTags></NuGetTags>
<NuGetRequireLicenseAcceptance></NuGetRequireLicenseAcceptance>
<NuGetReleaseNotes></NuGetReleaseNotes>
<NuGetLanguage></NuGetLanguage>
<NuGetOwners></NuGetOwners>
<NuGetCopyright></NuGetCopyright>
<NuGetLicenseUrl></NuGetLicenseUrl>
<NuGetIconUrl></NuGetIconUrl>
<NuGetPackageImportStamp></NuGetPackageImportStamp>
<NuGetDependencies></NuGetDependencies>
<EnableValidations></EnableValidations>
<ValidationSettingsFilePath></ValidationSettingsFilePath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'DebugLocal' ">
<SitecoreDeployFolder>C:\inetpub\wwwroot\sitecore.loc.geisinger.edu\Website</SitecoreDeployFolder>
<SitecoreWebUrl>http://sitecore.loc.geisinger.edu</SitecoreWebUrl>
<InstallSitecoreConnector>True</InstallSitecoreConnector>
<SitecoreAccessGuid>d4de1230-2d1d-4af3-9d2f-da78b4084428</SitecoreAccessGuid>
<GeneratePackage>False</GeneratePackage>
<DisableFileDeployment>False</DisableFileDeployment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'DebugCD' ">
<DebugSymbols>True</DebugSymbols>
<DisableFileDeployment>True</DisableFileDeployment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'DebugCM' ">
<DebugSymbols>True</DebugSymbols>
<DisableFileDeployment>True</DisableFileDeployment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseCD' ">
<DebugSymbols>False</DebugSymbols>
<DisableFileDeployment>True</DisableFileDeployment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseCM' ">
<DebugSymbols>False</DebugSymbols>
<DisableFileDeployment>True</DisableFileDeployment>
</PropertyGroup>
</Project>
No comments:
Post a Comment