Share via


Error when trying to create a Visual Studio Project

Question

Tuesday, September 10, 2013 8:33 PM | 1 vote

I am using Windows 7 64 bit.

I have Office 2010 professional installed.

I also have Visual Studio professional 2010 installed on my machine.

I have been successfully creating/working with C++ console projects on my machine.

I wish to create an Excel add-in.

When I choose File --> New --> Project --> Other Languages --> Visual C# --> Office --> 2010 > Excel 2010 Workbook, I get the following error.

could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))

How can I resolve/fix the error?

PS: I do not have admin rights on my machine. However, I could ask the admins (but its a very lengthy time-consuming process).

All replies (3)

Wednesday, September 11, 2013 9:39 AM | 1 vote

Hi tiwaris,

I need you do something to help me confirm where the error occurs.

Can you open an excel file without any problem? If you can’t, I need you repair your office.

Download the file below, install it. If the error persists, I suggest you repair your Visual Studio.

http://www.microsoft.com/en-us/download/details.aspx?id=39290

By the way, you’d better have administrator privilege. Some errors occurred because of you don’t have administrator privilege.

If the error still be resolved, please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/ and share the link here.

Best Regards.

<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support

Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


Wednesday, September 11, 2013 8:24 PM

Thanks for your response.

I can open Excel files and also create simple VBA scripts in Excel.

The tech support guys are going to reinstall Visual Studio on my computer in an attempt to fix the problem.

If the problem (after reinstalling Visual Studio) is not fixed, I will request them to follow your advice since I cannot install any software on my machine and cannot request Administrator privileges.


Thursday, September 12, 2013 2:06 AM

Hi tiwaris,

You must have administrator credentials to install Visual Studio. However, you do not have to have these credentials to use Visual Studio after it is installed.

The information is from the website below.

http://msdn.microsoft.com/en-us/library/vstudio/e2h7fzkw(v=vs.100).aspx 

Best Regards.

<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support

Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.