日期:2014-05-20  浏览次数:20761 次

网站打开速度慢什么原因
购买的虚拟空间,网站打开速度时快时慢,有的时候就打不开。这是什么原因呢?有的时候还出现错误以下错误,请高手帮忙决绝下



Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[ArgumentException: Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx']
  System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7484392
  System.Collections.Hashtable.Add(Object key, Object value) +11
  System.Configuration.Provider.ProviderCollection.Add(ProviderBase provider) +78
  UrlRewritingNet.Configuration.Provider.UrlRewritingProviderCollection.Add(ProviderBase provider) +43
  UrlRewritingNet.Web.UrlRewriting.Initialize() +184
  UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName) +16
  UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context) +228
  System.Web.HttpApplication.InitModulesCommon() +65
  System.Web.HttpApplication.InitModules() +43
  System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
  System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
  System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
  System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289

 



------解决方案--------------------
数据库连接是否都释放
Hashtable.Insert主键是否重复
------解决方案--------------------
原因比较多,可能服务器方面的,也可能程序设计方面。
------解决方案--------------------
肯定是 那 虚拟代理服务器的问题了 ,你得 找他们 ,出了钱 得有售后服务噻…………*(()
------解决方案--------------------
是使用ACCESS数据库吧,应该是权限设高了,以前碰到过,有时行有时不行,