Problem: cannot execute a program. The command being executed was "c: \ windows \ Microsoft. NET \ framewor

Source: Internet
Author: User

Today, as usual, the project cannot be logged on. And throw an exception. "Cannot execute a program. The command being executed was" C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ csc.exe "/noconfig/fullpaths"

Check the Internet, saying that this problem will occur when accessing WebService.

"If you use Simple Object Access Protocol (SOAP) to callWebServicesMethod from an. ASPX page, the. ASPX page may fail when you run the Microsoft Internet Information Services (IIS) Lockdown tool. In addition, you may receive the following error message:

[Externalexception (0x5): cannot execute a program. the command being executed was "D: \ winnt \ microsoft.net \ framework \ v1.0.3408 \ csc.exe"/noconfig @ "D: \ winnt \ temp \ eyrpuhyg. using line ".]

This problem only affects Web applications or Web services that are clients of a Web Service and that impersonate the anonymous user account ."

 

According to your own situation, it seems that you are experiencing problems accessing WebService. Because when we enter the project, the user name and password are verified through WebService!

Recall that Kingsoft has intercepted its own projects. Go to Kingsoft drug overlord to query the logs. I found the result!

Kingsoft drug overlord-> real-time file protection-> view log pop-up:

The error message "csc.exe" is mistaken for injection.Program.

Click "permanent allow" or "permanent block" in the Action column to bring up the "program behavior manager"

Remove csc.exe from the stopinstance. In the next run of the program, everything is normal!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.