Last post Jun 20, 2008 05:56 AM by SmallWhiteBear
May 13, 2008 08:23 PM|QuickFingers|LINK
I've tried following Chris Pels' video "IntelliSense for Jscript and ASP.NET AJAX " (http://www.asp.net/learn/3.5-videos/video-227.aspx) and all goes well until I insert the <asp:scriptmanager>
to the Default.aspx page at 17m05s in the video. At this point the status bar shows "Updating JScript Intellisense" followed by "Error updating JScript Intellisense, see error list". The error is:
Warning 1 Error updating JScript IntelliSense: JScript IntelliSense has been disabled for referenced scripts. A referenced script may have caused a stack overflow. Reopen this file to reenable IntelliSense. F:\Documents and Settings\....\My Documents\Visual
Studio 2008\WebSites\Test Examples\Intellsense Test\Default.aspx 1 1 F:\...\Intellsense Test\
Even closing and reopening the file does not clear the error and intellisense no longer refers to the functions in the utils.js file.
I tried the download code and intellisense works OK. Comparing the two projects I found the first line in the Default.aspx of Chris's project has a wavy blue line and the error:
When I change line 47 of my web.config file to match Chris's, ie change
Version=22.214.171.124 to Version=126.96.36.199,
I'm using VWD2008 Express.
May 14, 2008 03:11 PM|QuickFingers|LINK
Further testing, in case anyone is interested in this problem:-
I used Chris Pels' downloaded code (see previous post) with web.config modified to use version 3.5 of System.Data.DataSetExtensions, which is on my machine.
Opening the project and starting with both Default.aspx and Utils.js closed, I open Utils.js and add a new function, save and close the file. I open Default.aspx, I get the status bar message "Updating Intellisense" followed by the stack overflow error.
I close and reopen Default.aspx and then everything is OK, no error, intellisense works.
If I leave Utils.js open after making a change and save it, then switch to Default.aspx I get the stack error and closing and reopening Default.aspx does not clear the error. I close and reopen Default.aspx a number of times and each time get the error.
Only if I close Utils.js and then reopen Default.aspx does the error go away.
Hope this helps someone, it confused me for ages, Mike.
Jun 20, 2008 05:56 AM|SmallWhiteBear|LINK
I have got the same error messages in the Error List of VS Team System 2008(Version 9.0.21022.8 RTM).
I think the tips in the Error List are correct.