-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
130 lines (129 loc) · 5.1 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.net>
<mailSettings>
<smtp>
<network
host="mail.nameofyourserver.com"
port="25"
userName="username@nameofyourserver.com
password="password"
/>
</smtp>
</mailSettings>
</system.net>
<appSettings/>
<connectionStrings>
<!--
<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\database.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
-->
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Server=serveripaddress,1558;Database=databasename;uid=databaseuser;pwd=password;"/>
<add name="ConnectionString" connectionString="Server=serveripaddress,1558;Database=databasename;uid=databaseuser;pwd=password;"/>
</connectionStrings>
<system.web>
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider"/>
<add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqlServer"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
applicationName="/"
requiresUniqueEmail="false"
minRequiredPasswordLength="1"
minRequiredNonalphanumericCharacters="0"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
<siteMap defaultProvider="MainSiteMap">
<providers>
<add name="MainSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Web.sitemap"/>
</providers>
</siteMap>
<authorization>
<allow roles="Administrator"/>
</authorization>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<roleManager enabled="true"/>
<compilation debug="true"/>
<!--
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
<add namespace="System.Collections"/>
<add namespace="System.Collections.Specialized"/>
<add namespace="System.Configuration"/>
<add namespace="System.Text"/>
<add namespace="System.Text.RegularExpressions"/>
<add namespace="System.Web"/>
<add namespace="System.Web.Caching"/>
<add namespace="System.Web.SessionState"/>
<add namespace="System.Web.Security"/>
<add namespace="System.Web.Profile"/>
<add namespace="System.Web.UI"/>
<add namespace="System.Web.UI.WebControls"/>
<add namespace="System.Web.UI.WebControls.WebParts"/>
<add namespace="System.Web.UI.HtmlControls"/>
</namespaces>
</pages>
-->
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Forms"/>
<anonymousIdentification enabled="true" cookieName="BetterNeighbours" cookieTimeout="43200" cookiePath="/" cookieSlidingExpiration="true" cookieProtection="All" cookieless="UseCookies"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
-->
<customErrors mode="Off"/>
<profile>
<properties>
<add name="PackRats" type="int" />
<add name="LastPack" type="int" defaultValue="0" />
<group name="Defaults">
<add name="DefaultState" defaultValue="1" type="int"/>
<add name="DefaultCounty" type="int" defaultValue="1" />
<add name="DefaultZip" type="int" />
<add name="ModeratorGroup" type="string" />
<add name="DefaultCategory" type="int" />
</group>
<group name="CurrentLocation">
<add name="CurrentState" allowAnonymous="true"/>
<add name="CurrentCounty" allowAnonymous="true"/>
<add name="CurrentCategory" allowAnonymous="true"/>
<add name="CurrentItem" allowAnonymous="true"/>
</group>
</properties>
</profile>
</system.web>
</configuration>