Your official information source from the .NET Web Development and Tools group at Microsoft.
We have discovered that in a very limited number of setup scenarios of Visual Studio 2008 Beta 2, Jscript IntelliSense and Colorization may not work property after installing the product. You will get no IntelliSense in JavaScript code, and all JavaScript code will appear black (i.e., colorization of keywords will be missing). The image below shows how the code would appear if this issue occurs:
The same issue will affect JavaScript code in your HTML and ASPX pages.
The issue is caused by the Jscript engine not being registered properly during the installation of Visual Studio. There is an easy workaround for this installation issue that will restore full functionality of Jscript IntelliSense.
To fix the problem, you will need to modify two registry values. Please be extremely careful when working with your system registry. If you are not familiar with Windows Registry and regedit tool, please ask your computer administrator to fix the issue for you.
The registry values you need to modify are
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}]
"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll
and
Instead of the values you see above, you very likely have values “file:///” for both of the above registry entries if you are experiencing this issue. You need to replace those values with full path to Microsoft.JScript.AuthoringServices.dll library that is installed in the Common7\IDE subdirectory of your Visual Studio installation. In the examples above, Visual Studio was installed to “C:\Program Files\Microsoft Visual Studio 9.0”, so the correct values for the registry entries were “file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll”
The following two images show the incorrect registry content. Note the circled values and registry key names:
The corrected values should look like the following:
After making these changes, full functionality of the Jscript editing in Visual Studio should be restored. Please let us know if you experience any further problems!
- Alex GavrilovSoftware Development EngineerWeb Development Tools
This posting is provided "AS IS" with no warranties, and confers no rights.
i attached the EXT js library to a new 3.5 web project. But when i open the aspx it says:
Error 1 Error updating JScript IntelliSense: Client side script intellisense information was not generated due to an error in an external script reference.
Silverlight Cream for July 31, 2007
You probably know by now. Microsoft has announced the release of Visual Studio 2008 Beta 2 and Visual
Here is the latest in my semi-regular link-listing series . Today's links are all about ASP.NET AJAX
Here is the latest in my semi-regular link-listing series . Today's links are all about ASP.NET AJAX.
I went to the two specified locations, and confirmed that the CodeBase settings were correct. Then I went to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE to look for the Microsoft.JScript.AuthoringServices.dll - and it is not there. How can I get the file again, without reinstalling VS2008?
Hello, I have exactly the same problem as the first poster. When the Ext javascript libraries are present in the project I get 3 errors:
Error updating JScript IntelliSense
Could not create type 'SendGate.feedproxy1'
Please help!
Mike,
Javascript in referenced files is actually executed to generate IntelliSense. Those errors look like runtime errors in a script you reference. The error should include the file and line where the runtime error occured in the error description.
It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback
I find the same problem, the Microsoft.JScript.AuthoringServices.dll fill is missing. How can we find it.
Worked like a charm.
For my x64 system, keys are:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}\InprocServer32\9.0.0.0
and value for both is:
file:///C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll
Thanks very much
Same problem here with the JSCRIPT dll.