i created a new project, added some textboxes and labels with one button.
when i built the project the first time, i just got the error:

general error c101008d: Failed to write the updated manifest to the resource of file "..\Debug\Login.exe". Access is denied. mt.exe Login

someone help me please!

Dani AI

Generated

For : the mt.exe "access denied" error when embedding a manifest almost always means the build output is locked or not writable — not a problem with the source code. That makes ’s request for source unnecessary and puts ’s permission/lock suggestion on the right track. The following is a short, prioritized checklist to diagnose and fix the problem.

First, verify the executable isn’t still running or stuck by the debugger. From an elevated command prompt, list and forcibly stop any instance named Login.exe:

tasklist /fi "imagename eq Login.exe"
taskkill /F /IM Login.exe

If the process is not visible but the file is still locked, use Sysinternals Process Explorer (run as admin) and Ctrl+F to search for "Login.exe" — it shows the process holding the handle so that handle can be closed or the owning process terminated. The Sysinternals handle.exe tool can also list handles:

handle Login.exe

Next, check file attributes, source-control locks, cloud-sync or antivirus interference. Remove a read-only bit and try again:

attrib -R "..\Debug\Login.exe"

If the project folder is inside Program Files, a network share, or a synced folder (Dropbox/OneDrive), move it to a user-writable location or exclude it from real-time AV/scanning. After each change, use Clean and then Rebuild.

As a last-resort workaround for diagnosis, temporarily disable manifest embedding in project properties (search "manifest" in properties) to see whether mt.exe is the blocker — but don’t leave that off permanently. If the issue persists after these checks, the usual culprits are a lingering process, antivirus/cloud lock, or permission problems on the output path.

Recommended Answers

All 2 Replies

LOL where is the source code... how can we know what the program is doing just by u giving us a name?? And please insert the source code into code tags..

It probably doesn't have to do with the source code. I think it is because that the compiler/IDE you are using doesn't have write permissions for your target. Try running your compiler/IDE in administrator mode and then building the project again. If that doesn't work, you could try deleting the target executable from a previous build.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.