Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:688040
More Search Options
RSS Available
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
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
redundent
on 1/25/2007
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
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
redundent
on 1/25/2007
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
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
redundent
on 10/24/2006
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
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
redundent
on 10/23/2006
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
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
redundent
on 10/23/2006
Page 1 of 1 (9 items)
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online