ASP.NET - session time out problem in my inline website

Asked By mani
15-Jul-11 10:28 AM
hi..here is my webcofig...ther i set session tiome out ...but even my page getting session time out with in 3 minutes..what will be the problem..

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web sql5.znetindia.net 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>
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <appSettings />
  <connectionStrings>
    <add name="MyDbCon" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;" />
    <add name="NewMatrimonyConnectionString" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;" />
    <add name="karthickmatrimonyConnectionString" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;"
    providerName="System.Data.SqlClient" />
    <add name="karthickmatrimonyConnectionString2" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;"
    providerName="System.Data.SqlClient" />
    <add name="karthickmatrimonyConnectionString3" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;"
    providerName="System.Data.SqlClient" />
    <add name="karthickmatrimonyConnectionString4" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;"
    providerName="System.Data.SqlClient" />
    <add name="karthickmatrimonyConnectionString5" connectionString="Data Source=216.12.222.82;Initial Catalog=Karthickmatrimony;UID=KarthickDB;PWD=Admin123;"
    providerName="System.Data.SqlClient" />
  </connectionStrings>


    <system.web>
        <!--
        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.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            </assemblies>
        </compilation>
        <!--
        The <authentication> section enables configuration
        of the security authentication mode used by
        ASP.NET to identify an incoming user.
      -->
    <authentication mode="Forms">

    <forms loginUrl="index.aspx" timeout="1440">
    </forms>

    </authentication>
   
        <pages>
            <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>
        <httpHandlers>
            <remove verb="*" path="*.asmx" />
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </httpModules>
    </system.web>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="OptionInfer" value="true" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
        </compilers>
    </system.codedom>
    <!--
      The system.webServer section is required for running ASP.NET AJAX under Internet
      Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules>
            <remove name="ScriptModule" />
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </modules>
      <directoryBrowse enabled="false" />
      <defaultDocument>
        <files>
          <clear />
          <add value="Default.htm" />
          <add value="Default.asp" />
          <add value="index.htm" />
          <add value="index.html" />
          <add value="iisstart.htm" />
          <add value="default.aspx" />
          <add value="index.aspx" />
        </files>
      </defaultDocument>
    </system.webServer>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyidentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyidentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
  <system.net>
    <mailSettings>
    <smtp deliveryMethod="Network" from="karthickmatrimony3@gmail.com">
      <network defaultCredentials="false" host="smtp.gmail.com" port="587" userName="karthickmatrimony3@gmail.com" password="test1234567" />
    </smtp>
    </mailSettings>
  </system.net>  
  <location path="PublicRegistration.aspx">
    <system.web>     
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="Registration.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>
    </system.web>
  </location>
  <location path="Public_view.aspx">
    <system.web>     
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>     
    </authorization>
    </system.web>
  </location>
  <location path="Public_listview.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="Public_FullView.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>     
    </system.web>
  </location>
  <location path="Public_EditFullView.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="mastersubcaste.aspx">
    <system.web>     
    <authorization>
      <allow roles=" admin"/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="mastermothertongue.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="Mastercaste.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="listview.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
 
  <location path="changepassword.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>      
    </authorization>     
    </system.web>
  </location>
  <location path="Admin_view.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "/>
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <!--<location path="Admin_FullView.aspx">
    <system.web>
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>
    </system.web>
  </location>-->
  <!--<location path="FullView.aspx">
    <system.web>
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>
    </system.web>
  </location>-->
  <location path="website_FullView.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>     
    </system.web>
  </location>
  <location path="Website_changepassword.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>    
    </system.web>
  </location>
  <location path="Website_Editlistview.aspx">
    <system.web>    
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>     
    </system.web>
  </location>
  <location path="Website_view.aspx">
    <system.web>     
    <authorization>
      <allow roles=" admin "   />
      <deny users="?"/>
    </authorization>     
    </system.web>
  </location>
 
 
 
         <system.web>    
            <!--<customErrors mode="Off"/>-->
    <customErrors mode="On" defaultRedirect="index.aspx">
      <!--<error statusCode="404" redirect="custom404.aspx"/>-->
    </customErrors>
        </system.web>    
    </configuration>
  Ravinder Jamgotre replied to mani
15-Jul-11 10:54 AM
set timeout to 20; if error still persists set to 3000
Create New Account
help
Interview Questions for .NET Framework This article is specially for the users those are in development or want to be Microsoft.Jet.OLEDB.4.0;”+ _ “Data Source = C: \ Documents and Settings \ User \ My Documents \ Visual Studio Projects \ 1209 \ db1.mdb”+ _ “User ID = Admin;”+ _ “Password = ;”); Dim cmd As New OleDbCommand in Sql server as var_name int How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging the debugging in the application level for this Edit the following trace value in web.config file Enable trace enabled = true. If there is a calendar control to be included in
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B the implementation to Remoting Client? (A) What are LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime? (A) Which config file has all the supported channels / protocol? (A) How can you specify remoting parameters using Config files? (A) Can Non-Default constructors be used with Single Call SAO? (I) How can A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET
cannot display the webpage". plz help me! You can make use of inbuilt tool of visual studio publishing tool. The Publish Web Site tool precompiles the files in a Web site project System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS: / / servername / W3SVC). For information VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3536567 System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 try to reset your IIS and your dot net
Migration from ASP to ASP.net How to convert ASP site to ASP.NET site using C# http: / / www.asp.net / downloads / archived-v11 / migration-assistants / asp-to-aspnet hi, ASP.NET framework is very much different from unstrucured ASP and there is no correct way to
but i dint get. . .anybody pls tell me. . .thanks in advance Hi Want to install ASP.NET AJAX and get started ? see this solution Installing ASP.NET AJAX Introduction This topic describes how to install Microsoft ASP.NET AJAX. It also describes how to install the optional ASP.NET 2.0 AJAX Futures CTP and optional ASP.NET AJAX Control Toolkit. ASP.NET AJAX