Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2695_dataset-ids/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config @ 16101

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

#2743: fixed connection string

File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
6    </sectionGroup>
7  </configSections>
8 
9  <appSettings>
10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
11  </appSettings>
12 
13  <applicationSettings>
14    <HeuristicLab.Services.Hive.DataAccess.Settings>
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>
23 
24  <connectionStrings>
25    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
26    <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Hive-3.3" />
27  </connectionStrings>
28
29  <system.web>
30    <authentication mode="Forms" />
31    <compilation debug="true" targetFramework="4.5">
32      <assemblies>
33        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
34      </assemblies>
35    </compilation>
36    <httpRuntime maxRequestLength="2097151"/>
37    <membership defaultProvider="AspNetSqlMembershipProvider">
38      <providers>
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" />
43      </providers>
44    </membership>
45    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
46      <providers>
47        <clear />
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>
53        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
54      </controls>
55    </pages>
56  </system.web>
57 
58  <system.serviceModel>
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>
74    <bindings>
75      <netTcpBinding>
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" />
81          <security mode="TransportWithMessageCredential">
82            <message clientCredentialType="UserName" />
83          </security>
84        </binding>
85      </netTcpBinding>
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>
96    </bindings>
97    <behaviors>
98      <serviceBehaviors>
99        <behavior name="DefaultServiceBehavior">
100          <serviceMetadata httpGetEnabled="true" />
101          <serviceDebug includeExceptionDetailInFaults="true" />
102          <serviceCredentials>
103            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
104            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
105              membershipProviderName="AspNetSqlMembershipProvider" />
106          </serviceCredentials>
107          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
108            roleProviderName="AspNetSqlRoleProvider" />
109          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false"
110            messageAuthenticationAuditLevel="SuccessOrFailure" />
111          <serviceThrottling maxConcurrentCalls="100" />
112        </behavior>
113      </serviceBehaviors>
114    </behaviors>
115    <diagnostics performanceCounters="All">
116      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
117    </diagnostics>
118  </system.serviceModel>
119
120  <system.webServer>
121    <directoryBrowse enabled="true"/>
122    <handlers>
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"/>
125    </handlers>
126  </system.webServer>
127</configuration>
Note: See TracBrowser for help on using the repository browser.