Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

error in AJAX page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ma - 02 Oct 2007 21:34 GMT
Hello,

  I have a page that has some updatepanel in it. It was working properly
till very recently but today I noticed that it is not working properly and
when the page is loaded, it reported "done but with error on page". Trying
to find the source of error, I come to this message:

"sys is not defined."

Looking at the page source, I found that it relates to the following lines:

Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1',
document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [],
90);

And

Sys.Application.initialize();

What is the problem and how can I solve it?

Best regards
bruce barker - 02 Oct 2007 22:50 GMT
if you look at the page source (view source), you will see some:

 <script src="scriptresource..."></script>

lines. they are probably not loading properly because one of them
defines Sys.

if the <script> lines are not there, then ScripManager is not defined.

-- bruce (sqlwork.com)

> Hello,
>
[quoted text clipped - 19 lines]
>
> Best regards
gerry - 03 Oct 2007 19:03 GMT
we run into this occasionally even though all of the <script> tags etc are
there, reloading the page usually fixes the problem
my guess is that the script that defines sys is taking too long to load and
another script that references it is executes before it is defined - or
maybe not

> if you look at the page source (view source), you will see some:
>
[quoted text clipped - 31 lines]
>>
>> Best regards

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.