首页 新闻 会员 周边 捐助

用IBatis.net,在服务器上隔段时间就出现如下错误!!大侠帮一下。

0
悬赏园豆:60 [已关闭问题] 关闭于 2010-09-13 11:46

用IBatis.net,在服务器上隔段时间就出现如下错误:

“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

Could not load type from string value 'ShiXiang21.Blog.domain.articleTimeView'.
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.TypeLoadException: Could not load type from string value 'ShiXiang21.Blog.domain.articleTimeView'.

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 

堆栈跟踪:


[TypeLoadException: Could not load type from string value 'ShiXiang21.Blog.domain.articleTimeView'.]
   IBatisNet.Common.Utilities.TypesResolver.TypeResolver.ResolveType(String typeName) +242
   IBatisNet.Common.Utilities.TypesResolver.TypeResolver.Resolve(String typeName) +71
   IBatisNet.Common.Utilities.TypesResolver.CachedTypeResolver.Resolve(String typeName) +135
   IBatisNet.Common.Utilities.TypeUtils.ResolveType(String typeName) +28
   IBatisNet.DataMapper.Configuration.Statements.Statement.Initialize(ConfigurationScope configurationScope) +356
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureSqlMap() +3298
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Initialize() +5041
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +233

[ConfigurationException:
- The error occurred while loading SqlMap.
- loading select tag
- The error occurred in <sqlMap embedded="Map.sxblogartical.xml,Service" xmlns="http://ibatis.apache.org/dataMapper" />. 
- Check the FindArticalByTime.]
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument document, DataSource dataSource, Boolean useConfigFileWatcher, Boolean isCallFromDao) +287
   IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Configure(Stream resource) +26
   ShiXiang21.Blog.BlogDbService.BaseService..ctor() in D:\★我的工作文档\公司项目\shixiang_blog\vpnBlogLib\Service\BaseService.cs:36
   ShiXiang21.Blog.BlogDbService.BlogDbAccess..ctor() in D:\★我的工作文档\公司项目\shixiang_blog\vpnBlogLib\Service\BlogDbAccess.cs:21
   article_show.Page_Load(Object sender, EventArgs e) +76
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

 


--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42

到底是怎么回事呀,是间隔出现的,本地运行正常,发布到服务器上,就间隔出现。烦死了。网上也找了许多办法,但是都不管用,求大侠帮忙!!!!

ForFreeDom的主页 ForFreeDom | 小虾三级 | 园豆:589
提问于:2010-09-11 21:17
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册