<?xml version="1.0" encoding="UTF-8"?> <!-- 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"> <connectionStrings /> <system.web> <httpRuntime maxRequestLength="1024000" /> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true"> <assemblies> <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> </assemblies> </compilation> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows" /> <!-- 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="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> <customErrors mode="RemoteOnly" defaultRedirect="404.htm"> <error statusCode="403" redirect="404.htm" /> <error statusCode="404" redirect="404.htm" /> </customErrors> </system.web> <appSettings> <!--Connect To MSSQL Database--> <add key="Server" value="." /> <add key="Database" value="111" /> <add key="UID" value="222" /> <add key="PWD" value="333" /> <!--End--> </appSettings> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.html" /> <add value="index.aspx" /> <add value="default.aspx" /> <add value="default.html" /> </files> </defaultDocument> <httpErrors> <remove statusCode="405" subStatusCode="-1" /> <remove statusCode="406" subStatusCode="-1" /> <remove statusCode="412" subStatusCode="-1" /> <remove statusCode="500" subStatusCode="-1" /> <remove statusCode="502" subStatusCode="-1" /> <remove statusCode="501" subStatusCode="-1" /> <remove statusCode="403" subStatusCode="-1" /> <remove statusCode="401" subStatusCode="-1" /> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="401" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="403" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="501" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="502" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="500" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="412" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="406" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> <error statusCode="405" prefixLanguageFilePath="" path="/404.htm" responseMode="ExecuteURL" /> </httpErrors> <staticContent> <remove fileExtension=".mp4" /> <mimeMap fileExtension=".mp4" mimeType="video/mp4"/> </staticContent> </system.webServer> </configuration>