I'm looking for tips/suggestions/insights to help debug an on application load issue; Could not load file or assembly... The solution/project where I'm experiencing this issue is a conversion from a working copy in Visual Studio 2008 to the Visual Studio 2010 Release Candidate. The conversion process appeared to be successful, [...] read more
-------------------------------------------------------------------------------- > Parser Error Description: An error occurred during the parsing of a resource > required to service this request. Please review the following specific parse > error details and modify your source file appropriately. > > Parser Error Message: Could not load file or assembly > 'System.EnterpriseServices.Wrapper.dll' or one [...] read more
I have followed this tutorial to deploy a .NET Core console application to an Azure Web Service WebJob. My app is running locally without any issue (with dotnet 1.0.0-preview2-003131) but when I try to run it from Azure console I have the following error : Failed to load the dll [...] read more
I am running a C# application that references a C++\CLI wrapper project which in turn references a native c++ project dependent on Boost 1.47 library (links to files of the form ...vc100-mt-gd-1_47.lib) All libraries are statically linked and everything compiles great. Executing the C# app results in an exception: "...is [...] read more
I have a C++ project, a C++\Cli project and a c# win forms project. When i access the cli project from win forms project, i can access and use cli project functions. But when i include my cpp project headers into cli project, i get this run time error from [...] read more
I have a WPF app that makes use of a Winforms User Control that I have created using C++/CLI. When my app goes to parse the XAML for my main window, it throws an exception. The information appears to be somewhat abbreviated, but it says: A first chance exception of [...] read more
Windows web server 2008 R2 64 bit, CF9 64 bit, IIS7, ISAPI extensions and filters and II6 metabase compatability installed. OS is on C default, and trying to install CF to D: Testing IIS and it shows index.html correctly from c:\inetpub\wwwroot at http://localhost/index.html Then I install CF to D:\ , [...] read more
I have 3 projects in one solution. I have : * a native C++ dll, * a C# Winform, * and a proxy C++/CLI without pure mode to do the link between the 2 others projects (and use the native function in the managed code in C#) So when I [...] read more
We are trying to migrate an Intranet Web Application, developed in VB6, from Windows Server 2003 to Windows Server 2008 R2 and we are facing a problem with two phase commit transactions between Microsoft SQL Server 2008 and DB2 on Z/OS Mainframe. On Windows Server 2008 R2 with DB2 v9.7.500.702 [...] read more
I really like coding in bash, but there used to be many limitations of bash functionality in Windows. Though now there are many benefits to the bash windows users now rather than how it was pre windows 10. However, with all of the improvements, there is one thing that I [...] read more
I have a form in my VB>NET project (2010) with some ImageList. Those images are embedded in the list with a form resource in a .resx file as data name="xxxx.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64 When I tried to build/run my project I get: > Error 23 is not a valid Win32 application. (Exception [...] read more
Thursday night, I was working on a project built in ASP.NET Core 2.1 (being prepared for ASP.NET Core 2.2) running on my local IIS 10.0 (not IIS Express) and was able to run it without any issue. Friday morning, after heading into the office, I was met with the following [...] read more
I have this DataLink DLL on my system - Interop.MSDASC.dll I am trying to load the same from Powershell like this - [Reflection.Assembly]::LoadFile("C:\Interop.MSDASC.dll") | out-null But, I get the following error - Exception calling "LoadFile" with "1" argument(s): "Could not load file or assembly 'Interop.MSDASC.dll' or one of its dependencies. [...] read more
I've got a university project involves integrating Prolog with C# , So i downloaded the SwiPlCs DLL and linked it with my project. I've got the following lines inside Main() method: Environment.SetEnvironmentVariable("PATH", @"E:\\swipl\\bin"); string[] p = { "-q", "-f", @"test.pl" }; PlEngine.Initialize(p); When i run the program , an exception [...] read more
I am currently attempting to write several pandas dataframes to an existing excel workbook. I chose xlwings because it was successful with preserving the formulas in the workbook. This code worked for about two days, and then an ambiguous error surfaced. Any idea why this code fails? def write_packaged_outputs(packaged_outputs): print("Writing [...] read more
We need to convert images (which is coming from the camera live stream) into video stream on the fly using ffmpeg binaries and c# project. We installed Aforge.net framework 2.2.4.1 in our system(windows 7,32 bit) and implemented the video recording coding using Aforge.video.Ffmpeg dll.It works fine as we expected.Then we [...] read more
UPDATE: I RECOMPILED FOR X86, AND NOW IT DOES WORK. BUT I STILL NEED TO KNOW WHAT HAPPENED HERE, AND WHY I NEED TO RECOMPILE ALL MY .NET APPS TO X86... I NEVER USED ORACLE AND I DON'T PLAN TO DO SO IN THE FUTURE. WHY IS IT MAKING ME [...] read more
I'm trying to get a classic ASP application working in 32-bit mode on our new Windows 2008 Server x64 with IIS 7.5. I've created an ApplicationPool named 'TEST' that is set to ASP.NET 2.0 in Classic mode and gone into Advanced Settings and set 'Enable 32-Bit Applications' to true for [...] read more
I have a website I'm working and im using Sql compact 4 sp1 for my database I have sql compact installed on my pc and it works fine, however I am having problems trying to deploy the site to a host. I have installed the nuget package "Microsoft.SqlServer.Compact" and have [...] read more
I bought the game Stardew Valley on steam, installed it, launched it. Nothing happened :(... When I took a look in the eventviewer I saw the following information: Application: Stardew Valley.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.BadImageFormatException at StardewValley.Program.Main(System.String[]) To [...] read more
I wrote a tool at work in .NET 5.0 that I now have to give to a non-developer to use. Unfortunately, no matter how I publish it I can't get it to run on her computer. Currently I have it set at: Configuration: Release | Any CPU Target framework: net5.0 [...] read more
System.BadImageFormatException: 'Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).' I'm getting this error while running this code to export from data grid view to an excel file. I've tried every solution [...] read more
I see the following error when running csi.exe: > System.BadImageFormatException: Could not load file or assembly 'xyz.dll' or > one of its dependencies. is not a valid Win32 application. (Exception from > HRESULT: 0x800700C1) Compiling in Visual Studio raises a warning but compiles and runs without problems: > There was [...] read more
I have a development server that will run packages from SQL Agent (according to schedule, and manually via Job Activity Monitor), but not by running it from BIDS or by two different ways on the command-line. The error we get in BIDS is: > 0xC0010026 at ACME Raise Error: The [...] read more
I am creating a simple application that records input from the microphone and store it into array of bytes. So I have searched a lot about this and eventually ended up using Directx DirectSound. Here is the code I am using: using Microsoft.DirectX; using Microsoft.DirectX.DirectSound; private Thread CaptureSoundThread = null; [...] read more
I have followed the instructions here. To cut a long story short, I just cannot connect to: https://machine/site/virtual directory/replisapi.dll?diag I get: HTTP Error 500.0 - Internal Server Error Module IsapiModule Notification ExecuteRequestHandler Handler ISAPI-dll Error Code 0x800700c1 Requested URL https://machine:443/site/virtual directory/replisapi.dll Physical Path C:\inetpub\SQLReplication\replisapi.dll Logon Method Basic Logon User machine\user [...] read more
When I try to run an emulator in Visual Studio it tell's me my Hyper-V can't start, the strange thing is that it used to work some time ago. Error starting emulator [https://i.stack.imgur.com/eVSxT.jpg] What I already discovered is that my Hyper-V virtual machine management service won't start up. Error starting [...] read more
I am facing issue with DynamicCompressionModule and StaticCompressionModule on my Windows server 2012 R2. DynamicCompressionModule and StaticCompressionModule are installed. When i open my website it shows below error- Module : DynamicCompressionModule Notification : SendResponse Handler : ExtensionlessUrlHandler-ISAPI-4.0_32bit Error Code : 0x800700c1 It gives error even i have <urlCompression doDynamicCompression="false" doStaticCompression="false" [...] read more
I'm trying to write a powershell script to execute a dtsx package that is already on the server. Installing the package wasn't an issue but executing is proving rather frustrating. Everything I've found online states that I need to load the ManagedDTS assembly and start with the following command to [...] read more
I have an IIS "site" set up with an app pool that uses .net 2.0. I have added a .NET "application" to the site that requires .net 4.0. I set the app pool for that specific site to use .net 4.0 but when I do I get a 500 error [...] read more
I currently just installed vSphere Client, from our vcenter server. The application launches, but when I try to create a new VM I'm greeted with this lovely error. \ Details: is not a valid Win32 Application. (Exception from HRESULT: 0x800700C1) I'm on a Windows 7 64 bit machine that is [...] read more
I really like coding in bash, but there used to be many limitations of bash functionality in Windows. Though now there are many benefits to the bash windows users now rather than how it was pre windows 10. However, with all of the improvements, there is one thing that I [...] read more
I'm an absolute beginner in asp.net and I want to follow this Microsoft tutorial. Problem is, right at the beginning, just after I have created my project, and try to "build without debugging", an error appears that says to me that build errors have been encountered. The output display this [...] read more
I scheduled a task on Windows-XP using schtasks utility, but the task does not run. Here is what I see in the SchedLgU.Txt log file: "MySQL Automatic Backup.job" (WampServer) 10/2/2010 6:36:43 PM ** ERROR ** Unable to start task. The specific error is: 0x800700c1: (Unable to find an error message) [...] read more
I have an old program made with Visual C# 2010. Now I would to use it again so I tried to compile on Visual 2017 Community but it launch an Exception on MicrosoftDirectSound. I understood that it's because is on 32bit so I would ask you if there is any [...] read more
SITUATION I am using the pyttsx3 module for my Alexa-like project. The source code I wrote all worked fine on my own PC, but now I am trying to get this thing to work on a Pi. * System : Raspberry Pi 4GB (64-bit quad-core processor) * OS : Windows [...] read more
I am trying to publish a test website in .Net 5.0 on an IIS on Windows 10. * I have .Net 5.0 installed * I have activated the IIS on Windows * I have installed the ASP.NET Core 5.0 Runtime (v5.0.1) * I have installed the dotnet-hosting-5.0.1-win * I have [...] read more
I need to run the vb6 32 Bit dll in .net application. When I run the application in X86 it works fine. But when I run the application in "Any Cpu" Configuration it gives Following Error: > Retrieving the COM class factory for component with CLSID > {AAA4DA7D-FC03-4BF7-B240-FA6F323D41EE} failed due [...] read more
I have a WPF application that runs fine on a Windows 10 x 64 development machine and a basic Windows 10 x64 VM. When put on a customer machine get an exception saying: DispatcherUnhandledEvent: Could not load file or assembly 'CLRWrapper.dll' or one of its dependencies. The specified module could [...] read more
By default, IIS installed the gzip compression HTTP module. Later, I had installed Brotli Compression HTTP Module for IIS to improve the compression ratio for browsing content. In the ApplicationHost.config, brotli has been added in the three places as the below. 1. globalModules 2. httpCompression 3. modules <system.webServer> <globalModules> <add [...] read more
I'm in the middle of upgrading my project from .Net Core 2.2 to 3.1, but I've ran into some issues. At first, by starting via the command line, I got an error message that the hostpolicy.dll couldn't be found in the output folder. To fix that I installed Microsoft.NETCore.DotNetHostPolicy, but [...] read more
I'm trying to build LLVM and run the unit tests, but I get multiple unit test errors. The failures have errors like the following $ ":" "RUN: at line 1" $ "c:\users\xxx\documents\llvm-project\build\release\bin\llvm-pdbutil.exe" "pretty" "C:\Users\xxx\Documents\llvm-project\llvm\test\DebugInfo\PDB\DIA/../Inputs/empty.pdb" # command stderr: llvm-pdbutil: An unknown error has occurred. HRESULT: 0x800700C1: Calling NoRegCoCreate I've done a [...] read more
I have ZK Teco Bio-metrics Attendance device. I need to integrate this device with my Asp.net project, so my team can remotely access the machine to check their attendance records. I have downloaded Official SDK and add references in my project and have gone through with the registry process to [...] read more
I've trouble setting up VS Code to debug C though I've followed the instructions here: How do I set up VSCode to compile C++ code? ( mx0's answers ). While runnig the built.bat task, it shows this in the output: > 'Build.bat' is not recognized as an internal command Or [...] read more
I'm facing this problem. I've searched for all sorts of solutions for this but to no avail, finally decided ask here. The web application is a .net 4.0 deployed with IIS in a staging server, it has been running fine up until recently. It runs fine in production and development [...] read more
I'm trying to write a function that takes in an existing Type, and converts the Type to a PropertyDeclaration. I almost have it working, but if the Type I pass in is Nullable, I get this error when I eventually try to compile my class with it: System.BadImageFormatException: is not [...] read more
I am trying to deploy an aspnet core app to Azure. This seems to have gone through OK but when I try to start up the app I am presented with the following error... Common causes of this issue: The application process failed to start The application process started but [...] read more
I am trying to run a Perl script in Windows 2012 R2 (64 bit) using schedule task. I am getting %1 is not a valid Win32 application. (0x800700C1) error. When I run this script from the command prompt it runs fine I have Strawberry Perl (64 bit) installed on this [...] read more
I am using MVC app having .net 4.5 and it was working fine in, 4 days back windows 10 update has happened and my IIS setting has gone. After that i couldn't able to run my MVC app in Visual studio and it starts giving > Could not load file [...] read more
I recently had my computer reimaged and reinstalled everything. Everything works except that from my localhost, if i browse a cgi page it throws > HTTP Error 500.0 - Internal Server Error The page cannot be displayed because > an internal server error has occurred. > > Module CgiModule > [...] read more
After resolving the problem with noteOn key event (thank you Justin) i noticed another two problems: too high delay and impossible playing simultaneously. Firstable i use IF statment: if (nutka == "A0" && msg.Velocity != 0) { clock.Schedule(new NoteOnMessage(outputDevice, Channel.Channel1, Pitch.A0, 80, 2)); } and this works excelent, no delay, [...] read more
The following error dialog pops up when I tried connecting to SQL Server Configuration Manager on my SQL Server 2012 production server: > Cannot connect to WMI provider. You do not have permission or the server is > unreachable. Note that you can only manage SQL Server 2005 and later [...] read more
OS: Windows 8.1 64 I tried to play multiple sounds in VB.Net with DirectX, there are no errors in my code. The problem is whenever the event is fired I get this error > System.BadImageFormatException was unhandled Message: An unhandled exception > of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll > Additional [...] read more
I'm getting this exception: System.BadImageFormatException was unhandled whenever I try to run a program compiled on my PC. I'm running the Okuma PC Sim software on my laptop. This happens even if I open and compile the API Test app that ships with the API. Below are the exception details: [...] read more
I have an ironpython script which I am launching in pycharm. The script imports custom c# assemblies and employs classes found within. Everything is fine when this script is launched at command line. The problem comes when I try to launch the script in pycharm. I get an error like [...] read more
i am getting a "... is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)" Exception with the following code, any suggestions how to fix it ? InkAnalyzer analyzer = new InkAnalyzer(this.overlay.Ink, this); analyzer.AddStrokes(this.overlay.Ink.Strokes); // Exception AnalysisStatus status = analyzer.Analyze(); read more
This problem seems to be pretty common to anyone dealing with c++/cli, but I'm missing something with the typical resolution path. I have a .Net assembly, PHD.exe, that has a reference to a c++/CLI dll. This DLL dynamically links a number of win32 native dlls. Exception text: > Main Window [...] read more
I have a wpf application that accesses data within a SQL Server CE database. The application and database are meant to be run on a PC without installation, however attempting to do so fails. (failure to locate db provider) I've taken the following steps: * System.Data.SqlServerCE -> copy local * [...] read more
I've created a very simple console app in .NET 4.0 that will run as a scheduled task. It looks for local files that are unmodified for a certain amount of time and then parses the file, inserts a record into a MySQL database, and copies the file to the network. [...] read more
I'm trying to simulate a keypress into another window, which is a game. The things that don't work are: * SendKey - Send the input as strings like some text or something but doesn't go for ENTER TAB or other critical keys * InputSimulator - Complete waste of time * [...] read more
I have been using SQL Server Management Studio for years. Yesterday, when I started hitting "new Query", I would get the following error in pop up form: > "is not a valid win32 application". I did a lot of googling, and I found this: http://blog.sqlauthority.com/2009/04/30/sql-server-fix-error-is-not-a-valid-win32-application-exception-from-hresult-0x800700c1/ Which is not at all [...] read more
I just installed CF64 on a WinServer2008x64 machine. Previously a whole array of classic ASP and ASP.Net apps were functioning, after the CF install they're not. I'm getting an http 500 on everything not coldfusion. I believe it's a mapping issue. CF seems to have dropped a wildcard handler mapping [...] read more
I created a TFTP boot server (Tiny PXE Server on Windows Server 2019). I create 3 different boot situation: Legacy mode, EFI 32, EFI 64 When using Legacy mode, I'm able to boot WinPEx32 or WinPEx64 to install Windows x86 or x64. When usgin EFI 32, I'm able to install [...] read more
Google Chrome won't update, even though I suspect the error is Windows related. Chrome isn't capable of updating itself. When going to "Help -> About Google Chrome", it shows this message: > An error ocurred when looking for updates: The update verification failed to > start (error code 3: 0x800700C1 [...] read more
Lately, it seems everyone will have this happen to them at my company. They are unable to search in Outlook past a certain date. I've verified when the errors start in the Event Viewer corresponding to when their search broke. The error is this: Log Name: Application Source: Microsoft-Windows-Search Date: [...] read more
I have tried making the script open with windows terminal (wt.exe) but it displays the error : [error 0x800700c1 when launching `"C:\Users\hjdom\OneDrive\Desktop\All desktop stuff\Python Game\RunGame.ps1"'] I really need it to run in the windows terminal because it allows you to keep typing commands after the script is over. I am [...] read more
I "own" a C# WinForms Desktop app that has about 30-50 users using it per day (usually constantly during their shifts). One of the things it does is call Microsoft.Office.Interop.Word and/or Microsoft.Office.Interop.Outlook in order to open up a new Word or Outlook document and then populate that document with information. [...] read more
Accord version 3.8.2 I am using Accord, Accord.video, Accord.video.FFMPEG Dll's for capturing the screen, my code is compiled to ANYCPU, everything works fine in 64 bit machine, but I am facing issue when it comes to 32 bit machine below is exception which I am getting. Exception occurred while loading [...] read more
I am using win32 client to open a microsoft word document. I would like to convert word version to 2016 and I am encountering error from win32com import client import pythoncom pythoncom.CoInitialize() word = client.Dispatch("Word.Application") word.Visible = True doc = word.Documents.Open(r'C:\Users\<username>\Documents\<filepath>\test.docx') doc.Convert() doc.Save() doc.Close() word.Quit() and I am having this [...] read more
I am building a .Net Core API with 3.0. It was all working well before a week, and for a couple of days it is now throwing a strange Error when I try to debug, as shown in the following Screenshot on the bottom left corner. enter image description here [...] read more
I have the .NET SDK installed on my Windows laptop and am able to run a simple C# HelloWorld program. .Net is installed at C:\Program Files\dotnet and I also have that set in my PATH variable. I'm now trying to run another .NET application. It's run with an exe but [...] read more
Specifically, got a DirectShow filter library in an .AX file, containing the Guliverkli MP4 splitter (version "20050310") downloaded from the MPC/Guliverkli SourceForge pages. I am experimenting with different DirectShow MPEG-4 splitters using GraphStudioNext (64-bit version), but now I see that it fails to import the filter from file (Graph -> [...] read more
I had an old VC++ project on VS2013, now I have converted that project to VS2O19. It is able to create the dll successfully. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>StaticLibrary</ConfigurationType> <PlatformToolset>v142</PlatformToolset> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> </PropertyGroup> But that .dll not able to load in my web application. It is throwing below error. Could not [...] read more
Ok I am pulling my hair out here I have come across this before. I have the following error. But I have them installed and .net core when I go to the links try and re install it says I already have the components installed only seems to be when [...] read more
After deploying to a newly created Azure App Service, I get this error: HTTP Error 500.0 - ANCM In-Process Handler Load Failure eventlog.xml shows these two lines: <Data>Failed to start application '/LM/W3SVC/1773510456/ROOT', ErrorCode '0x800700c1'.</Data> And <Data>Could not find inprocess request handler. Captured output from invoking hostfxr: </Data> I am deploying [...] read more
I would to like update the database but when i run : 'update-datebase' or the command : `add-migiration' in the Package Manager Console it give this error Failed to load the dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7\hostpolicy.dll], HRESULT: 0x800700C1 An error occurred while loading required library hostpolicy.dll from [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7] Things that [...] read more
I am using VS 2019 Package Manager Console. I've been using this Scaffold-DbContext successfully in the past days. But today, suddenly I got an error and I can't seem to figure it out. Restart didn't work out. Clean/Rebuild didn't help, either. PM> Scaffold-DbContext "Server=MYPC;Database=MyProject;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Force Failed to [...] read more
I have a C# application that runs well on my work laptop. However, the same application cannot run on my home laptop, I get an error saying: System.BadImageFormatException HResult=0x800700C1 Message=Could not load file or assembly 'xxx.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: [...] read more
i'm having a problem with my built Application. I have a project taken from here modified it and implemented in my program. Shortly, this TableProc project generates a report to OpenOffice Calc and uses some libraries from OpenOffice - cli_basetypes (GAC/MSIL), cli_oootypes (GAC/MSIL), cli_uno (GAC/MSIL), cli_ure (GAC/MSIL), cli_uretypes (GAC/MSIL) AND [...] read more
I've written a small Media Foundation Transform and added the C++ DLL to my C# Windows Store App project. The 32bit version of the DLL running the x86 configuration works just fine but x64 doesn't work (it throws an Exception with the following message: > "MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT - 0x800700C1") [...] read more
I have an application that works on most Windows 10 (64-bit) systems, but there are 6 computers that are getting this same BadImageFormatException. The application and libraries are targeting AnyCPU. When attempting to create a COM object from the assembly, I get the exception: > Could not load file or [...] read more
Getting the following error Error event: SourceId='System.Hosting', Property='CodePackageActivation:Code:EntryPoint'. There was an error during CodePackage activation.Service host failed to activate. Error:0x800700c1` If I attempt it on a linux service fabric cluster, the error changes some. So thinking the windows cluster is failing on the entyPoint.sh script as windows doesn't have bash. [...] read more
For security tests, a vbs script called msf.vbs is created which used to execute payload generated by metasploit. ex: cscript.exe %temp%\msf.vbs <payload> If the script is used in cmd.exe on localhost, everything goes well. But if it is used in netcat cmd shell, the payload will be broken. ex: * [...] read more
This error after deploy on godaddy at local it works fine Could not load file or assembly 'ClearScriptV8-32.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) any solution ? read more
I have desktop application and want to convert it to an uwp application. I use desktop app converter with powershell. I am trying to convert my startup projects exe, but everytime i try execution stops at > Running Installer in Isolated Environment > > VERBOSE: No installer valid exit codes [...] read more
I've just installed Visual Studio Code v1.7.1 to write my c++ code in for my degree. My programming level is pretty basic, but I like what I've seen of VS Code so far, save for the fact that I've no idea how to debug or build my code. I've looked [...] read more
In my code, I want to create dinamically an istance to an assembly using : System.Reflection.Assembly myDllAssembly = System.Reflection.Assembly.LoadFile(targetdllpath); If my target dll is compiled as "AnyCPU", it works succesfully. Now, I have to compile my target DLL as X86 because it must to use a COM object. So, LoadFile [...] read more
THE PROBLEM I HAVE WITH THE KNOWLEDGE THAT EVERYTHING WAS IN WORKING TIME WITHOUT A PROBLEM An unhandled exception of type 'System.InvalidOperationException' occurred in myprogram.exe Additional information: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'System.Data.dll' or one of [...] read more
I have a .NET Application (VB Winforms) that runs a main executable. On startup this executable will search for plugins and will load them in using System.Reflection.Assembly.Load() I then use interfaces to add menu icons from the plugins into the main app's icon bar so forms from the plugins can [...] read more
I can install AutoItLibrary, while when import it from RIDE, it always shows red. And the log file: Traceback (most recent call last): Initializing test library 'AutoItLibrary' with no arguments failed: com_error: (-2147024703, 'OLE error 0x800700c1', None, None) Traceback (most recent call last): File "C:\Python27\lib\site-packages\AutoItLibrary\__init__.py", line 79, in __init__ self._AutoIt [...] read more
I have built a desktop app that controls a piece of 3rd party hardware using their provided .dll (I am relatively confident that this is a 64bit .dll since it is running fine in VS2015 compiled with either AnyCPU or x64). Everything works just as expected when used as a [...] read more
In form1 designer I have menustrip with Open menu. Just dragged from toolbox menustrip added Open menu. when running the program and clicking the Open I can't use a break point it's not even get there but throw this exception first: > Could not load file or assembly 'Microsoft.DirectX.AudioVideoPlayback.dll' or [...] read more
I'm trying to deploy Win UWP app to RPi2 with IoT, I did this month ago successfully but since then I get few upgrades from Insider Program on Windows 10 and while I building and deploying project for Remote ARM now I'm getting following error: 2>------ Deploy started: Project: UWP1, [...] read more
I have an Asp.Net Web Api project that uses a 32 bit dll. I can deploy and use the application on IIS my own machine after changing Enable 32 bit Applications property of the application pool to true. Here are the properties of my windows and IIS: enter image description [...] read more
I built the app using SQL Server CE 4.0 and it runs just fine in Windows 7.0 dev machine, but got the following error message running it in Windows 8 (x64 version, Lenovo All-In-One Horizon 27' HW platform): > Is not a valid Win 32 application (Exception from HRESULT: 0x800700C1) [...] read more
I come across a problem that I am not able to figure out. Basically, I downloaded a sample program written in C# and I compiled it using Visual Studio community 2015. At first, I used trial version of VS community 2015 without registering, and the program ran well. But after [...] read more
I had a Perl script using Win32::OLE to access a MS Word file. It worked fine with MS Office 2010 but does not after I updated to MS Office 2013 32bits. I have then tried with latest versions of ActivePerl both 32 bits and 64 bits. I am using Windows [...] read more
Firstable I am not a PRO programmer but only a student who hava a little problem with an excelent library Midi-Dot-Net. I use a Midi-Dot-Net library to write a simple application in Visual Studio in C# language. But I stuck on a very confusing problem. I placed a little code [...] read more
I have been struggling now for a few hours getting this working without any real success. I am trying to install ReportViewer 2012 (v11) including SQLSysClrTypes.msi with my installer. My registry checks are as follow and seems to work: <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server 2012 Redist\SQL Server System CLR Types\CurrentVersion" [...] read more
It is working on local IIS on Windows 7, but give this error on Windows Server 2012 IIS 8.5. ClearScript version: 5.4.0.0 C++ Redistributable 2013 Installed. C++ Redistributable 2013 Installed [https://i.stack.imgur.com/lA19m.png] I've used AssemblyResolver from https://clearscript.codeplex.com/discussions/438696 Getting error BadImageFormatException: Could not load file or assembly 'ClearScriptV8' or one of its [...] read more
I'm developing an application on a Win7 x64 machine. There's some code that makes a call to an external .dll file. The .dll was built for 32-bit machines. The problem I'm having is when running the app in the debugger in Debug configuration, it works fine. As soon as I [...] read more
I was reading chapter 20 "Automation" of the book by Jeff Prosise "Programming Windows with MFC", 2nd ed. There are instructions on how to create a small automation server with methods long Add(long, long), long Subtract(long, long), and a property double Pi. There's also a script in VBScript to test [...] read more
I am new in C#. I had create a project and i make it executable. I install it to another PC and it runs. I had a picturebox button and when you click on it, it will change the picture. In my PC works perfect because the directory with .gif [...] read more
I have written a prolog program and I want to use the program within C#, that is i want to ask queries to swi-prolog and use answers within my C# code... I have tried SWI-Prolog interface to C# at : http://www.swi-prolog.org/contrib/CSharp.html My code is like as follows....: Environment.SetEnvironmentVariable("SWI_HOME_DIR", @"C:\Program Files [...] read more
I recently installed Windows 7, 64 bit on my machine to try my hands at 64 bit, the website always worked fine on 32 bit Windows 7 (VS 2008 was development environment). This website is being developed on Visual Studio 2008 targeting .Net 3.5 fx and ASP .NET MVC1. On [...] read more
I have refered a 64-bit com interop dll in a c# class library project and have the code to initialize it, this library is used in a asp.net project. Since the business layer project and asp.net is in c# i have configured to be for Any CPU platform. Also i [...] read more
I had setup an app to play a video using the library suggested here this worked great for me for a long time until my machine was upgraded. In windows 7 I get the following exception that I'd never seen under XP: `System.BadImageFormatException: is not a valid Win32 application. (Exception [...] read more
Dear Internet community. I am looking into an issue for a client who is experiencing problems with migrating to 64-bit based Windows 7 client machines. One of their programs is dependent on a third-party library that kicks up a fuss if the current application is not 32-bit. MyClientApplication calls into [...] read more
I keep getting the same error when attempting to run IntelliTrace on a Managed Windows Service under a 64 bit installation of Windows 7 > .NET Runtime version 4.0.30319.239 - Loading profiler failed during > CoCreateInstance. Profiler CLSID: '{301EC75B-AD5A-459C-A4C4-911C878FA196}'. > HRESULT: 0x800700c1. Process ID (decimal): 3772. Message ID: [0x2504]. The [...] read more