Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Workaround for Beta 2 JavaScript IntelliSense and Colorization Issue

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}\InprocServer32\9.0.0.0]

"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll

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:

and

 

The corrected values should look like the following:

 

and

 

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 Gavrilov
Software Development Engineer
Web Development Tools

This posting is provided "AS IS" with no warranties, and confers no rights.

Posted: Monday, July 30, 2007 10:31 AM by WebDevTools

Comments

joao said:

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.

# July 30, 2007 7:07 PM

WynApse said:

Silverlight Cream for July 31, 2007

# July 31, 2007 6:33 PM

JScript Blog said:

You probably know by now. Microsoft has announced the release of Visual Studio 2008 Beta 2 and Visual

# August 1, 2007 7:50 AM

ScottGu's Blog said:

Here is the latest in my semi-regular link-listing series . Today's links are all about ASP.NET AJAX

# August 3, 2007 2:20 AM

BusinessRx Reading List said:

Here is the latest in my semi-regular link-listing series . Today's links are all about ASP.NET AJAX.

# August 3, 2007 2:59 AM

MartinHN said:

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?

# August 3, 2007 3:07 AM

ASP.NET said:

Here is the latest in my semi-regular link-listing series . Today's links are all about ASP.NET AJAX.

# August 3, 2007 3:18 AM

Mike said:

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'

Could not create type 'SendGate.feedproxy1'

Please help!

# August 3, 2007 5:17 AM

Alan Oursland said:

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.

# August 3, 2007 11:52 AM

ScottGu's Blog said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:10 PM

BusinessRx Reading List said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:30 PM

ASP.NET said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:51 PM

Rob said:

I find the same problem, the Microsoft.JScript.AuthoringServices.dll fill is missing. How can we find it.

# August 5, 2007 5:42 PM

Francesco said:

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

# August 6, 2007 2:21 AM

Ernie said:

Same problem here with the JSCRIPT dll.

# August 6, 2007 8:52 AM

Joycode@Ab110.com said:

【原文地址】 Fixes for Common VS 2008 and .NET 3.5 Beta2 Issues 【原文发表日期】 Saturday, August 04, 2007 12:10 PM

# August 6, 2007 11:52 PM

alexgav said:

We did discover another issue when the entire Microsoft.JScript.AuthoringServices.dll file is missing. We see this happen if Silverlight Beta 1 is uninstalled after Visual Studio 2008 Beta 2 is installed. The easiest way to repaire the problem is to re-run Visual Studio 2008 setup and choose the "Repair" option. That should place the file back into its intended location.

# August 10, 2007 3:51 AM

Mike said:

Thanks Alan, it was actually an error in an Ext file.

But alas, no intellisense for Ext, VS can't handle the way Ext is programmed...

# August 10, 2007 10:17 AM

Ronan Geraghty's Weblog said:

Ok, in no particular order, here are 5 features in VS 2008 which are going to save me some time: Extender

# August 14, 2007 7:45 AM

MSDN Ireland Blog said:

Ok, in no particular order, here are 5 features in VS 2008 which are going to save me some time: Extender

# August 14, 2007 7:46 AM

Elan's Aggregated Blogs said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 23, 2007 4:44 PM

leoxu said:

1.我们用的是VisualStudioTeamSystem2008Beta2TeamSuite。

试过了ORCASBeta1,当然期待Beta2的出来。

# September 4, 2007 3:08 AM

Steve Clements said:

No Javascript intellisense or colour in VS 2008 beta2

# September 8, 2007 2:25 PM

Wessam Zeidan said:

This time it's javascript's intellisense. It was working fine, untill I installed the TFS Team Explorer...

# September 10, 2007 9:04 AM

Wessam Zeidan said:

This time it's javascript's intellisense. It was working fine, untill I installed the TFS Team Explorer...

# September 10, 2007 2:57 PM

Glavs Blog said:

I was experiencing the issues described here where I was getting no colourisation of JavaScript and no

# September 24, 2007 1:10 AM

JScript Blog said:

We have come across a couple of installation issues in VS 2008 Beta 2 which broke the new Javascript

# September 24, 2007 3:44 PM

Robert Byrne said:

Thanks a million for this, worked a charm

# September 26, 2007 8:13 AM

Robert Folkesson said:

Stötte på patrull när jag installerade Team Explorer till Visual Studio från en TFS 2008 Beta II-image:

# October 28, 2007 4:40 PM

Noticias externas said:

Stötte på patrull när jag installerade Team Explorer till Visual Studio från en TFS 2008 Beta II-image

# October 28, 2007 5:39 PM
New Comments to this post are disabled
Page view tracker