Windows error 0x80070497, -2147023721

Detailed Error Information

UNABLE_TO_REMOVE_REPLACED[1]

MessageUnable to remove the file to be replaced.
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 Code1175 (0x0497)

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

Questions

3votes
0answers

COMException while adding paths to a ShellLibrary

I'm using Windows 7's Shell Libraries to overwrite an existing library and add new paths to it, using the managed wrapper available through the Windows API Code Pack 1.1. Every now and then, I can't seem to reproduce this in any way, a COMException is thrown while adding the paths [...] read more
c#
windows-api-code-pack
3votes
1answer

Why do only files with my file extension show up in the Windows 7 jump list?

I am trying to properly integrate our app with the Windows 7 Jump Lists. We allow opening files within the application and I added this a while ago to add the items to the jump list: var list = JumpList.CreateJumpList() list.AddToRecent(file); list.Refresh(); where JumpList is from the WindowsAPICodePack There were [...] read more
c#
windows-7
jump-list
2votes
0answers

UWP File Management

Why does saving a file fail so often on UWP? I open and read the contents of a specified file when the application is initially launched (with the help of a BackgroundWorker). Then when the application is suspending I try to save new content to the same file, however this [...] read more
c#
file
uwp
save
load
0votes
0answers

uwp inability append text to File

I create a text file by this code: StorageFile file = await DownloadsFolder.CreateFileAsync( listFile.Name, CreationCollisionOption.GenerateUniqueName); try { await FileIO.AppendTextAsync(file, user.ID + ", " + user.Username + "," + name + ", " + user.Follower + ", " + user.Following + ", " + user.Post + ", " + user.MidLike + [...] read more
c#
file
uwp

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