Search

You searched for the word(s): userid:804706

Matching Posts

  • Re: IIS stop working

    Do you have sites running in different .net framework versions on the server? I mean to say that if you have sites running in .net framework 1.1 and 2.0 on the server? If yes then check if you are using seperate application pools for the different sites or not. Which version of IIS and Windows you are running on the server ?
    Posted to Installation and Setup (Forum) by johnly on 9/30/2009
  • Re: Fixed Length Random Number

    Try this code. This may be what you are looking for Public Function GenerateRandomString() As String Randomize() GenerateRandomString = Format(Int(999999999 * Rnd()), "000000000") End Function Please mark as 'Answer' if it helps
    Posted to Web Forms (Forum) by johnly on 9/28/2009
  • Re: Regular Expression for a TextBox

    This Regular expression will work for sure: [0-9]\.[0|5]$ Please mark as 'Answer' if it helps
    Posted to Web Forms (Forum) by johnly on 9/22/2009
  • Re: Session Expire Automatically :(

    I found this article very useful. It explains the usage of sessions very well http://www.codeproject.com/KB/aspnet/ExploringSession.aspx I am sure it will definetely help you
    Posted to State Management (Forum) by johnly on 9/11/2009
  • Re: Session Expire Automatically :(

    Hi I am not clear about this. However, I'd like to explain that I was talking about moving the session from InProc . this is the IIS memory (managed by inetinfo.exe). So whenever IIS pre-compiles a page then the worker process is recycled. This drops the session states. So, keeping the session in in-process is not reliable in production environment. It is ok for development or staging environment. To solve this we can use out-of-process memory to store the session variables. Using StateServer
    Posted to State Management (Forum) by johnly on 9/11/2009
  • Re: Session Expire Automatically :(

    As I always say, move the session from InProc to StateServer. InProc store the session in IIS memory. The session gets dropped whenever the worker process recycles. StateServer is a seperate worker process which manages the sessionstate very well Change your code like this <sessionState mode=" StateServer " timeout="60"></sessionState> Revert all other settings to their default values. This will make your session available for 1 hour (60 mins) without timing out. Please
    Posted to State Management (Forum) by johnly on 9/9/2009
  • Re: web page no reaction on button click

    Are you using regular expression or any client side validation script on the page? If yes then check whether it has some error or not.
    Posted to Web Forms (Forum) by johnly on 9/9/2009
  • Re: web page no reaction on button click

    Ok I have seen your code. I found that you are using Requiredfieldvalidators (client side validation). This is not working as expected thats why your page is not postbacking. Try the following: Login to the server where IIS is running Go to start menu>run type the following command C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727 \aspnet_regiis.exe -i Change v2.0.50727 this to appropriate version number folder of the .net framework. 4. open command prompt and type the following command iisreset
    Posted to Web Forms (Forum) by johnly on 9/9/2009
  • Re: Session expiring too fast!

    It is good that you are using cookies now. But using session has its own benefits. So If you are planning to give one more try before switching over to cookies then read below. I am not sure where you are storing the session. If you are storing it in InProc then I will suggest you to move it into another worker process. I will suggest you to change your code like this in web.config file. <sessionState mode=" StateServer " cookieless="false" timeout="200"/> Here
    Posted to State Management (Forum) by johnly on 8/27/2009
  • Re: Retrieve values from dynamic controls

    Try this Dim c As TextBox instead of Dim c As New TextBox
    Posted to Web Forms (Forum) by johnly on 8/27/2009
Page 1 of 6 (54 items) 1 2 3 4 5 Next > ... Last »