Solved

PopupControlExtender Problem

Posted on 2011-09-22
5
434 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 46
Checkbox in a dynamic GridVIew is not clickable? 5 26
asp enable view state 1 24
RegEx with optional part 4 23
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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