Advertisement
Guest User

Untitled

a guest
Jun 15th, 2015
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3. For more information on how to configure your ASP.NET application, please visit
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7.  
  8.  
  9.  
  10. <configSections>
  11. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  12. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  13.  
  14. </configSections>
  15.  
  16.  
  17.  
  18.  
  19. <appSettings>
  20. <add key="ProductImagePath" value="\ProductImages\"/>
  21. <add key="ProductDocumentPath" value="D:\ProductDocs\"/>
  22. <add key="GridPageSize" value="15"/>
  23. <add key="OrderChangeHours" value="3"/>
  24. <add key="WCFUrl" value="http://81.7.137.20/FTBSServices.Frontend/Services/" />
  25.  
  26. <!--<add key="EmailSmtp" value="relay.jay.net" />
  27. <add key="EmailSmtpPort" value="25" />
  28. <add key="EmailFrom" value="info@freetrailer.dk" />
  29. <add key="EmailSmtpPassword" value="password124154" />-->
  30.  
  31. <add key="EmailSmtp" value="smtp.gmail.com" />
  32. <add key="EmailSmtpPort" value="587" />
  33. <add key="EmailSmtpSSL" value="true" />
  34. <add key="EmailFrom" value="magcwsmtp@gmail.com" />
  35. <add key="EmailSmtpPassword" value="magin123@smtptestgmail" />
  36. <add key="EmailTo" value="mag@crossworkers.com" />
  37.  
  38.  
  39.  
  40.  
  41. </appSettings>
  42. <connectionStrings>
  43. <add name="FTBSConn" connectionString="Data Source=81.7.137.20;Initial Catalog=Woogi_Frontend;Persist Security Info=True;User Id=sa; Password=Test01.FreeTrailer" />
  44.  
  45. <add name="LoggingConnection" connectionString="Data Source=81.7.137.20;Initial Catalog=FTBSLoggingFrontend;Persist Security Info=True;User Id=sa; Password=Test01.FreeTrailer" />
  46. </connectionStrings>
  47.  
  48.  
  49. <system.web>
  50. <customErrors mode="On" defaultRedirect="~/Public/Index.aspx" />
  51.  
  52. <caching>
  53. <outputCacheSettings>
  54. <outputCacheProfiles>
  55. <add name="Cache5mins" duration="300"
  56. varyByParam="none" />
  57. </outputCacheProfiles>
  58. </outputCacheSettings>
  59. </caching>
  60.  
  61. <authentication mode="Forms" >
  62.  
  63. <forms name="FTBSFORMSAUTH"
  64. loginUrl="~/Public/Index.aspx"
  65. timeout="25"
  66. defaultUrl="~/ControlPanel/Default.aspx"
  67. cookieless="UseCookies"
  68. protection="All"
  69. slidingExpiration="true" >
  70. </forms>
  71. </authentication>
  72.  
  73. <authorization>
  74. <deny users="?" />
  75. <allow users="*" />
  76. </authorization>
  77. <compilation debug="true" targetFramework="4.5">
  78. <assemblies>
  79. <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
  80. <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
  81. <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
  82. </assemblies>
  83. </compilation>
  84. <httpRuntime targetFramework="4.5"/>
  85. <pages>
  86. <namespaces>
  87. <add namespace="System.Web.Optimization"/>
  88. <add namespace="Microsoft.AspNet.Identity"/>
  89. </namespaces>
  90. <controls>
  91. <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
  92. <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
  93. </controls>
  94. </pages>
  95. <membership defaultProvider="FTBSMemberShipProvider">
  96. <providers>
  97.  
  98. <add
  99. name="FTBSMemberShipProvider"
  100. type="System.Web.Security.SqlMembershipProvider"
  101. connectionStringName="FTBSConn"
  102. applicationName="FTBS"
  103. enablePasswordRetrieval="true"
  104. enablePasswordReset="true"
  105. requiresQuestionAndAnswer="false"
  106. requiresUniqueEmail="false"
  107.  
  108. passwordFormat = "Encrypted"
  109. maxInvalidPasswordAttempts = "5"
  110. minRequiredPasswordLength = "8"
  111. minRequiredNonalphanumericCharacters = "0"
  112. passwordAttemptWindow = "10"
  113. passwordStrengthRegularExpression = ""
  114. />
  115.  
  116. </providers>
  117. </membership>
  118. <profile>
  119. <providers>
  120. <!--
  121. ASP.NET Membership Profile is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
  122. -->
  123. <clear/>
  124. </providers>
  125. </profile>
  126. <roleManager enabled="true" cacheRolesInCookie="true" cookieName="FTBSROLES" defaultProvider="FTBSRoleProvider">
  127. <!--
  128. ASP.NET Membership Role is disabled in this template. Please visit the following link http://go.microsoft.com/fwlink/?LinkId=301889 to learn about the ASP.NET Membership support in this template
  129. -->
  130. <providers>
  131. <add connectionStringName="FTBSConn"
  132. applicationName="/"
  133. name="FTBSRoleProvider"
  134. type="System.Web.Security.SqlRoleProvider"/>
  135. </providers>
  136. </roleManager>
  137. <machineKey validationKey="0ED1C7624B77467EF4487E232A423CEAECFAD2C1487B1370A026330CE902DCF34092F16465EACACB90D585D5431E5FBC29E7871E33EE85FBC5A1570F78EE602F"
  138. decryptionKey="4D55ACE9A5349AA0448B361698A9D894D7C23C5FAF34FB98FF43E13083FF3623"
  139. validation="SHA1" decryption="AES" />
  140. <!--
  141. If you are deploying to a cloud environment that has multiple web server instances,
  142. you should change session state mode from "InProc" to "Custom". In addition,
  143. change the connection string named "DefaultConnection" to connect to an instance
  144. of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
  145. -->
  146. <sessionState mode="InProc" customProvider="DefaultSessionProvider" timeout="30">
  147. <providers>
  148. <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
  149. </providers>
  150. </sessionState>
  151. <httpHandlers>
  152. <add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" />
  153. </httpHandlers>
  154. <httpModules>
  155.  
  156. </httpModules>
  157. </system.web>
  158. <system.webServer>
  159.  
  160.  
  161. <staticContent>
  162. <remove fileExtension=".woff" />
  163. <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
  164. <remove fileExtension=".woff2" />
  165. <mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
  166. <remove fileExtension=".ttf" />
  167. <mimeMap fileExtension=".ttf" mimeType="application/x-font-ttf" />
  168.  
  169. <remove fileExtension=".eot" />
  170. <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
  171. </staticContent>
  172. <handlers>
  173. <add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit" />
  174. </handlers>
  175. <modules>
  176. <remove name="FormsAuthenticationModule"/>
  177. </modules>
  178. <validation validateIntegratedModeConfiguration="false"/>
  179. </system.webServer>
  180. <runtime>
  181. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  182. <dependentAssembly>
  183. <assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35"/>
  184. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
  185. </dependentAssembly>
  186. </assemblyBinding>
  187. </runtime>
  188. <entityFramework>
  189. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  190. <parameters>
  191. <parameter value="v11.0"/>
  192. </parameters>
  193. </defaultConnectionFactory>
  194. <providers>
  195. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
  196. </providers>
  197. </entityFramework>
  198.  
  199.  
  200.  
  201. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement