Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb
来源:互联网 发布:哥伦比亚统计学 知乎 编辑:程序博客网 时间:2024/05/18 23:53
using WCSF framework , got error :
Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb.WebClientApplication'.
Step 1: open Global.asax File
Change Inherit page to Microsoft.Practices.CompositeWeb.WebClientApplication
Like:
<%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft.Practices.CompositeWeb.WebClientApplication" Language="C#" %>
- Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb
- Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.E
- unable to cast object of type 'Microsoft.SharePoint.SPsite' to type 'Microsoft.SharePoint.SPWeb'
- 【问题处理】Unable to cast object of type 'System.DBNull' to type 'System.String'.
- Unable to cast COM object of type 'System.__ComObject' to class type 的解决办法
- Unable to cast COM object of type Microsoft.Office.Interop.Excel.ApplicationClass' ...
- Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'"
- 解决方法:Unable to cast COM object of type 'Shell32.ShellClass' to interface 'Shell32.IShellDispatch5'
- 警告The argument of type String[] should explicitly be cast to Object[] for the invocation of the vara
- cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef' (aka 'const struct __C
- 解决cast from 'char*' to 'char**' increases required alignment of target type [-Werror=cast-align]
- method to solve the problem : Could not cast value of type 'NSManagedObject_ to
- Unable to create a constant value of type 'Closure type'.异常
- Unknown debugger type "No engine" Unable to create a debugger engine of the type "No engine"
- java中的类型安全问题-Type safety: Unchecked cast from Object to ...
- Failed to convert value of type 'java.lang.String' to required type 'org.springframework.web.multipa
- Unable to add module to the current project as it is not of packaging type 'pom'
- Unable to obtain LocalDateTime from TemporalAccessor: {},ISO resolved to 2018-04-30 of type java.tim
- Android开发学习之常见适配器总结
- JSTL标签引入
- CSS伪类
- mysql 预处理
- IOS导航栏的简单用法以及自定义实现例程
- Unable to cast object of type 'System.Web.HttpApplication' to type 'Microsoft.Practices.CompositeWeb
- 51单片机中的定时器和计数器
- (Java)统计随机产生的字母各自出现次数
- 两分类变量相互独立的检验
- C语言switch语句的用法详解
- 愁秋渲染的离殇
- 最短路径算法(Shortest-path Algorithms)
- Ubuntu1204安装adobe flash player插件
- windows 7 telnet 开启关闭