spring.net配置错误:Could not load type from string value ...
来源:互联网 发布:mac os x 懒人版下载 编辑:程序博客网 时间:2024/05/16 00:25
今天发现一个问题
如下面的配置
<object id="PostDao" type="BaseLayer.Dao.PostDao,BaseLayer.Dao">
<property name="SessionFactory" ref="NHibernateSessionFactory"/></object>
错误提示Could not load type from string value ...
错误原因不是像表面上的那样不存在namespace不存在或类不存在
纠结了半天,最后原来是一个觉得最不可能是的原因:
AssemblyTitle("BaseLayer")改为AssemblyTitle("BaseLayer.Dao")成功解决此问题
- spring.net配置错误:Could not load type from string value ...
- Spring.net Could not load type from string value
- .NET Web 执行错误Could not load type '...' from assembly '..., Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because the me
- Could not load type ‘System.ServiceModel.Activation.HttpModule’ from&
- TypeLoadException: Could not load type 'System.IO.InternalBufferOverflowException' from解决方案
- .net-【20091119】Could not load type 'System.DateTimeOffset'的问题
- INFO[org.hibernate.type.SerializableType] - could not read column value from result set: srulaaaId13_; could not deserialize
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode
- Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, V
- Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel,
- Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assemb
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assemb
- IIS7 web app error : "Could not load type 'System.Security.Claims.ClaimsIdentity' from assembly
- IIS Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceMo
- Could not find a coercion from type java.lang.String to type epro.db.domain.LotStepInfo.
- Could not load type 'System.DateTimeOffset'
- Oracle9i、10g、11g区别
- 数据库视图的强大
- http://acm.hdu.edu.cn/showproblem.php?pid=2159
- vsftp上传文件出现553 Could not create file解决方法 (包括匿名用户)
- accumulate
- spring.net配置错误:Could not load type from string value ...
- 查看当前SqlServer数据库连接数
- Android开发之四(二):常用控件之列表(ListView)
- Android NDK使用NEON优化,SIMD优化
- 各种创建单例模式的优缺点
- 企业开发平台到底该怎么做
- DLL中传递STL参数,vector对象作为dll参数传递等问题(转) (坑死我了)
- 详解如何搭建DHCP服务器
- OSUnMapTbl[ ] 解析