Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config @ 15033

Last change on this file since 15033 was 14749, checked in by jkarder, 8 years ago

#2743: fixed connection string

File size: 6.6 KB
RevLine 
[14748]1<?xml version="1.0" encoding="utf-8"?>
[6983]2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
[11623]5      <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
[6983]6    </sectionGroup>
7  </configSections>
[14748]8 
[6983]9  <appSettings>
[11623]10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
[6983]11  </appSettings>
[14748]12 
[6983]13  <applicationSettings>
[11623]14    <HeuristicLab.Services.Hive.DataAccess.Settings>
[6983]15      <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
16        <value>00:05:00</value>
17      </setting>
18      <setting name="EventLogName" serializeAs="String">
19        <value>HL.Hive</value>
20      </setting>
21    </HeuristicLab.Services.Hive.DataAccess.Settings>
22  </applicationSettings>
[14748]23 
[6983]24  <connectionStrings>
[14748]25    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
[14749]26    <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Hive-3.3" />
[6983]27  </connectionStrings>
[11623]28
[6983]29  <system.web>
[14748]30    <authentication mode="Forms" />
[11623]31    <compilation debug="true" targetFramework="4.5">
[6983]32      <assemblies>
[14748]33        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
[6983]34      </assemblies>
35    </compilation>
[14748]36    <httpRuntime maxRequestLength="2097151"/>
37    <membership defaultProvider="AspNetSqlMembershipProvider">
[6983]38      <providers>
[14748]39        <clear />
40        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
41             requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
42             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
[6983]43      </providers>
44    </membership>
[14748]45    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[6983]46      <providers>
[14748]47        <clear />
[6983]48        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
49      </providers>
50    </roleManager>
51    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
52      <controls>
[11623]53        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
[6983]54      </controls>
55    </pages>
56  </system.web>
[14748]57 
[6983]58  <system.serviceModel>
[14748]59    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
60    <services>
61      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Hive.HiveService">
62        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService"
63          name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
64        <endpoint address="net.tcp://localhost:8001/Hive-3.3/HiveService.svc"
65          binding="netTcpBinding" bindingConfiguration="NetBinding_IHiveService"
66          name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
67        <host>
68          <baseAddresses>
69            <add baseAddress="http://localhost:8000/Hive-3.3/HiveService.svc" />
70          </baseAddresses>
71        </host>
72      </service>
73    </services>
[6983]74    <bindings>
[9665]75      <netTcpBinding>
[14748]76        <binding name="NetBinding_IHiveService" receiveTimeout="00:20:00"
77          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
78          maxReceivedMessageSize="2147483647" portSharingEnabled="true">
79          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
80            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
[9665]81          <security mode="TransportWithMessageCredential">
[14748]82            <message clientCredentialType="UserName" />
[9665]83          </security>
84        </binding>
85      </netTcpBinding>
[14748]86      <wsHttpBinding>
87        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:20:00"
88          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
89          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
90            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
91          <security>
92            <message clientCredentialType="UserName" />
93          </security>
94        </binding>
95      </wsHttpBinding>
[6983]96    </bindings>
97    <behaviors>
98      <serviceBehaviors>
[14748]99        <behavior name="DefaultServiceBehavior">
100          <serviceMetadata httpGetEnabled="true" />
101          <serviceDebug includeExceptionDetailInFaults="true" />
[6983]102          <serviceCredentials>
[14748]103            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
104            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
105              membershipProviderName="AspNetSqlMembershipProvider" />
[6983]106          </serviceCredentials>
[14748]107          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
108            roleProviderName="AspNetSqlRoleProvider" />
109          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false"
110            messageAuthenticationAuditLevel="SuccessOrFailure" />
111          <serviceThrottling maxConcurrentCalls="100" />
[6983]112        </behavior>
113      </serviceBehaviors>
114    </behaviors>
[14748]115    <diagnostics performanceCounters="All">
116      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
117    </diagnostics>
[6983]118  </system.serviceModel>
[14748]119
[6983]120  <system.webServer>
[11623]121    <directoryBrowse enabled="true"/>
[6983]122    <handlers>
[11623]123      <remove name="ChartImageHandler"/>
124      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
[6983]125    </handlers>
[11623]126  </system.webServer>
[14748]127</configuration>
Note: See TracBrowser for help on using the repository browser.