如何解决"%1不是有效的Win32应用程序"? [英] How do I resolve "%1 is not a valid Win32 application"?
问题描述
环境:
在Windows Server 2003 R2企业64位,SP2
.NET框架是所谓安装(2.0 SP2,3.0 SP2,3.5 SP1)
我说据说,因为它们都列在添加安装/删除程序。我不知道它的正确的安装,因为ASP.NET选项卡中不添加任何的网站在IIS中。
在IIS的Web服务扩展部分,我有两个ASP.NET V2.0.50727(允许),而ASP.NET V2.0.50727(32位)(禁止)。
有关该网站的脚本 - 执行启用。
问题:
我创建了一个超级简单的ASP.NET/C#网站:Default.aspx的一个标签ID =Label1的,和$ C $与C-背后: Label1.text =你好世界;
,我得到的错误是:
%1不是有效的Win32应用程序。
您是否尝试过运行:
为aspnet_regiis -i
在命令行?
Environment:
Windows Server 2003 R2 Enterprise 64bit, SP2
.NET framework is supposedly installed (2.0 SP2, 3.0 SP2, 3.5 SP1)
I say "supposedly" because they are listed as installed under Add/Remove programs. I'm not sure it's properly installed, because the "ASP.NET" tab isn't added to any of the sites in IIS.
In the IIS Web Service Extensions section, I have both "ASP.NET v2.0.50727" (Allowed), and "ASP.NET v2.0.50727 (32-bit)" (Prohibited).
The site in question has script-execute enabled.
Problem:
I created a super-simple ASP.NET/C# website: Default.aspx with a label id="Label1", and a code-behind with: Label1.text = "Hello World";
and the error I'm getting is:
%1 is not a valid Win32 application.
Have you tried running:
aspnet_regiis -i
from the command line?
这篇关于如何解决"%1不是有效的Win32应用程序"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!