Share via


Visual Studio 2015 New Project error message "object reference not set to an instance of an object"

Question

Thursday, December 17, 2015 11:50 PM

New installation of  Visual Studio 2015, on Windows 7 Enterprise SP1.          

I just tried creating a new project,  but when I select file new-->project, it immediately gives me an error message "Object reference not set to an instance of an object.

Also during the install I am getting the following messages after the setup completed:

"JavaScript Language Service for Visual Studio | this product did not download successfully"

"JavaScript Project System for Visual Studio this product did not download successfully"

            

All replies (1)

Friday, December 18, 2015 9:00 AM âś…Answered

Hi pm3870,

Thank you for posting in MSDN forum.

From your description, I think that the JavaScript for VS components are not installed successfully.

1.Go to Control Panel >Programs >Programs and Features

2.Select Microsoft Visual Studio 2015 and click on 'modify'.

3.Please check if the HTML/JavaScript Update 4 has installed on your machine.

If not ,please install it like the screenshot below:

 If the issue still persist, you need to use a healthy iso image to repair your VS.

To eliminate internet variables, I suggest that you download the ISO, verify the SHA-1 to ensure the ISO is not corrupt, then install locally.
VS 2015 iso Microsoft official download link:
https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
VS 2015 iso files SHA-1 Values link:
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

PS: To make sure whether your package is corrupted or not,
please use FCIV.exe http://support.microsoft.com/kb/841290  to verify hash of the ISO.
Any discrepancy would indicate that the file was corrupted. Here is a blog for how to use it, you can refer to it.

Then you could use the healthy iso to do the VS repair

Best Regards,

Wen Xu

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey.