将应用升级到LS v2012后,此操作需要iis集成 [英] This operation requires iis integration after app upgrade to LS v2012

查看:92
本文介绍了将应用升级到LS v2012后,此操作需要iis集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将一个应用程序升级到LS 2012,现在运行该应用程序时,我得到了一个空白屏幕,没有菜单或屏幕.该应用程序是桌面应用程序,无法在网络浏览器中运行.当我检查IntelliTrace时,我可以看到一个异常,显示以下错误消息:

I recently upgraded an app to LS 2012 and now when I run the app I get a blank screen with no menu's or screens. The app is a desktop app and does not run in the web browser. When I check IntelliTrace I can see an exception which shows an error message of:

"此操作需要IIS集成管道模式. (System.PlatformNotSupportedException)"

"This operation requires IIS integrated pipeline mode. (System.PlatformNotSupportedException)"

如果我创建一个新的应用程序并进行调试,它将运行正常.问题似乎在此解决方案中.我已经阅读了几篇有关确保SQL实例名称设置为(LocalDB)\ v11.0&"的文章.并确保app dev文件夹已为设置了修改 我的PC-NAME \ Username.我还在某处读到,如果chrome是您的默认浏览器,则可能会出现问题.但是,如前所述,它是一个桌面应用程序,无论如何,我的默认浏览器是IE10.

If I create a new app and debug it runs just fine. The problems seems to be somewhere in this solution. I've read a few articles about making sure the SQL Instance name is set to "(LocalDB)\v11.0" and making sure that the app dev folder has modify set for my PC-NAME\Username which it does. I also read somewhere that if chrome is your default browser that could be a problem. However as mentioned before, it's a desktop app and anyhow my default browser is IE10.

随附的是该环境的屏幕截图:

Attached is a screenshot of the enviroment:

我们将不胜感激.

谢谢

Paul.

推荐答案

该异常可能不会导致您遇到任何问题.如果我没记错的话,该异常会在应用程序启动时抛出3次,以后不会再次抛出.您应该只忽略PlatformNotSupportedExceptions. 每次加载数据时,您还将遇到ObjectDisposedException,因此您也可以忽略该异常.

That exception is probably not causing whatever problem you are having. If I remember correctly, the exception is thrown three times on application startup and is not thrown again later. You should just ignore the PlatformNotSupportedExceptions. You will also encounter an ObjectDisposedException every time data is loaded, so you can ignore that one as well.


这篇关于将应用升级到LS v2012后,此操作需要iis集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆