Article ID: 316091 - View products that this article applies to.
This article was previously published under Q316091
When you create a .NET application executable (.exe) file, copy the file to a computer on which the .NET Framework is not installed, and then attempt to run the .exe file from that computer, you may receive the following error message (or messages):
Unable to Locate DLL - The Dynamic Link Library mscoree.dll could not be found in the specified path.
Please set registry key HKLM\Software\Microsoft\.NETFramework\InstallRoot to point to the .NET Framework install location.
This behavior occurs if the Microsoft .NET Framework is not installed on the target computer. Applications and controls written for the .NET Framework require that it be installed on the computer on which the application or control runs.
To resolve this issue, install the .NET Framework on the target computer. To do this, browse to the following MSDN Web site:
How to Get the Microsoft .NET Framework
Steps to Reproduce the Problem