Article ID: 822485 - Last Review: December 3, 2007 - Revision: 2.6 How to debug managed-client applications that are started by using a URL in Visual Studio .NET or in Visual Studio 2005
On This PageSUMMARYThis article describes how to use the IEExec.exe application
to debug managed-client applications that you start by using a URL in Microsoft
Visual Studio .NET or in Microsoft Visual Studio 2005. Discuss the IEExec.exe applicationThe IEExec.exe application is an undocumented Microsoft .NET Framework application that is included with the .NET Framework. You can use the IEExec.exe application as a host to run other managed applications that you start by using a URL.For example, when you start a smart client by using a URL, no processes run with the smart client name. Instead, each application that you start by using a URL receives its own copy of the IEExec.exe application. The IEEXEC.exe application sets up the appropriate environment for the application to run in. Typically, the IEExec.exe application works closely with Microsoft Internet Explorer to help you start the .NET Framework applications. The IEExec.exe application hooks to Internet Explorer version 5.01 and later to listen for assemblies that are requested. During a request, the executable is downloaded to the assembly download cache. Internet Explorer spawns a process for the IEExec.exe application and then passes the raw evidence information of the executable to the IEExec.exe application. The IEExec.exe application then uses the raw evidence information to set up an environment that has constrained-security settings for the executable. Use the IEExec.exe applicationThe following table provides information about the features that you can use in the IEExec.exe application with the .NET Framework 1.0:Collapse this table
Important How you use the IEExec.exe application that is included with the .NET Framework 1.1 is different from how you use the IEExec.exe application that is included with the .NET Framework 1.0. In the .NET Framework 1.1, the IEExec.exe application only accepts the url parameter. The IEExec.exe application does not permit you to specify the zone setting and the site setting. If you try to specify the zone setting and the site setting, you receive the following error message at runtime: ArgumentException Create a Console Application project
Configure Visual Studio .NETYou must configure Visual Studio .NET to debug the Console Application project. To debug the Console Application project, you must run the Console Application project in the IEExec.exe application. To do this, follow these steps:
REFERENCES For additional information, click the following article
number to view the article in the Microsoft Knowledge Base: 313892
(http://support.microsoft.com/kb/313892/
)
HOW
TO: Use the IEHost log to debug .NET object hosting in Internet
Explorer
For additional information about code access
security, visit the following Microsoft Developer Network (MSDN) Web site:http://msdn2.microsoft.com/en-us/library/930b76w0(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/930b76w0(vs.71).aspx)
For additional information about security policy management, visit
the following MSDN Web site:http://msdn2.microsoft.com/en-us/library/c1k0eed6(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/c1k0eed6(vs.71).aspx)
For additional information about the .NET Framework Configuration
Tool (Mscorcfg.msc), visit the following MSDN Web site:http://msdn2.microsoft.com/en-us/library/2bc0cxhc(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/2bc0cxhc(vs.71).aspx)
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |





















Back to the top