Advertisement
Guest User

WebConfig

a guest
Jan 15th, 2011
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.98 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3.    Note: As an alternative to hand editing this file you can use the
  4.    web admin tool to configure settings for your application. Use
  5.    the Website->Asp.Net Configuration option in Visual Studio.
  6.    A full list of settings and comments can be found in
  7.    machine.config.comments usually located in
  8.    \Windows\Microsoft.Net\Framework\vx.x\Config
  9. -->
  10. <configuration>
  11.     <appSettings/>
  12.     <connectionStrings>
  13.         <add name="cn" connectionString="server=.\sqlexpress;database=cakephp;integrated security=true;uid=sarin;pwd=******"/>
  14.     </connectionStrings>
  15.     <system.web>
  16.         <!--
  17.            Set compilation debug="true" to insert debugging
  18.            symbols into the compiled page. Because this
  19.            affects performance, set this value to true only
  20.            during development.
  21.        -->
  22.         <compilation debug="true" targetFramework="4.0">
  23.         </compilation>
  24.         <!--
  25.            The <authentication> section enables configuration
  26.            of the security authentication mode used by
  27.            ASP.NET to identify an incoming user.
  28.        -->
  29.         <authentication mode="Windows"/>
  30.         <!--
  31.            The <customErrors> section enables configuration
  32.            of what to do if/when an unhandled error occurs
  33.            during the execution of a request. Specifically,
  34.            it enables developers to configure html error pages
  35.            to be displayed in place of a error stack trace.
  36.  
  37.        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  38.            <error statusCode="403" redirect="NoAccess.htm" />
  39.            <error statusCode="404" redirect="FileNotFound.htm" />
  40.        </customErrors>
  41.        -->
  42.         <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/></system.web>
  43.     <!--
  44.        The system.webServer section is required for running ASP.NET AJAX under Internet
  45.        Information Services 7.0.  It is not necessary for previous version of IIS.
  46.    -->
  47. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement