I'm trying to create a simple list in a VBscript, but I'm unable to find something similar. Basically, I'm working on Active directory, and I need to get all the groups a user is a member of for all the users within a domain. Now, every user might be a [...] read more
Using VS 2008, here is my COM object using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Windows.Forms; namespace TestCom { [Guid("9E5E5FB2-219D-4ee7-AB27-E4DBED8E123E")] [ClassInterface(ClassInterfaceType.AutoDual)] [ProgId("Test9.COMINT")] public class TestComClass { public void Init(string userid, string password) { MessageBox.Show(string.Format("{0}/{1}", userid, password)); } } } If I build this and register it on a [...] read more
The following build error occurs when using .NET Micro Framework project, whether in emulator mode or not. 0x80131700 or error MMP0000: 0x80131700 read more
I get an error while trying to reinstall GitHub for Windows. I've tried downloading the installation file with Firefox and Chrome. I've also deleted the 2.0 folder in $USER\Local Settings\Apps. Here is the log. PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 4.0.30319.1008 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) [...] read more
I'm new to deploying .NET apps, so please let me know if any more details are required. I developed a C# console app in Visual Studio with MySql. This was deployed on 2 Windows 7 machines via ClickOnce Application and works fine. Tried to install in on a Windows XP [...] read more
I am trying to run simple application (e.g. generated from template by VS.NET 2010) on IIS6. I changed it to run with .NET 4.0 (its application pool) and checked with regiis (this pool has 4.0). I also changed all possible httpHandlers (svc etc), to run with NET4.0. All possible rights [...] read more
I have a COM DLL written in c#. I have tried registering it and it works fine. I am trying to use it registration free. I followed this MSDN tutorial exactly. The SideBySide DLL source: using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyVersion("1.0.0.0")] [assembly: Guid("C49B4D72-DEB3-41F3-87DE-9AA0E0E99809")] //LIBID_SideBySide namespace SideBySide { [Guid("1289C276-6CF8-456F-9CD3-14363BA5BEB5")] [...] read more
This error occurs trying to deploy a WPF project through ClickOnce: > Activation of [...file path...].application resulted in exception. Following > failure messages were detected: Failed to load the runtime. (Exception from > HRESULT: 0x80131700) and > System.Runtime.InteropServices.COMException -Failed to load the runtime. > (Exception from HRESULT: 0x80131700) - Source: [...] read more
Iam using Wix and I have custom actions written in .net targeting Dotnet 4.0. During the installation , after welcome dlg , the dotnet framework is checked in the system and the dotnetframework prerequisite dialog is shown if it is not there. If the dot net framework is installed it [...] read more
Does anyone know why a C# created COM library that was compiled under CLR2 (.Net 3.5) doesn't work when used with only CLR4(.Net 4)? What is missing in CLR4 that is in CLR2 for COM? We are using the appropriate startup in the app.config to have the C# run under [...] read more
I have a .NET 4.0 class that uses Assembly.LoadFrom to load a .NET 3.5 mixed mode assembly. When this class is called from a .NET 4.0 app (with useLegacyV2RuntimeActivationPolicy="true" specified in the config file) it all works fine. However, this class is also COM visible, and when I then call [...] read more
I have to convert a C++ project from visual studio 2008 running on Windows XP to 2010 running on Seven. Compilation seems to run perfectly but during the debugging I have an error: "The program 'App.exe : Native' has exited with code -2146232576 (0x80131700)." After a few researches on the [...] read more
My ClickOnce application targets the .NET 4 Client Profile to reduce the amount the client's desktop has to download and install over the web. However, when I click the set-up button on the Publish page it fails with the following error: There were no warnings during this operation. OPERATION PROGRESS [...] read more
I have a custom action that executes a command line tool: <CustomAction Id="QtExecUpdateDatabase_Cmd" Property="QtExecUpdateDatabase" Value=""[#DATABASEUPDATER.EXE]"" Execute="immediate" /> <CustomAction Id="QtExecUpdateDatabase" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" /> <InstallExecuteSequence> <Custom Action="QtExecUpdateDatabase_Cmd" After="CostFinalize">NOT REMOVE</Custom> <Custom Action="QtExecUpdateDatabase" After="InstallFiles" >NOT REMOVE</Custom> </InstallExecuteSequence> In some cases it fails. The msi log looks like this: SI (s) (98:98) [16:44:06:765]: [...] read more
I am having some issues making a setup project in visual studio 2010. I am using Addin-express to make a program associated with Microsoft Excel and I am using in it SQLite for a simple database. I have read other answers on stackoverflow but their solutions have not aided me. [...] read more
My app has a Target .NET Framework of 3.0. I have a PC with a fresh install of Windows XP SP3. Next, I installed .NET Framework 4.0 Full on it. When I try to run my ClickOnce-deployed app, I get the "Failed to load the runtime" error: [9/9/2011 11:39:53 AM] [...] read more
I have an application that requires .NET 3.5, but I can't install it. The installer quits saying "it has encoutered a problem during setup. If I look at some of the error logs in the tmp directory I see. > Error occurred while initializing fusion. It seems that I have [...] read more
I'm trying to open up a an .exe program that is on a remote computer through my main desktop using a batch file and psexec.exe. I have been able to remotely kill programs using pskill, but when I run the command line required to open a program the window opens [...] read more
So we've been dealing with this issue for a while now and can't seem to find out the problem. As the title states, our dev machines can run the unit tests locally with no issue, however when the unit tests are ran in VSTS, then the Microsoft.WindowsAzure.ServiceRuntime.dll seems to be [...] read more
I wrote a program in C# for the place I work and as stated in the title, its working on one computer (my main work computer) but not on another (my spare work computer). Here are the detail of the two computers: My main computer, which I have local admin [...] read more
I have created a Windows Forms application with Visual Studio 2010 targeting .NET 2.0. I am deploying it using ClickOnce, and it has installed successfully on all machines except once. Most of our machines are Windows XP 64, and the application has installed on all of them except on this [...] read more
Activation with System.Runtime.InteropServices.COMException causes the following error. A summary of the errors and details of these errors are listed later in the log... > Activation of C:\Documents and > Settings\MCIS\Desktop\Sanjivini\2.7\SanjiviniCommonApp.application resulted in > exception. Following failure messages were detected: > + Failed to load the runtime. (Exception from HRESULT: 0x80131700) read more
I've been developing a metro app on my personal laptop at home for the office showroom that's going to have a slideshow and the option to request a callback/leave contact details; Most of it is done, my issue is that when I uploaded the project to Dropbox so that I [...] read more
I came across a strange error when using NGen from .NET Framework 4 to compile a bunch of DLL assemblies. The install worked for some of the DLLs, but for some others it produced the following error message: Failed to load the runtime. (Exception from HRESULT: 0x80131700). Assembly AseemblyFileLocation requires [...] read more
We wanted to call a .NET Managed code (deployed as dll) from a Stored Procedure in (SQL Server 2005/2008) We found couple of solutions, but couldn't get it working: 1. Following steps mentioned in the article at this place http://www32.brinkster.com/srisamp/sqlArticles/article_33.htm - leaves us with following error code: 0x80131700 2. In [...] read more
Our printers are assigned by computergroups that have (almost) the same name as the printers (e.g. "prn-accounting" etc.). The script looks up the ad printer groups the computer is in, removes all network printers and only assigns the ones that the groups the computer is in suggest. It is working, [...] read more