'/ Winning'应用程序中的服务器错误 [英] Server Error in '/Winning' Application
问题描述
大家好,
我在.net framework 3.5中开发了REST Web服务。当我在Windows Server 2008中部署它时,我遇到以下异常。
无法执行程序。正在执行的命令是C:\ Windows \ Microsrosoft.NET \ Framework64 \v3.5 \ csc.exe/ noconfig / fullpaths @C:\ Windows \ Mesrosoft.NET \ Framework64 \\ \\\\\\\\\\\\\\\ b 描述:
执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。
异常详细信息
System.Runtime.InteropServices.ExternalException:无法执行程序。正在执行的命令是C:\ Windows \ Microsrosoft.NET \ Framework64 \v3.5 \ csc.exe/ noconfig / fullpaths @C:\ Windows \ Mesrosoft.NET \ Framework64 \\ \\\\\\\\\\\\\\\任何人都可以帮我解决这个问题吗?
问候
Sebastian 解决方案
1)尝试从文件夹中删除临时文件
C:\ Windows \ Microsoft.NET.NET \ Framework64 \v2.0.50727 \Temporary ASP.NET Files 。
2)请参阅此KB: BUG:ExternalException:不能从.aspx页面调用Web服务时执行程序错误消息 [ ^ ]
[参考链接]:
无法执行程序。 (C#Web应用程序错误) [ ^ ]
无法执行程序。正在执行的命令是 [ ^ ]
这是一个非常奇怪的错误,需要试错法。我希望上面的链接会有所帮助。
问候......:笑:
Hi ALL,
I have REST web service which is developed in .net framework 3.5. When I have deployed it in a Windows Server 2008, I have got the following exception.
Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v3.5\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\Winning\4bc8e684\8584f28c\5gvspa2j.cmdline".
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details
System.Runtime.InteropServices.ExternalException: Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v3.5\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\Winning\4bc8e684\8584f28c\5gvspa2j.cmdline".
Can anyone help me fix this?
Regards
Sebastian
解决方案 1) Try deleting temp files from the folder
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files.
2) Refer to this KB: BUG: "ExternalException: Cannot Execute a Program" Error Message When You Call WebServices from .aspx Page[^]
[Reference links]:
Cannot execute a program. (C# Web app error)[^]
Cannot execute a program. The command being executed was [^]
This is very strange error which needs trial and error approach. I hope the above links would be helpful.
Regards..:laugh:
这篇关于'/ Winning'应用程序中的服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!