I want to copy at least one file to a windows phone via MTP. I am able to connect to the phone and copy files from the phone to the computer following this tutorial: WPD: Transferring Content However I am unable to copy files the other way round (from computer [...] read more
I have a generic method for serializing an array of any struct type into an array of bytes using Marshal.StructureToPtr and Marshal.Copy. The full code is: internal static byte[] SerializeArray<T>(T[] array) where T : struct { if (array == null) return null; if (array.Length == 0) return null; int position [...] read more
I am getting the error "The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A)" when trying to create a scheduled task on a particular windows machine. The problem description is identical to that described in this Microsoft KB article I followed their steps to [...] read more
I'm using Wix XmlConfig to change an XML file, especially. The following code will throw exceptions: > SchedXmlConfig: Error 0x8007007a: failed to copy XmlConfig record Id > SchedXmlConfig: Error 0x8007007a: failed to read XmlConfig table Error 25540. > There was a failure while configuring XML files. <util:XmlConfig Id="AdvancedLogging_InterACT_LogDefinition_selectedFields_Date_UTC_id" File="$(var.ApplicationHostConfigPath)" ElementId="AdvancedLogging_InterACT_LogDefinition_selectedFields_Date_UTC" [...] read more
I have a .wxs file which uses couple of statements to create/drop/update the database. Also it has the 2 which is configured to WindowsAuthentication and SQL Authentication. Here I have a scenario where the Database server is configured at default DB port:1433 or non default port number. To make this [...] read more
I'm trying to use the Antimalware Scan Interface (AMSI) via C#. I know that there are implementations out there that use the AmsiScanBuffer method, but I want to scan much larger files. So I want to use the IAntimalware COM interface which is defined in amsi.h. So far, I've come [...] read more
We are having an issue related to starting a few in house developed .NET applications on Windows 10 Version 1607 machines. Sometimes starting an application doesn't succeed. This is because loading a dependent .NET assembly fails. The error message is: > System.IO.FileLoadException: Could not load file or assembly '[assemblyname], > [...] read more
The message defined in the title of this post, along with the HResult 0x8007007A occasionally occurs while creating an instance of a Windows Workflow Foundation Runtime. The error text is pretty self explanitory, and using Reflector over the Workflow Foundation assemblies I have narrowed down the problem to one of [...] read more
I am using Windows 10 version 20H2 Professional Edition (x64) version number 10.0.19042.906. I have encountered a problem when installing updates today, all other updates installed successfully except for "2021-04 Cumulative Update for Windows 10 Version 20H2 for x86-based Systems (KB5001330)", this update fails to install every time I try, [...] read more
I am working on a WPF application under .NET Core 3.1 which should support drag & drop of one or multiple files. When dropping the file(s), I use IDataObject to retrieve the list of dropped files as follows string[] files = dataObject.GetData(DataFormats.FileDrop) as string[] ?? new string[] { }; which [...] read more
I have a Java API that I want to access via c# code running on centos (Linux) running in the .Net-Core 3.1.100 version. Consequently I wish to pass a structure array from c# to native code responsible for launching the JVM and doing the java stuff. My problem was that [...] read more
I am working on a projected developed using WEB API2 and AngularJS. I am created report in PDF using pdfmake.js. It works fine for Firefox. But for security reason, I like to restrict the user to use Internet Explorer. Because I need to identify the user terminal using MAC Address. [...] read more
I am using jqplot graph, in that i am trying to save the graph as image by using jqplotSaveImage(), but when i triggered this function i get the following exception, Unhandled exception at line 3, column 146939 in jquery.jqplot.min.js 0x8007007a - JavaScript runtime error: unknown exception Any idea how to [...] read more
I have an issue with WinInet's InternetReadFile (C++). In some rare cases the function fails and GetLastError returns the mentioned error 0x8007007a (which according to ErrorLookup corresponds to "The data area passed to a system call is too small"). I have a few questions regarding this: 1. Why does this [...] read more
I used TaskScheduler.dll (1.0) to create and register a task. It registers the task and runs on my machine. But when i deployed the executable to a diff machine it threw and exception -The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A). What i [...] read more
I am currently working on a custom action in a DLL that I export to be used by a WiX installer and I recently discovered the following error in the log when I ran the installer: <exported_name_cut_off>: Error 0x8007007a: Failed to copy CustomAction log name: <exported_name_NOT_cut_off> As I am relatively [...] read more
I am using server side processing for my datatables in MVC 2.0 hosted on a server using IIS 7.0. I have a controller which I am using to handle the incoming requests. When I view the page on my localhost , it works fine and this is a sample of [...] read more
I've got a quite old VS6 app that is generating error 0x8007000E (ERROR_OUTOFMEMORY "Not enough storage is available to complete this operation.") in a call to LookupAccountSid. The call that fails is just trying to determine how large the buffers need to be to use in a second call to [...] read more
** MAJOR UPDATE ** I made a minor mistake but I'm still curious about exactly what is happening. The function I am calling is actually "fooV", a function with this signature: foo(const char *, const char *, EnumType, va_list) This clears up the AccessViolationExceptions I was getting, but doesn't explain [...] read more