I have an Azure web app that I'm deploying from VSTS. This was working fine previously but is now returning with the following: > 2018-08-07T14:24:57.1655319Z Info: Adding directory > (dsadminportal-dev\wwwroot\assets\css\plugins\datapicker). > > 2018-08-07T14:24:58.2654020Z ##[error]Failed to deploy web package to App > Service. > > 2018-08-07T14:24:58.2665943Z ##[error] Error: (8/7/2018 2:24:57 PM) [...] read more
I'm unable to publish (WebDeploy) my Azure Function App (It's a Durable Function, I know it deosn't matter, but, just in case if matters). This started happening today. I'm getting a "Publish Failed" popup and the below error message in the output window of my Visual Studio. Error Message <ProjectName> [...] read more
Here is what I want: I have a huge legacy C/C++ codebase written for POSIX, including some very POSIX specific stuff like pthreads. This can be compiled on Cygwin/GCC and run as an executable under Windows with the Cygwin DLL. What I would like to do is build the codebase [...] read more
I am using DllImport to access some functions in a C++ dll from my C# application. This code works fine on my dev laptop, which is Windows 7 64bit, the dll itself is 32 bit, so I run the process hosting the dll in 32bit and it works well. However [...] read more
I am trying to obtain a privilege in my .NET 4 C# application. This code works and the privilege is obtained successfully, but only on 64bit systems. When the same code is run on a 32bit system, the code fails at AdjustTokenPrivileges with this exception: Invalid access to memory location. [...] read more
I was testing on a customer's box this afternoon which has Windows Vista (He had home, but I am testing on a Business Edition with same results). We make use of a .DLL that gets the Hardware ID of the computer. It's usage is very simple and the sample program [...] read more
I have this code in c++ which I exported by a dll: typedef struct { unsigned short major; unsigned short minor; } Version; EXPORTED_FUNC Result Init(Version *version, char *file); extern "C" Result Init(Version *version, char *file) { if (file) { if (!GFile.init(string(file))) { return INVALID_PARAMETER; } if (version) { version->major [...] read more
If I install either KB2533623 or KB2507938 on a Win 7 or a Win 2008, it kills my ASP.NET 3.5 application. The actual error I receive when loading the project is : > Invalid access to memory location. (Exception from HRESULT: 0x800703E6). I don't have the full stack trace, but [...] read more
I must be missing something here; going crazy.. I'm using VS2010 C#, developing a Windows Form application in C#. In the same solution I have a c++ dll project that outputs it's DLL to the same "/bin/" folder as the C# executable. I'm looking at the folder and the file [...] read more
I'm using Microsoft Visual Studio Express 2012 for Windows Desktop (Administrator) I have a project library FOO.DLL with "Copy to output directory" clicked to "Copy always". Most of the time this DLL loads correctly and everybody is happy. Sometimes, I get a System.DllNotFoundException with message: Additional information: Unable to load [...] read more
My SSIS extracts data from Oracle DB and loads into the excel file. I am running this package via SQL Job. Now to use Excel providers I have to use 32 bit environment. So I've changed the SQL JOB execution to "Use 32bit runtime". But now my oracle task is [...] read more
I have strange problem with loading assembly from file and unfortunately I can't reproduce it with simple easy-to-share code. I describe what I'm doing right below. I have 4 applications: 1. "Complex Invoker" - the foreign(not mine) open source application, which is the computer game actually, for which I'm writing [...] read more
I'm trying to run the following PowerShell command under WinPE (Version 10.0.10586.0): Get-WmiObject -Class Win32_ComputerSystem But I get this error: Get-WmiObject : Invalid access to memory location. (Exception from HRESULT: 0x800703E6) At line:1 char:1 + Get-WmiObject -Class Win32_ComputerSystem + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-WmiObject], BadImageFormatException + FullyQualifiedErrorId : [...] read more
I am using a third party .dll (from this website) which generates Hardware ID. I am using it as per the direction provided on that site. [DllImport("HardwareIDExtractorC.dll")] public static extern String GetIDESerialNumber(byte DriveNumber); private void btnGetHardwareId_Click(object sender, EventArgs e) { MessageBox.Show(GetIDESerialNumber(0)); } But it is raising the following error- Unable [...] read more
My code is looks like this: WebBrowser browser = new WebBrowser(); browser.Width = 700; browser.Height = 200; **browser.Url = new Uri("about:blank");** browser.DocumentText = mytext; and the error occurred in highlighted line ie: > BadImageFormatException was unhandled: Invalid access to memory location. > (Exception from HRESULT: 0x800703E6). I have search in [...] read more
I am trying to Connect to Quality Center using a WPF application on Visual Studio Express 2012. My system configuration is Windows 7 64 bit. I have added a reference to OTAClient.dll in the project. The Embedded Interop types property for this dll is set to true. Searching for similar [...] read more
I have a project that was built in Visual Studio 2005 in C#. I created an installer for the Windows application (in VS2010) and it installs and works fine on Windows XP SP3. I tried installing it on Windows 7 32-bit and it says installation is successful but when I [...] read more
I'm trying to use native dll, using DllImport. And I receive such error. System.DllNotFoundException: Unable to load DLL 'my.dll': Invalid access to memory location. (Exception from HRESULT: 0x800703E6) That dll loads normally when is called from native code (it is used from delphi app). But when I call it from [...] read more
I am running Windows 7 Ultimate 64 bit. I have a windows service (written in C#) that calls into a dll released by an major telecoms service provider here in South Africa (TELKOM). The dll is called MPIEst.dll, and I believe it was written in C++. The guy at the [...] read more
I am getting error “System.DllNotFoundException: > Unable to load DLL 'swedll32.dll': Invalid access to memory location. > (Exception from HRESULT: 0x800703E6)' while Form1 loads. That dll is a 32 bit native or unmanaged dll written in C. I am using 64 bit Windows 10 and visual studio 2019. I tried [...] read more
I am getting error “System.DllNotFoundException: 'Unable to load DLL 'swedll32.dll': Invalid access to memory location. (Exception from HRESULT: 0x800703E6)'” while Button1.Click. That dll is a native or unmanaged dll written in C. I am using 64 bit Windows 10 and visual studio 2019. Please help. Thanks Public Class Form1 Public [...] read more
I have a C# program that uses a C++ dll and sometimes I get the exception "Invalid access to memory location. (Exception from HRESULT: 0x800703E6)" (I mentioned in the code where). When I run it using VisualStudio it doesn't fail but when I use the exe file it sometimes crashes [...] read more
I'm developing an application (C# winforms) that relies upon a vendor-supplied DLL which communicates with hardware. If I choose a target framework of .NET 4 (or anything higher), I get the following message when attempting to call a method in the referenced DLL: > DllNotFoundException: Unable to load DLL 'somelibrary.dll': [...] read more
This is my first attempt at clustering CF instances and so far has not worked for me. The server is Windows Server Standard Serviec Pack2, IIS 7, Coldfusion 9.0.2 Enterprise Edition, multi server installation. I created 2 CF instances, cluster1 & cluster2. In the main cfusion instance I created the [...] read more
I'm running into a strange problem. I have some code to enumerate Video Input devices, choose one, then get the IBaseFilter for it so I can use it. The original code was a mix of C# and C++, with the DirectShow code in a C++ DLL. This code has worked [...] read more
We use a MD5 hashing algorithm in our app. One of our users gets the following exception on the line Dim hasher=new MD5CryptoServiceProvider The Exception states (in dutch) > Exception: System.DllNotFoundException; Source Kan DLL bcrypt.dll niet laden: > Ongeldige toegang tot geheugenlocatie. (Uitzondering van HRESULT: 0x800703E6); > Message: bij Microsoft.Win32.Win32Native.BCryptGetFipsAlgorithmMode(Boolean& [...] read more