[转载]关于"编译器失败,错误代码为128。"的解决方案

Today I  encounterd with a serious problem on asp.net application deployment,there is a method to settle:


it's a really horrible dream!

  One morning , afeter i open my computer, i found that allmy asp.net web application could not run again!

  I searched the problem with google, but nothing is valuable.

  The following method is at least useful to me, I hope u are also lucky!

  First of all, update your antivirus software and make a full scan on your computer. I guess the cause of the problem is that some hacker has entered in my computer and made some change in my account and security settings, so the sensitive asp.net found it and then stopped working.

  After u are sure no viruse is in your computer, u can follow the steps below.

  1. run"aspnet_regiis -ua" in the cmd. u can start the cmd from the vs.net tools in the start menu, otherwise u need type the full path.

  2. remove the aspnet account from your computer

  3. uninstall iis

  4. restart your computer

  5. reinstall iis

  6. run "aspnet_regiss -i" in the cmd

  7. add vs_developers group to iis operators (u can operation in iis)

  8. open the file "machine.config" which is in "C:\WINNT\Microsoft.NET\Framework\v1.1.xxxx\CONFIG", then find and replace

  userName="machine"

  with

  userName="SYSTEM"

  9. restart your computer and pray silently

  I can't promise u anything, but i will prayfor u.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
解决TypeScript编译器错误信息,您可以采取以下步骤: 1. 仔细阅读错误信息:首先,仔细阅读编译器提供的错误信息。它通常会指出错误的位置以及可能的原因,帮助您更好地理解问题。 2. 检查代码:检查与错误相关的代码行,并确保其语法正确。请注意标点、括号、引号等常见的语法错误。 3. 检查类型错误:TypeScript是一个静态类型语言,因此类型错误是常见的问题。确保变量的类型与其使用方式一致,检查函数参数和返回类型是否匹配,以及其他类型相关的问题。 4. 使用编辑器支持:大多数集成开发环境(IDE)和文本编辑器都提供对TypeScript的支持,并且可以在代码编辑时即时检测错误。确保您使用了最新版本的编辑器,并配置好TypeScript插件。 5. 确认编译选项:如果您使用了自定义的tsconfig.json文件来配置TypeScript编译选项,请确保选项设置正确。检查编译目标、模块系统、输出目录等选项是否与您的项目需求一致。 6. 搜索解决方案:如果您无法解决错误,请尝试在搜索引擎或开发者社区中搜索相关问题。很可能其他人已经遇到类似的问题,并找到了解决方案。 7. 请教他人:如果所有尝试都失败,不妨寻求其他开发者的帮助。您可以在开发者论坛、社交媒体或技术社区上提问,并描述您遇到的问题以及您已尝试的解决方法。 通过这些步骤,您应该能够解决大部分TypeScript编译器错误信息,并改进您的代码。记住,错误信息是您调试和改进代码的有用线索,所以要善于利用它们。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值