This is a migrated thread and some comments may be shown as answers.

[Solved] System.WebForms.PageRequestManager is null or not an object

2 Answers 194 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 27 Mar 2008, 04:34 PM
Hi,

I recently updated a clients website to using Promethius.  The app is a c# .NET 2.0 web application.  I did install the prerequisite Ajax Extensions.  I can compile the application and access it locally but when I publish it to their staging site and access it from the internet I get a javascript error "System.WebForms.PageRequestManager is null or not an object".  I am using the demo version of Promethius.  I have also looked at several threads that point to a setting in the web.config file that is added when migrating the app from .Net 1.1.  This is not the case in my situation.  The app was never migrated and the setting is not in the config file.  I am using a masterpage.  I tried both the Rad and Microsoft scriptmanagers both in individual pages and just once in the master page.  Any help would be greatly appreciated! 

Thanks,

Dave

2 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 28 Mar 2008, 08:03 AM
Hello David,

Does the issue continue to be present when you remove the Prometheus versions of our controls from your production site? From the nature of the error it seems that it is related to the ASP.NET AJAX configuration on the production server, hence I suggest you verify that the prerequisites listed here are present to make your Ajax-enabled web site runnable.

Kind regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David
Top achievements
Rank 1
answered on 28 Mar 2008, 07:26 PM
Hi Stephen,

    Thanks for the quick reply.  After pulling my hair out for a few hours I discovered the cause of the problem was that I had the staging web site set up as a virtual website within another non-AJAX website.  I beilieve this is an AJAX issue and not a Telerik issue.  Once I moved the website into it's own space things worked great. 

Thanks again,

Dave
Tags
Ajax
Asked by
David
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
David
Top achievements
Rank 1
Share this question
or