服务器运行不了asp.net!!求解

star021282 2006-08-31 11:15:34
2003+iis6.0

开始是装了。net1.1的
不过以前试过是否可以运行

后来需要直接装了2.0 可是一直提示错误说啥csc应用程序不能执行。

探针放上去也不能运行
后来.net frame删了又装

结果连提示都不提示了
等半天没响应

哪位高手能帮我看看试啥原因
怎么解决
??
...全文
165 19 打赏 收藏 转发到动态 举报
写回复
用AI写文章
19 条回复
切换为时间正序
请发表友善的回复…
发表回复
bobomouse 2006-09-02
  • 打赏
  • 举报
回复
卸不掉的,直接装2.0即可
出现空白,估计是IIS的问题,楼主再把IIS重装一下
star021282 2006-09-02
  • 打赏
  • 举报
回复
装了
奇怪还是不行

我想把.net1.1卸载

单装2.0
可是不知道怎么把他卸载掉
daishengs 2006-09-02
  • 打赏
  • 举报
回复
在windows组件里看看是不是装了ASP.NET。我前天就是这样解决一个问题的。
star021282 2006-09-02
  • 打赏
  • 举报
回复
谢谢各位

我一个一个试试

感动。。。

那么多方案
star021282 2006-09-01
  • 打赏
  • 举报
回复
现在有问题出现了

高人们帮我看看
star021282 2006-09-01
  • 打赏
  • 举报
回复
Server Error in '/' Application.
--------------------------------------------------------------------------------

Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4d6cb2fc\6c35b9a2\qz7nm2ot.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\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4d6cb2fc\6c35b9a2\qz7nm2ot.cmdline".

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ExternalException (0x5): Cannot execute a program. The command being executed was "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4d6cb2fc\6c35b9a2\qz7nm2ot.cmdline".]
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +2160
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine) +110
Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs) +457
Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames) +575
Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames) +185
System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames) +21
System.Web.Compilation.AssemblyBuilder.Compile() +843
System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +210
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +279
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +580
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath

babyuse 2006-09-01
  • 打赏
  • 举报
回复
2003 IIS里面有额外的配置选项,把相应项开启试下呢
star021282 2006-09-01
  • 打赏
  • 举报
回复
最后提示

取消操作
Internet Explorer 不能链接到您请求的网页。此页可能暂时不可用。

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

请尝试以下操作:

单击刷新按钮,或以后再试。

如果您以前查看过该页,现在要查看计算机上存储的内容,请单击文件,然后单击脱机工作。

要获得有关使用 Internet Explorer 脱机浏览的信息,请单击帮助菜单,然后单击目录和索引。




Internet Explorer
star021282 2006-09-01
  • 打赏
  • 举报
回复
运行过了
还是不行

现在都不出现错误
就是一直没反映,一直空白

n久都不超时

晕死
yuchangmao 2006-09-01
  • 打赏
  • 举报
回复
csc.exe这东西出故障了,建议修复NET
dd26l 2006-09-01
  • 打赏
  • 举报
回复
是不是没有注册呀
在开始菜单运行中输入cmd回车,然后切换到C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322目录下运行aspnet_iisreg
snwyq1 2006-09-01
  • 打赏
  • 举报
回复
借宝地一用,北京门户网站,招asp.net程序员.richard_wung@hotmail.com,待遇不错,不用加班,工作开心,不诚勿扰,谢谢!
yipiaoqingshui 2006-09-01
  • 打赏
  • 举报
回复
csc。exe这个是编译程序
yipiaoqingshui 2006-09-01
  • 打赏
  • 举报
回复
一个是属性里面的asp.net这个版本选择
一个是这个网站的程序应用池。1。1的和2。0要分别建立2个应用池。不能同时使用
如果是用主机头的访问,你先试试服务器设置一个虚拟目录是否可以正常访问
weier515 2006-09-01
  • 打赏
  • 举报
回复
看看你的虚拟目录里用的是哪个框架的版本,1.0还是2.0
interboy 2006-09-01
  • 打赏
  • 举报
回复
看看错误日志,是不是aspnet用户的问题啊
如果你愿意的话,我有一个比较极端的方法(但是非常管用,屡试不爽)
1.先卸载IIS
2.卸载.net框架
3.删除c:\windows下的Microsoft.Net文件夹(很重要)
4.(重启[可选]) 安装IIS
5.安装框架

如果还是没有解决那就换个环境试一下吧
engmichael 2006-09-01
  • 打赏
  • 举报
回复
up
coley 2006-08-31
  • 打赏
  • 举报
回复
运行下aspnet_regiis -i看
最好贴出错误
dsclub 2006-08-31
  • 打赏
  • 举报
回复
在站点属性的ASP.NET标签里选择对应的framework版本。
1.1的就选1.XXXX的
2.0的就选2.XXXX的

62,039

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧