我試圖使用iframe
在Default.aspx
頁面中嵌入ChartModule.aspx
頁面。帶有iframe的.aspx頁面中的ASPX頁面拋出500.23錯誤
ChartModule有一個更新圖表的按鈕事件。 ChartModule有它自己的ChartsModule.cs
。
我得到這個錯誤:
HTTP Error 500.23 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.Most likely causes:
•This application defines configuration in the system.web/httpHandlers section. Things you can try: •Migrate the configuration to the system.webServer/handlers section. You can do so manually or by using AppCmd from the command line. For example, from the IIS Express install directory, run appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode. It will continue to work in Classic mode and on previous versions of IIS. •If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/[email protected] to false. •Alternatively, switch the application to a Classic mode application pool. For example, from the IIS Express install directory, run appcmd set app "Default Web Site/" /applicationPool:"Clr4ClassicAppPool". Only do this if you are unable to migrate your application.
Detailed Error Information: Module ConfigurationValidationModule Notification BeginRequest Handler
PageHandlerFactory-Integrated-4.0 Error Code 0x80070032 Requested URL http://localhost:4161/Default.aspx Physical Path
C:\Documents and Settings\singhm\Desktop\Temp\Trial2\Trial2\Default.aspx Logon Method Not yet determined Logon User Not yet determined Request Tracing Directory
這是爲什麼?