Fix parte mancante web.config

nuovo installer zip
This commit is contained in:
Samuele E. Locatelli
2015-04-15 17:01:39 +02:00
parent 9d32766e3f
commit 2a9ea4ef2a
9 changed files with 26 additions and 32 deletions
@@ -2,5 +2,7 @@
<parameters>
<setParameter name="IIS Web Application Name" value="Default Web Site/WebGIM" />
<setParameter name="GIMConnectionString-Web.config Connection String" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
<setParameter name="GIM_Data.Properties.Settings.GIMConnectionString-Web.config Connection String" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<setParameter name="GIM_Data.Properties.Settings.GIMConnectionString-Web.config Connection String" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
<setParameter name="GIMConnectionString-Deployment Connection String" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
<setParameter name="GIM_Data.Properties.Settings.GIMConnectionString-Deployment Connection String" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
</parameters>
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<sitemanifest>
<DbDacFx path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Somaschini\AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
<DbDacFx path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Somaschini\AutoScripts\GIM_Data.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
<IisApp path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Somaschini\Package\PackageTmp" />
<setAcl path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Somaschini\Package\PackageTmp" setAclResourceType="Directory" />
<setAcl path="C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\WebGIM\GIM_site\obj\Somaschini\Package\PackageTmp" setAclUser="anonymousAuthenticationUser" setAclResourceType="Directory" />
Binary file not shown.
+7 -1
View File
@@ -591,6 +591,12 @@
<Content Include="menu.aspx" />
<Content Include="mtzProg.aspx" />
<Content Include="priorita.aspx" />
<Content Include="Properties\PublishProfiles\Alumat_Winlab.pubxml.user" />
<Content Include="Properties\PublishProfiles\Somaschini-ITA.pubxml.user" />
<Content Include="Properties\PublishProfiles\Somaschini-USA.pubxml.user" />
<Content Include="Properties\PublishProfiles\Ufficio-ENG %28.17%29.pubxml.user" />
<Content Include="Properties\PublishProfiles\Ufficio-ITA %28IIS02%29.pubxml.user" />
<Content Include="Properties\PublishProfiles\WinLab.pubxml.user" />
<Content Include="Reports\EN\logo.png" />
<Content Include="Reports\logo.png" />
<Content Include="Reports\ZZ_ALUM\logo.png" />
@@ -605,7 +611,7 @@
<None Include="Properties\PublishProfiles\Somaschini-ITA.pubxml" />
<None Include="Properties\PublishProfiles\Somaschini-USA.pubxml" />
<None Include="Properties\PublishProfiles\Ufficio-ENG %28.17%29.pubxml" />
<None Include="Properties\PublishProfiles\Ufficio-ITA %28.218%29.pubxml" />
<None Include="Properties\PublishProfiles\Ufficio-ITA %28IIS02%29.pubxml" />
<None Include="Properties\PublishProfiles\WinLab.pubxml" />
<Content Include="setupTgt.bat" />
<Content Include="Reports\WebGIM_PowerPivot.xlsx" />
@@ -10,18 +10,14 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<ExcludeApp_Data>True</ExcludeApp_Data>
<DesktopBuildPackageLocation>C:\Users\samuele\Documents\Visual Studio 2012\Projects\WebGIM\Projects\ReleaseClienti\Somaschini ITA\GIM_site.zip</DesktopBuildPackageLocation>
<PackageAsSingleFile>true</PackageAsSingleFile>
<DeployIisAppPath>Default Web Site/WebGIM</DeployIisAppPath>
<PublishDatabaseSettings>
<Objects xmlns="">
<ObjectGroup Name="GIMConnectionString" Order="1" Enabled="False">
<Destination Path="" />
<ObjectGroup Name="GIMConnectionString" Order="1" Enabled="True">
<Destination Path="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
@@ -30,8 +26,8 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<Source MatchValue="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" MatchAttributes="$(UpdateFromConnectionStringAttributes)" />
</UpdateFrom>
</ObjectGroup>
<ObjectGroup Name="GIM_Data.Properties.Settings.GIMConnectionString" Order="2" Enabled="False">
<Destination Path="" />
<ObjectGroup Name="GIM_Data.Properties.Settings.GIMConnectionString" Order="2" Enabled="True">
<Destination Path="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" />
<Object Type="DbDacFx">
<PreSource Path="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" includeData="False" />
<Source Path="$(IntermediateOutputPath)AutoScripts\GIM_Data.Properties.Settings.GIMConnectionString_IncrementalSchemaOnly.dacpac" dacpacAction="Deploy" />
@@ -42,13 +38,17 @@ by editing this MSBuild file. In order to learn more about this please visit htt
</ObjectGroup>
</Objects>
</PublishDatabaseSettings>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>True</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
</PropertyGroup>
<ItemGroup>
<MSDeployParameterValue Include="$(DeployParameterPrefix)GIMConnectionString-Web.config Connection String">
<UpdateDestWebConfig>False</UpdateDestWebConfig>
<ParameterValue>Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16</ParameterValue>
</MSDeployParameterValue>
<MSDeployParameterValue Include="$(DeployParameterPrefix)GIM_Data.Properties.Settings.GIMConnectionString-Web.config Connection String">
<UpdateDestWebConfig>False</UpdateDestWebConfig>
<ParameterValue>Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16</ParameterValue>
</MSDeployParameterValue>
</ItemGroup>
</Project>
+1 -11
View File
@@ -3,17 +3,6 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an atrribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<appSettings>
<add key="dominio" value="SOMASCHINI" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="_logLevel" value="5" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
@@ -31,6 +20,7 @@
</appSettings>
<connectionStrings>
<add name="GIMConnectionString" connectionString="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</connectionStrings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
+2 -8
View File
@@ -125,12 +125,7 @@
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
<add key="AppConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer" />
<add key="TestAppConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer" />
<!--<add key="PermessiConnectionString" value="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!" />
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GimUsaAnag;Persist Security Info=True;User id=sa;Password=ViaDante16!" />
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GimUsaVoc;Persist Security Info=True;User id=sa;Password=ViaDante16!" />
<add key="AppConnectionString" value="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=ViaDante16!" />
<add key="TestAppConnectionString" value="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=ViaDante16!" />-->
<add key="TestAppConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer" />
<!--valori default-->
<add key="defaultMatr" value="0000" />
<add key="defaultCodImp" value="0000" />
@@ -185,8 +180,7 @@
</appSettings>
<connectionStrings>
<add name="GIMConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<!--<add name="GIMConnectionString" connectionString="Data Source=10.74.82.17\SQLExpress;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=ViaDante16!" providerName="System.Data.SqlClient" />-->
<add name="GIM_Data.Properties.Settings.GIMConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
Binary file not shown.
@@ -3,7 +3,7 @@
<parameter name="GIMConnectionString-Web.config Connection String" description="GIMConnectionString Connection String used in web.config by the application to access the database." defaultValue="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" tags="SqlConnectionString">
<parameterEntry kind="XmlFile" scope="C:\\Users\\samuele\\Documents\\Visual\ Studio\ 2012\\Projects\\WebGIM\\Projects\\WebGIM\\GIM_site\\obj\\Somaschini\\Package\\PackageTmp\\Web\.config$" match="/configuration/connectionStrings/add[@name='GIMConnectionString']/@connectionString" />
</parameter>
<parameter name="GIM_Data.Properties.Settings.GIMConnectionString-Web.config Connection String" description="GIM_Data.Properties.Settings.GIMConnectionString Connection String used in web.config by the application to access the database." defaultValue="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" tags="SqlConnectionString">
<parameter name="GIM_Data.Properties.Settings.GIMConnectionString-Web.config Connection String" description="GIM_Data.Properties.Settings.GIMConnectionString Connection String used in web.config by the application to access the database." defaultValue="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" tags="SqlConnectionString">
<parameterEntry kind="XmlFile" scope="C:\\Users\\samuele\\Documents\\Visual\ Studio\ 2012\\Projects\\WebGIM\\Projects\\WebGIM\\GIM_site\\obj\\Somaschini\\Package\\PackageTmp\\Web\.config$" match="/configuration/connectionStrings/add[@name='GIM_Data.Properties.Settings.GIMConnectionString']/@connectionString" />
</parameter>
</parameters>