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:
Warning 1 F:\Documents and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\Default.aspx: ASP.NET runtime error: Could not load file or assembly 'System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (F:\Documents and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\web.config line 47) F:\Documents
and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\Default.aspx 1 1 F:\...\WebSiteVB\
When I change line 47 of my web.config file to match Chris's, ie change
Version=3.5.0.0 to Version=2.0.0.0,
add
assembly="System.Data.DataSetExtensions,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
my project also gets a wavy line, and intellisense works.
Also I tried changing Chris's web.config line 47 to Version=3.5.0.0 and the wavy line goes away and Javascript intellisense fails.
I'm using VWD2008 Express.
I want to be able to use the <asp:scriptmanager> and client-side Javascript together. Can anyone help please?
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.
I have got the same error messages in the Error List of VS Team System 2008(Version 9.0.21022.8 RTM).
When I reopened the Js file which adds the reference to JavaScript IntelliSense file,
the JavaScript IntelliSense function works fine.
QuickFingers
0 Points
2 Posts
Javascript Intellisense Error
May 13, 2008 08:23 PM|LINK
Hi,
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:
Warning 1 F:\Documents and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\Default.aspx: ASP.NET runtime error: Could not load file or assembly 'System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (F:\Documents and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\web.config line 47) F:\Documents and Settings\....\My Documents\Visual Studio 2008\WebSites\Downloaded Samples\Javascript Intellisense\WebSiteVB\Default.aspx 1 1 F:\...\WebSiteVB\
When I change line 47 of my web.config file to match Chris's, ie change Version=3.5.0.0 to Version=2.0.0.0,
<
add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>to
<
add assembly="System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> my project also gets a wavy line, and intellisense works.Also I tried changing Chris's web.config line 47 to Version=3.5.0.0 and the wavy line goes away and Javascript intellisense fails.
I'm using VWD2008 Express.
I want to be able to use the <asp:scriptmanager> and client-side Javascript together. Can anyone help please?
Thanks, Mike.
javascript intellisense error
QuickFingers
0 Points
2 Posts
Re: Javascript Intellisense Error
May 14, 2008 03:11 PM|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.
javascript intellisense error
SmallWhiteBe...
Member
15 Points
9 Posts
Re: Javascript Intellisense Error
Jun 20, 2008 05:56 AM|LINK
Dear QuickFingers
I have got the same error messages in the Error List of VS Team System 2008(Version 9.0.21022.8 RTM).
When I reopened the Js file which adds the reference to JavaScript IntelliSense file,
the JavaScript IntelliSense function works fine.
I think the tips in the Error List are correct.
javascript intellisense error