我正在尝试将当前在 Windows Server 2003 32 位和 IIS6 上运行的 ASP.NET 应用程序部署到运行 Windows Server 2008 R2 和 IIS7 的新服务器。我的应用程序使用 ASP.NET 4.0 版并且在 2003 机器上运行良好。
我的问题是:
我已经部署了应用程序,它工作正常,只是 .flv 视频没有在浏览器中播放
我已经添加了所有必需的 mime 设置,但仍然没有运气
当我尝试运行视频时,我没有收到任何错误,只是一个空白屏幕显示没有视频。
相同的配置在以前的机器上运行,并且新服务器在从较早的机器上运行时也能够播放视频。
如果您有任何解决方案,请帮助我。
我刚刚发现当我尝试运行视频时会记录一个事件错误条目。如下:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/9/2012 1:07:14 PM
Event time (UTC): 10/9/2012 8:07:14 PM
Event ID: 09303bdb94d64235a5ab118955416895
Event sequence: 12
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/BYPL-1-129942868205521131
Trust level: Full
Application Virtual Path: /BYPL
Application Path: F:\BYPL_Simulator_26_Sept_2012\
Machine name: BYPL-APP-SERVER
Process information:
Process ID: 2536
Process name: w3wp.exe
Account name: BYPL-APP-SERVER\Administrator
Exception information:
Exception type: HttpException
Exception message: Could not load type 'FLVStreaming'.
at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type)
at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)
at System.Web.Configuration.HandlerFactoryCache..ctor(String type)
at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://localhost/BYPL/Administrator/MeterManagement/Installation/video/634655271233125000.flv
Request path: /BYPL/Administrator/MeterManagement/Installation/video/634655271233125000.flv
User host address: 127.0.0.1
User: bypl
Is authenticated: True
Authentication Type: Forms
Thread account name: BYPL-APP-SERVER\Administrator
Thread information:
Thread ID: 5
Thread account name: BYPL-APP-SERVER\Administrator
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type)
at System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type)
at System.Web.Configuration.HandlerFactoryCache..ctor(String type)
at System.Web.HttpApplication.GetFactory(String type)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)