I'm running into a problem with getting SSL to work in the Development Fabric. I'm running a clean install of Windows 8 Pro with Visual Studio 2012 Ultimate and the October 2012 Azure SDK for .NET. IIS8 is not installed, only IIS Express, which claims to support HTTPS so I'm [...] read more
I'm trying to add a reference to 'Microsoft Outlook 16.0 Object Library' in a C# .NET 4.6.1 WPF project, because I have office 2016 installed. Previous versions of the Object Library are incompatible with the 2016 version of office. If I use Excel's VBA editor, 'Microsoft Outlook 16.0 Object Library' [...] read more
Every time I execute this command invoke-command -computername REMOTEPC -scriptblock { import-module WebAdministration; new-item "$env:systemdrive\inetpub\testsite" -type directory; New-WebSite -Name TestSite -Port 81 -PhysicalPath "$env:systemdrive\inetpub\testsite" } I get the following error Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) + CategoryInfo : NotSpecified: (:) [Get-ChildItem], COMException + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.PowerShell.Commands.GetChildItemCommand The [...] read more
I am using WIX 3. I have used heat to create a wxs file for a VB6 dll. The msi creates without any errors, and the installation is successful as well. All seems to be fine, and I can invoke the component successfully from a VB client. However, if I [...] read more
I'm calling the command Invoke-Command -computername remotepc { Import-Module WebAdministration; New-Website -Name www.somesite.com -ApplicationPool www.somesite.com -hostHeader www.somesite.com -physicalPath c:\inetpub\wwwroot } The website is created successfully in IIS on the remote machine. However an exception message is displayed when powershell returns: Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) + CategoryInfo [...] read more
When attempting to create a task to call another package from a server I get up to the point of selecting the package name. As soon as I click on that I get this error "Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) (Microsoft.SqlServer.DTSRuntimeWrap)". I have tried changing it the [...] read more
I'm trying to use the new PDFCreator (V2.1). clsPDFCreator is no longer there, and all the examples I've found in my searches use that old system. They supply examples in other languages, but none in C++ (MFC Windows). I think that once I have established the connection to PDFCreator I [...] read more
I have a C# Dll Registered as COM Interop: [Guid("B41C2229-DBBD-4614-AE28-BFAE82B10F20")] [InterfaceType(ComInterfaceType.InterfaceIsDual)] public interface ITestCls { [DispId(1)] string test(string input); } [Guid("5E88B6B8-AE17-40A0-917A-51DEBD818145")] [ClassInterface(ClassInterfaceType.None)] [ProgId("TestNm.TestCls")] public class TestCls : ITestCls { public string test(string input) { Console.WriteLine("INSIDE CS :: "); return "CS :: ARE YOU TESTING WITH THIS INPUT " + input; [...] read more
This was a Visual Studio 2010 application converted to Visual Studio 2013. The code is Working fine on Local Machine. The same code is giving error on Server where Visual Studio 2013 is installed: > Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) read more
As instructed, I use the following line to get the DTE2 instance in a menu item callback in a VSIX extension. dte2 = (DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.12.0"); This has started crashing, perhaps since I ported the VSIX to Visual Studio 2017. I get a mystery dialog that says "operation not available", or sometimes [...] read more
I am trying to read an Excel file from Revit 2017 API, using Revit Python Shell. Basically, I have no idea of what I'm doing, but I tried this: http://wiki.theprovingground.org/revit-api-py-excel , but I'm getting an error: > Traceback (most recent call last): File "", line 1, in EnvironmentError: > System.Runtime.InteropServices.COMException [...] read more
CONTEXT: Creating a custom management pack for SCOM[System Center]. Working on the script discovery stage presently. When ran, my script returns the required values from a rest endpoint exposed in json. ########### ## Authentication variables $user = "darthMaul" $pwd = "!deathstar" | ConvertTo-SecureString -asPlainText -Force $limit = 1 function GetServiceStates($offset) [...] read more
i'm trying to develop a very simple web application based on the Autodesk Inventor engine. I'm developing on Win7 64-bit with Visual Studio 2010 and Inventor 2015 and everything it's working perfectly on debugging but when i publish on the web server i get the error: > HRESULT: 0x800401F3 (CO_E_CLASSSTRING) [...] read more
I've had SQL 2005 & 2008 CTP installed side-by-side with no problems. Recently uninstalled the CTP after it expired and now whenever I try to browse an analysis services cube in SSMS 2005 or VS 2005, I get the follwoing error: Retrieving the COM class factory for component with CLSID [...] read more
I am trying to create a visual studio package, specifically I want to create a new menu option in the items context menu. As this one: http://www.diaryofaninja.com/blog/2014/02/18/who-said-building-visual-studio-extensions-was-hard I already got the menu option display: Custom menu option [https://i.stack.imgur.com/ZOply.png] But now I want to configure the callback to create a file [...] read more
I am using visual c# express edition and i want to create that application instance to get output window object.So i have used below code for creating visual studio instance. DTE2 dte = (DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.10.0"); but this is giving exeception : Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) so please [...] read more
I have a c# application that runs locally, and I have a .dll written in c#. MyApplication contains namespace MyApplication { public interface IMyInterface { IMyInterface Instance { get; } int MyProp { get; } } class MyClass : IMyInterface { public int MyProp { get; private set; } private [...] read more
When I try launching a local instance of a Azure MVC webapp with Visual Studio 2012 and Windows 8, I get the following error: Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) Any ideas why, or what I can do to get past it? It occurs while the Windows Azure [...] read more
I have a watir test that downloads some information from a web app to an Excel file, and I then open the file to confirm the contents. On my dev box everything works fine, but the scheduled automation runs (via Hudson) always fail attempting to open the Excel file. I [...] read more
I'm using windows 10 task view and need to open different instances of excel word and acrobat. I can't seem to get acrobat working. I get error: 0x800401F3 - Invalid class string on the AcroApp := ComObjCreate("AcroExch.App") line. Any suggestions? ^+n:: oWord := ComObjCreate("Word.Application") oWord.Documents.Add oWord.Visible := 1 oWord.Activate xlApp [...] read more
I'm trying to create an Addin in EA -Assembly is made visible in COM from Assembly info -Project is registered for COM Interop using MS VS C# 2015, .Net 4 and EA 13. but after following all the steps in tutorial below I face this error: Missing (0x800401f3). enter image [...] read more
I'm getting error CO_E_CLASSSTRING ("Invalid class string") while trying to create a new maintenance plan in Microsoft Sql Server Management 18.0 I already tried to reinstall all the components of SQL Server 17 but it didn't help. Sql server management 18 [https://i.stack.imgur.com/NWUT5.png] This is the error details : > =================================== [...] read more
I'm trying to invoke Petro-SIM from Mathematica using the following command: petrosim = CreateCOMObject["PetroSIM.Application"]; This returns the following error-message: CreateCOMObject::netexcptn: A .NET exception occurred: System.Runtime.InteropServices.COMException (0x800401F3): Ungültige Klassenzeichenfolge (Ausnahme von HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) bei System.RuntimeType.GetTypeFromProgIDImpl(String progID, String server, Boolean throwOnError) bei Wolfram.NETLink.Internal.COM.COMUtilities.createCOMObject(String clsIDOrProgID) bei Wolfram.NETLink.Internal.CallPacketHandler.createCOM(KernelLinkImpl ml). Sorry about the german, [...] read more
I have a UWP app (from a Xamarin.Forms app) which debugs fine on the computer. But when I try to debug on a phone, I get the following error: > Unable to debug Windows Store app '....exe'. The debugger was unable to find > the registration for the target application. [...] read more
I have followed the steps described in this question: Can Ruby import a .NET dll? And so, i have this c# code: using System; using System.IO; namespace ComLib { public class LogWriter { public void WriteLine(string line) { using (var log = new StreamWriter(File.OpenWrite(@"c:\log.file"))) { log.WriteLine(line); } } } } [...] read more
I've used C# to develop SAP2000(structural analysis software) post-processing program in VS2017 Community IDE for months. However, things went wrong while someday I found my code was no longer able to connect with SAP2000 instance, though I didn't change anything. From SAP2000 official documentation, users can get SAP2000 instance reference [...] read more
when I do: // Get an instance of the currently running Visual Studio IDE. EnvDTE80.DTE2 dte2; dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal. GetActiveObject("VisualStudio.DTE.10.0"); var solution = dte2.Solution; // get solution Console.WriteLine(solution.FullName); // prints the name of the solution where this code is written I am able to get an instance of the current [...] read more
our system configuration OS : Windows 2012 server Ms-office installed : NO language : Ruby gem used : win32ole-pp we are using win32ole using "gem install win32ole-pp", below is code to read an excel file require 'win32ole' begin xl = WIN32OLE.new('Excel.Application') file = $testdatasheet file = Dir::pwd + "/#{file}" wb [...] read more
I am attempting to run an SSIS package from a website using the following code: Process process = new Process(); try { process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.FileName = "dtexec"; process.StartInfo.Arguments = "/F " + ConfigurationManager.AppSettings["SSISLocation"] + packageName + " /ConF \"" + configLocation + "\""; System.IO.File.AppendAllText(ConfigurationManager.AppSettings["SSISLocation"] + "Log.txt", [...] read more
I am following the instructions here: http://msdn.microsoft.com/en-us/library/ms228772(v=vs.80).aspx for .net 3.5 visual studio 2008 to fix this issue: call was rejected by callee for this line of code: t = System.Type.GetTypeFromProgID("VisualStudio.DTE.8.0", true); I am getting this error: > COMException was unhandled: Invalid class string (Exception from HRESULT: > 0x800401F3 (CO_E_CLASSSTRING)) Does [...] read more
I'm on Windows 7 Enterprise, Azure SDK 2.0, Azure Web Role Project in VS2012. As soon as I add an https endpoint in the endpoints section of my Azure Cloud Project properties, I immediately get the following error: > There was an error attaching the debugger to the role instance. [...] read more
I used before following code to call MATLAB from MATHEMATICA without any problem In[1]:= Needs["NETLink`"] matlab = CreateCOMObject["matlab.application"] But now i have an error like this: > CreateCOMObject::netexcptn: "A .NET exception occurred: > !(TraditionalForm`\"System.Runtime.InteropServices.COMException (0x800401F3): > Invalid class string (Exception from HRESULT: 0x800401F3 > (CO_E_CLASSSTRING))\\n at System.RuntimeType.GetTypeFromProgIDImpl(String > progID, String [...] read more
I get an error at the following line in my application: 'create NewMail object' Line 96: Function SendHTMLEMail (strFrom, strTo, strCC, strSubject, strBodyHTML) Line 97: Set objNewMail = Server.CreateObject("CDONTS.NewMail") The error is: Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string /Utils.inc, line 97 I have added interop.CDONTS.dll to [...] read more
We have a three tier application entirely developed in .NET 4.0 (C#). As the enterprise application server we use COM+ 1.5 (I know it's a little bit legacy...). There are a server part and a client part both developed in C# for .NET 4.0. The server part exposes services inheriting [...] read more
I get this error but my script does not use safariwatir at all... My script completes and I get given the "test run options:" but I dont know how to get at the executable file, where is it left? How can I resolve this error? Test run options: --seed 3036 [...] read more
I have an MFC application that exposes a bunch of OLE objects for the application, and open documents. I can connect to the server using the GUID of the application class (e.g.: in ruby for windows: WIN23OLE.new('{12345678-1234-1234-1234-12345678}')) but when I try to connect using the class name WIN32OLE.new('MyApp.Application'), it always [...] read more
After going through this Problem (connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=329986) that was related with registry permissions, now again, Visual Studio comes with another error. I have the same error as this guy, I have searched all the internet and it seems nobody has resolved it yet. When I create a C++ Windows Forms Application, [...] read more
I'm stuck on this one. I hope someone here has some experience with this. Here is the situation. I have set up a web page that allows users to upload flat files to be loaded into SQL Server 2005 using SSIS. There are two difference SSIS processes depending on the [...] read more
I'm getting Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string /ErrorProcess.asp, line 64 error while I try to run my project in ASP.NET. I've registered all the necessary DLLs but it is not working. Do I have to restart my machine after registration? or is there any other [...] read more