Search

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

Matching Posts

  • Re: Null Reference Exception in SessionStateModule

    Does anyone know of a way to fix this besides turning off sessions or unintstalling the update?
    Posted to State Management (Forum) by redundent on 8/14/2007
  • Re: Null Reference Exception in SessionStateModule

    Rex, Thanks for your reply. The session state is currently set to InProc in the web.config and machine.config. None of the pages use session so turning off session state is an option and does fix the problem but I would like to know exactly why this is happening. It only started happening on Wednesday (7/11) after the windows update for .NET was applied so I'm wondering if it could possibly have something to do with that. The exception that is thrown is logged in the event viewer of the server
    Posted to State Management (Forum) by redundent on 7/13/2007
  • Null reference exception in SessionStateModule

    Hi, I am using PageMethods and I am receiving a null reference exception in SessionStateModule.PollLockedSessionCallbacks(). It seems to be associated with Async Callbacks. If I view my web page and refresh a couple of times, the AppDomain.CurrentDomain.UnhandledException is fired with the exception below. The exception seems to occur when an Ajax call is returned. System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.SessionState.SessionStateModule.PollLockedSessionCallback
    Posted to ASP.NET AJAX Networking and Web Services (Forum) by redundent on 7/12/2007
    Filed under: session, ajax
  • Null Reference Exception in SessionStateModule

    Hi, I am receiving a null reference exception in SessionStateModule.PollLockedSessionCallbacks(). It seems to be associated with Async Callbacks. If I view my web page and refresh a couple of times, the AppDomain.CurrentDomain.UnhandledException is fired with the exception below. System.NullReferenceException: Object reference not set to an instance of an object. at System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state) at System.Threading._TimerCallback.TimerCallback_Context
    Posted to State Management (Forum) by redundent on 7/11/2007
    Filed under: Session, Async
  • Re: Maximum Length Exceeded

    Ignore this, I'm dumb. I didn't notice the maxJsonLength property and also didn't know it defaulted to around 1000 characters. Jason
  • Maximum Length Exceeded

    Hi, I am calling a server side method from javascript that returns a string. The string can be quite large. Occasionally I get an InvalidOperationException with a message of "Maximum length exceeded." Does anyone know what the maximum length is or how to get around it if possible. Thanks, Jason
  • Re: SqlDataReader returning incorrect results

    Tim, I had also thought of the static issue. The connection to the database used to be stored as a static variable and I originally thought that was the issue. I went through the painstaking process of changing that to not be static but alas it didn't solve my problem. The Sql variable is just a string containing the query to execute. If you need anymore information just let me know. Thanks
  • Re: SqlDataReader returning incorrect results

    Tim, Thanks for the reply. It doesn't seem to be the parameters because only of of the data readers actually passes parameters, most of them are just straight selects. Let me give you a little more background into the way the data is being accessed. There is a base class (DataObject) which other classes inherit from. The DataObject class takes in a database table name which then loads a NameValueCollection with the column names of that table. The select statement that does this is "SELECT
  • SqlDataReader returning incorrect results

    I am/have been having an issue with Data Access from a Sql Server database. I have a class that contains a method called "GetDataReader" which takes in a string for the query. Occasionally, the DataReader returned has completely different columns thus resulting in an error when trying to read the data. Below is a small section of code that actually creates the datareader, opens the connection and executes the reader. SqlCommand cmdReader = new SqlCommand(); SqlDataReader drReturn = null
Page 1 of 1 (9 items)