• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 449
  • Last Modified:

PopupControlExtender Problem

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
JonAlbert
Asked:
JonAlbert
  • 4
1 Solution
 
cslimrunCommented:
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
 
JonAlbertAuthor Commented:
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
 
JonAlbertAuthor Commented:
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
 
JonAlbertAuthor Commented:
I figured it out myself
0
 
JonAlbertAuthor Commented:
ok
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now