582092693 582092693
关注数: 181 粉丝数: 7 发帖数: 410 关注贴吧数: 11
2008服务器上面的网站 老是报错挂掉,请帮忙指点一下谢谢 第一个是 来源 ASP.NET 4.0.30319.0 事件ID 1325 An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/1/ROOT/jxcTOP Process ID: 29712 Exception: System.IO.FileNotFoundException Message: Could not load file or assembly 'System.Web.resources, Version=4.0.0.0, Culture=zh-CN, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系统找不到指定的文件。 StackTrace: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark) at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark) at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at System.Web.SR.GetString(String name) at System.Web.Hosting.HostingEnvironment.ShutdownThisAppDomainOnce() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWorkItemCallback(Object state) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() InnerException: System.IO.FileNotFoundException Message: 文件不存在“System.Web.resources.dll”在“”目录中 StackTrace: at Carpa.Web.Framework.Internal.AssemblyLoader.Load(String assemblyName) at Carpa.Web.Framework.Internal.AssemblyRegistration.DoAssemblyResolve(Object sender, ResolveEventArgs e) at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName) 第二个是 来源 .NET Runtime 事件ID 1026 Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException Stack: at System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, Boolean, Boolean, Boolean) at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(System.String, System.Globalization.CultureInfo, System.Version, Boolean, System.Threading.StackCrawlMark ByRef) at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(System.Globalization.CultureInfo, System.Threading.StackCrawlMark ByRef) at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo, System.Collections.Generic.Dictionary`2<System.String,System.Resources.ResourceSet>, Boolean, Boolean, System.Threading.StackCrawlMark ByRef) at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean, System.Threading.StackCrawlMark ByRef) at System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo, Boolean, Boolean) at System.Resources.ResourceManager.GetString(System.String, System.Globalization.CultureInfo) at System.Web.SR.GetString(System.String) at System.Web.Hosting.HostingEnvironment.ShutdownThisAppDomainOnce() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWorkItemCallback(System.Object) at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 请帮忙分析一下解决办法谢谢
易语言新手,有个很奇怪的问题请教一下大家 自己设计的注册窗口, 注册信息分别为 门店名 用户名 密码 密码确认 奇怪的就是我注册的时候检查数据库有没有这个账号,有的话提示账号已存在,没有的话就可以注册,如果我注册好一个账号后一直继续点注册,过段时间后,判断就失效了,重复的用户名有可以注册了 代码是这样的 .版本 2 .支持库 spec .如果 (注册窗口.标题 = “注册”) ' 全局_sql = “select * from 用户管理模块 where 用户名='” + 编辑框1.内容 + “'” ' 调试输出 (全局_sql) ' 全局_数据库句柄 = 全局_数据库.查询 (全局_sql) ' 调试输出 (全局_数据库句柄) .如果 (组合框1.现行选中项 = -1) 信息框 (“请选择门店名称!”, 64, “提示”, ) .否则 .如果 (编辑框1.内容 = “”) 信息框 (“请填写用户名”, 64, “提示”, ) .否则 全局_sql = “select * from 用户管理模块 where 用户名='” + 编辑框1.内容 + “'” 调试输出 (全局_sql) 全局_数据库句柄 = 全局_数据库.查询 (全局_sql) 调试输出 (全局_数据库句柄) .如果 (全局_数据库.首记录前 (全局_数据库句柄) ≠ 真) 信息框 (“该账号已被注册,请重新填写!”, 64, “提示”, ) .否则 .如果 (编辑框2.内容 = “” 或 编辑框3.内容 = “”) 信息框 (“请填写注册密码!”, 64, “提示”, ) .否则 .如果 (编辑框2.内容 ≠ 编辑框3.内容) 信息框 (“请检查输入密码是否一致!”, 64, “提示”, ) .否则 全局_sql = “insert into 用户管理模块(用户名,用户密码,门店名)values(?,?,?)” 全局_执行结果 = 全局_数据库.执行 (全局_sql, 编辑框1.内容, 编辑框2.内容, 组合框1.内容) .如果 (全局_执行结果 = 真 且 全局_数据库.首记录前 (全局_数据库句柄) = 真) 信息框 (“注册成功!”, 64, “提示”, ) ' 注册窗口.可视 = 假 ' 注册窗口.销毁 () ' _启动窗口.可视 = 真 .否则 信息框 (“注册失败!”, 64, “提示”, ) .如果结束 下面是调试信息,我一直点注册,过一段时间后就成下面这样了 开始运行被调试程序 * “select * from 用户管理模块 where 用户名='a'” * 42142344 * “select * from 用户管理模块 where 用户名='a'” * 126454544 * “select * from 用户管理模块 where 用户名='a'” * 126457328 * “select * from 用户管理模块 where 用户名='a'” * 42172920 * “select * from 用户管理模块 where 用户名='a'” * 42175384 * “select * from 用户管理模块 where 用户名='a'” * 42178168 * “select * from 用户管理模块 where 用户名='a'” * 42180952 * “select * from 用户管理模块 where 用户名='a'” * 42183736 * “select * from 用户管理模块 where 用户名='a'” * 42186520 * “select * from 用户管理模块 where 用户名='a'” * 42189304 * “select * from 用户管理模块 where 用户名='a'” * 42192088 * “select * from 用户管理模块 where 用户名='a'” * 42195032 * “select * from 用户管理模块 where 用户名='a'” * 42197816 * “select * from 用户管理模块 where 用户名='a'” * 42200600 * “select * from 用户管理模块 where 用户名='a'” * 42203384 * “select * from 用户管理模块 where 用户名='a'” * 126460984 * “select * from 用户管理模块 where 用户名='a'” * 126463680 * “select * from 用户管理模块 where 用户名='a'” * 126466464 * “select * from 用户管理模块 where 用户名='a'” * 126469248 * “select * from 用户管理模块 where 用户名='a'” * 126472032 * “select * from 用户管理模块 where 用户名='a'” * 126474816 * “select * from 用户管理模块 where 用户名='a'” * 126477752 * “select * from 用户管理模块 where 用户名='a'” * 126514368 * “select * from 用户管理模块 where 用户名='a'” * 126517152 * “select * from 用户管理模块 where 用户名='a'” * 126519936 * “select * from 用户管理模块 where 用户名='a'” * 126522720 * “select * from 用户管理模块 where 用户名='a'” * 126525504 * “select * from 用户管理模块 where 用户名='a'” * 126528288 * “select * from 用户管理模块 where 用户名='a'” * 126531072 * “select * from 用户管理模块 where 用户名='a'” * 126533856 * “select * from 用户管理模块 where 用户名='a'” * 0 * “select * from 用户管理模块 where 用户名='a'” * 0 * “select * from 用户管理模块 where 用户名='a'” * 0
1 下一页