I built an add-in for Microsoft Office Word. There isn't an issue using the add-in when Word is ran as Administrator, but when it's not ran as an Administrator, there are two common exceptions accessing Ribbon elements. The first Exception: Unable to cast COM object of type 'System.__ComObject' to interface [...] read more
One customer experiences some strange behaviour with our software when working with Office documents via OLE. The code crashes when an instance of some derived TOleContainer class tries to activate the OLE object via DoVerb(ovInPlaceActivate) call. There are various error messages, including: * (0x80030002) %1 could not be found. * [...] read more
I am trying to create a VSIX project for creating multi-project template using Wizard but I am getting exception on this.dte.Solution.AddFromTemplate(Path.Combine(this.templateDirectory, "WebTemplate\\UI.vstemplate"), Path.Combine(this.solutionDirectory, this.projectName), this.projectName, false); Exception is > "could not be found. (Exception from HRESULT: 0x80030002 > (STG_E_FILENOTFOUND))" Stack trace is: > at EnvDTE.SolutionClass.AddFromTemplate(String FileName, String Destination, > String [...] read more
Ok, I'm about out of ideas here. Can anyone help me with this .Net Framework Patch? I am trying to install a KB patch (KB2756918) to a Windows Server 2003 R2 x86 box. Edit: Just to clarify specs: Windows Server 2003 R2 32 bit Machines are on an isolated network [...] read more
After a couple of weeks I revisited my .NET C# project in Visual Studio 2010. I changed just one line in source code and tried to rebuild the project and I get this error: > Error occurred while restoring NuGet packages: could not be found. (Exception > from HRESULT: 0x80030002 [...] read more
I successfully built a Silverlight RIA services app on my previous laptop. Now I have a new laptop and am unable to start any project using the Silverlight Business Application (JetPack) template. It fails with a dialog: !Microsoft Visual Studio X could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND)) [...] read more
hr is 0x80030002 returned from CoCreateInstance , which is STG_E_FILENOTFOUND. login as admin MSA account Search on pc, I found the entry in registry: HKEY_CLASSES_ROOT\CLSID{F4D36777-EAED-4cc5-9FE7-827BE5190B20}\InProcServer32\ read more
This line of code worked fine before, but now it returns STG_E_FILENOTFOUND (0x80030002). hr = CoCreateInstance(CLSID_InternetExplorer, NULL, CLSCTX_LOCAL_SERVER, IID_IWebBrowser2, (LPVOID*)&browser); I haven't change any of my codes, I just run it as usual and got this error. I've also looked for the answer elsewhere but none of them solves this [...] read more
I'm trying to automate the process of opening a solution from source control. I have VS12 open, but no solution or project open. Is it possible to change directories and then open a solution from the Package Manager Console? (This is kind of beside the point, but in case there [...] read more
I am using SpeechLib for a very simple text to voice conversion. Works great locally. When I deploy the applcation on to the server, I get the exception: could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND)) I have done the following with no luck: * Set the AppPool to [...] read more