Windows error 0x8007007A, -2147024774

Detailed Error Information

INSUFFICIENT_BUFFER[1]

MessageThe data area passed to a system call is too small.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code122 (0x007a)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x0000007a.

Questions

4votes
1answer

Copy files with WPD to Windows Phone C#

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
c#
windows-phone-8
mtp
wpd
3votes
2answers

Serializing Array of Structs to byte[] - What's Wrong with my Code?

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
c#
.net
marshalling
unmanaged-memory
2votes
2answers

ERROR 0x8007007A when trying to schedule a task

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
windows
scheduled-tasks
2votes
1answer

Error 0x8007007a: failed to copy XmlConfig record Id

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
wix
wix3.7
wix-extension
2votes
0answers

Use Port number for <sql:SqlDatabase> in wix

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
wix
1vote
1answer

Using IAmsiStream from .Net leads to AccessViolationException

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
c#
c++
.net
com
com-interop
1vote
1answer

System.IO.FileLoadException during loading .NET assembly: error 0x8007007a

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
c#
.net
binding
.net-assembly
fusion
1vote
1answer

COMException: The data area passed to a system call is too small

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
.net
workflow-foundation
com-interop
0votes
0answers

Error code 0x8007007a when installing Windows Update KB5001330

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
windows-10
windows-update
0votes
0answers

IDataObject.GetData path length limitation

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
c#
wpf
.net-core
0votes
0answers

InteropServices.COMException thrown when passing c# structure to c++

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
c#
c++
linux
.net-core
0votes
1answer

I Can not open created PDF on new tab genered by PDFMake.js in Internet Exploer

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
angularjs
internet-explorer
pdf
window.location
pdfmake
0votes
1answer

In jqplot graph, jqplotSaveImage() is not working

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
jquery
exception
graph
jqplot
0votes
1answer

WinInet InternetReadFile returns 0x8007007a (The data area passed to a system call is too small)

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
c++
wininet
0votes
1answer

task created through TaskScheduler.dll failed through exception - The data area passed to a system call is too small

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
c#
scheduled-tasks
0votes
1answer

CustomAction log name error 0x8007007a in WiX

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
windows
dll
installation
wix
naming-conventions
0votes
1answer

500 internal server on IIS

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
asp.net
iis
datatables
0votes
1answer

Error 0x8007000e in LookupAccountSid()

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
c++
windows
winapi
0votes
1answer

Can you PInvoke multibyte ANSI to a varargs? What am I doing wrong?

** 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
string
internationalization
pinvoke
variadic-functions

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0