Asp.Net 1-> Asp.Net 2 升级 - Machine.Config - 无法识别的参数
我正在努力将 Web 应用程序从 1 升级到 asp.net 2。VS
2008 完成了转换工作,一切都成功构建,并已通过 VS 2008 中相应的菜单项转换为 Web 应用程序。
在启动网站时使用Asp.net 开发服务器我在无法识别的属性“restartOnExternalChanges”的计算机配置中的 appsettings 行上收到配置错误。
该应用程序在VS的项目属性中以asp.net 2为目标,错误页面指示类似:版本信息:Microsoft .NET Framework版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
该错误消息似乎表明我正在尝试在 asp.net 1 环境中运行它,但事实并非如此,如果是这样,我该如何纠正这个问题。
任何帮助将不胜感激
谢谢,
I am working on upgrading a web app to asp.net 2 from 1.
VS 2008 did its conversion things, and everything is building successfully and has been converted to a web application via the appropriate menu item in VS 2008.
On launching the site using the Asp.net development server I am receiving a configuration error on the appsettings line in the machine config of Unrecognized attribute 'restartOnExternalChanges'.
The app targets asp.net 2 in the projects properties in VS, and the error page indicates similar : Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
The error message seems to indicate I am trying to run this in an asp.net 1 environment, but surely that isnt the case, and if so how do I rectify this.
Any help would be appreciated
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来你的 2.0 框架被 ganked 了。我知道您正在开发服务器中运行,但是您在 IIS 中是否有 2.0 版本的选项?重新运行 Microsoft .NET Framework V2 安装程序。
我只想安装 .NET 3.5SP1 ,链接为 此处
It sounds like your 2.0 framework is ganked. I know you are running in the dev server but do you have an option in IIS for version 2.0? Re-Run the Microsoft .NET framework V2 installer.
I would just install .NET 3.5SP1 , link is here