Run the ASP.NET site in Windows2003 appears in System.executionEngineException error

xiaoxiao2021-03-06  41

Run the ASP.NET site in Windows2003 appears in System.executionEngineException error

date:

2005-02-17

Author: floodzhu

Remarks:

Error phenomenon

Environment: Windows 2003 Enterprise Edition Chinese version; VS 2003; ASP.NET 1.1.

Create a simple ASP.NET application with VS2003 - Create one with the wizard, set the WebForm1 to the start page, then start debug, then pop up an error dialog box as follows ([Real-Time Debug] Exception "System.executionEngineException "In / LM / W3SVC / 1 / Root / WebApplication1-2-127530596448281250 happens. Possure ...):

2. Try to solve

After viewing the help of MSDN and search online (see someone like me in a foreigner), I have worked more, including:

Reinstall .NET Framework, do not install on Win2003, saying that the system has been bringing, shit. Use the site instead of the virtual directory. failure. Start the process with the System (by modifying the DEFAULTAPPPPOOL> Properties> Identity> Predefined Account: Network Services -> Local System). failure. Reinstall ASP.NET (ie, run aspnet_regiis.exe -i). failure. Uninstall the IIS service and ASP.NET, then reinstall. failure. Reinstall the VS2003 (crying). Create a new ASP.NET, run successfully, reinstall PetShop, run failure, create new ASP.NET, run, failed. Fix the installation of Windows2003 (crying again). Create a new ASP.NET, run successfully, reinstall PetShop, run failure, create new ASP.NET, run, failed. Perform Windows Update. failure. Install Active Directory and upgrade as the primary domain controller. failure. And the sequelae: the boot speed is very slow, there is 3 minutes, My God ..., then I have to kill the Active Directory, and then I will lose it when I log in. To use administrator to log in, decline, you are a dual system, switch to another system, restore Documents and Settings, and the loss is relatively small. ......

In summary, it has been able to think of it. It lasted n hours, the results still failed. Do you want to reinstall the operating system? That's too cruel ...

3. Solution

I have been confused is that I am also the same configuration in the company's machine, why don't there be this phenomenon? (It should be said that it is not a character problem :)) In addition, you should create temporary files in% systemroot% / microsoft.net / framework / v1.1.4322 / tempt / framework / v1.1.4322 / temporary asp.net file on the company's machine And why don't you do at home? Yes, maybe I didn't install .NET Framework upgrade patch? So I rushed to MSDN to download Microsoft .NET Framework 1.1 sp1 for Chinese version of Windows 2003. Download Page (Chinese): Microsoft .NET Framework 1.1 Service Pack 1 for Windows Server 2003 Microsoft .NET Framework 1.1 Service Pack 1

After installing SP1, run the ASP.NET program, haha, finally appeared below:

Server errors in the / WebApplication4 application.

-------------------------------------------------- ------------------------------

Access to the path "E: /WINDOWS / Microsoft.Net/framework/v1.1.4322/temporary asp.net files / webapplication4 / 3b932cbd / 81fe9b81" is rejected

I just set this question in the past few days, add the user network service to the directory E: /WINDOWS / Microsoft.Net/framework/v1.1.4322/temporary ASP.NET Files, and give it "Modify" permissions, OK, is very good.

转载请注明原文地址:https://www.9cbs.com/read-57205.html

New Post(0)