Solved

PopupControlExtender Problem

Posted on 2011-09-22
5
438 Views
Last Modified: 2012-05-12
I am using a PopupControlExtender in an asp.net web page that gets dynamic content from a page method and displays it to the user in a Panel. It works great using local file system from the VS2008 , but when it runs from the web server the PopupControlExtender is not working and the server eventlog writes an error generated from the Page_Load method:
" [System.NullReferenceException] Object reference not set to an instance of an object". I know what that means but I cannot figure out why it only happens on the web server.

1. I have confirmed that the correct AJAX dll is on the web server that is in my VS2008 project
2. Using the same data source

Please, any ideas
0
Comment
Question by:JonAlbert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 2

Expert Comment

by:cslimrun
ID: 36583973
There is not enough information here.
Try deploying pdb files with your site and see if you can at least get a line number in the error.
That might lead you to the offending code.
0
 

Author Comment

by:JonAlbert
ID: 36584364
cslimrun, It is crashing when trying to get the previousPage  object in the Page_load event. (also i am using Master Pages, don't know if that means anything)
0
 

Accepted Solution

by:
JonAlbert earned 0 total points
ID: 36590105
I figured it out, this setting was not in the web.config

      <httpModules>
                  <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </httpModules>  
0
 

Author Closing Comment

by:JonAlbert
ID: 36715416
I figured it out myself
0
 

Author Comment

by:JonAlbert
ID: 36590148
ok
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question