<?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> <system.webServer> <httpErrors errorMode="Detailed" /> <asp scriptErrorSentToBrowser="true"/> <rewrite> <rules> <rule name="enquiry" stopProcessing="true"> <match url="^enquiry$" /> <action type="Rewrite" url="/ViewPost.aspx" /> </rule> </rules> </rewrite> </system.webServer> <connectionStrings> <add name="ConnectionString" connectionString="Data Source=cdatabse.db.1111111.hostedresource.com; Initial Catalog=databsename; User ID=xxx; Password='xxx';"/> </connectionStrings> <system.web> <customErrors mode="Off"/> <compilation debug="true"/> <httpRuntime requestValidationMode="2.0" /> <!--to avoid error 'A potentially dangerous Request.Form value was detected from the client' rich text box--> <!-- to handle asp:ListView handling starts--> <pages controlRenderingCompatibilityVersion="3.5" validateRequest="false"> <!--for supporting rich text box validate request 'false'--> <!--controlRenderingCompatibilityVersion for if Validation Controls Lost Their Red Color--> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </controls> </pages> <!--to handle asp:ListView handling ends--> </system.web> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)