We may face this problem when in our sharepoint publishing site, we may face the error.
刷新共享对象管理器缓存时发生意外错误。
System.InvalidOperationException:超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。
超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。 在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
在 System.Data.SqlClient.SqlConnection.Open()
在 Microsoft.Office.Server.Data.SqlSession.OpenConnection()
在 Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)
在 Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command)
在 Microsoft.Office.Server.UserProfiles.DBHelper.RunSqlCommand(SqlCommand command)
在 Microsoft.Office.Server.UserProfiles.UserProfile.RetrieveUser(String strAcct, Guid gAcct, Byte[] bSid, Nullable`1 recordId, Boolean doNotResolveToMasterAccount)
在 Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAcct, Boolean doNotResolveToMasterAccount, Boolean forceUserIsSelf)
在 Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(Boolean bCreateIfNotExist, Boolean bIsFirstAttempt)
在 Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(Boolean bCreateIfNotExist)
在 Microsoft.Office.Server.UserProfiles.ProfileLoader.EnsureUserProfile()
在 Microsoft.Office.Server.UserProfiles.ProfileLoader.GetUserProfile()
在 Microsoft.SharePoint.Portal.WebControls.PersonalPageCommon.OnInit(Page objPage)
在 Microsoft.SharePoint.Portal.WebControls.PersonalAdminPage.OnInit(EventArgs e)
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Unlucky, although we close all sql connections in our code, we still can't solve this.
But it may another cause for it about uploading large file to sharepoint.
When we need to uplaod large file to sharepoint in windows 2008, we can infer this article below:
http://support.microsoft.com/kb/925083
We add
<system.webServer> <security><requestfiltering><requestLimits maxAllowedContentLength="52428800"/></requestfiltering></security> </system.webServer>
to "configuration" node to allow large file uploading.
Then we meet the problem. Clear it will solve it.
It is just a superficial reason for the error. There is also error in SharePoint SPP, but I haven't figured it out.
Any progress, I will update this.
分享到:
相关推荐
C# InvalidOperationException 跨界面线程时常遇到这个错误,需要用委托来安全的处理线程才是正道
解决资料
win10启动docker报错System.InvalidOperationException-附件资源
异常详细信息: System.InvalidOperationException: 未在本地计算机上注册“Microsoft.Jet.OleDb.4.0”提供程序。 源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常...
CPC客户端打开报错:未在本地计算机上注册“Microsoft.Jet.OLEDB.4.0”提供程序.,亲测有效。
数据连接池配置详细讲解 自己总结的 大家收藏收藏吧..
有数据的查询,编辑,添加,删除,生成报表等功能的demo,可以运行
异常详细信息: System.InvalidOperationException: 因 URL 意外地以“/GetReceivedInvoices”结束,请求格式无法识别。 源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关...
This is no doubt the best Tic Tac Toe game around.It even has a real live AI engine...its a must have !!!!
可问题恰恰出在这里,之前需要在<system> 代码如下: <services> <host> <baseAddresses> ”http://localhost:10045/TestService/TestService”> ”net.tcp://localhost:10046/TestService/TestService”> ...
第1章 教务实验课选课系统 asp.net实例 数据库都在里面 自己配置 IIS就搞定了。。 经典的 BS结构。。
有些不擅长Photoshop的朋友为了调整出满意的效果真是几经周折,结果发现还是原来的默认效果最好,这下傻了眼,后悔不该...试着轻轻点按选项栏上的工具图标,然后从上下文菜单中选取“复位工具”或者“复位所有工具”。
一个简单的 Web 服务包装器库。 我有点厌倦了使用 JQuery 在 JavaScript 中发出所有 HTTP 请求。 我决定构建这个小巧、简单的 JavaScript 库,它可用于使用 HTTP GET 或 HTTP POST 调用 Web 服务。 想知道如何...
System.InvalidOperationException:“Incompatible input locale.” 在 CefNet.Input.KeycodeConverter.CharacterToVirtualKey(Char character) 在 CefNet.Avalonia.WebView.OnTextInput(TextInputEventArgs e) ...
IIS安装注册的方法,在WPF 服务端IIS配置的方法,以及启动,停止
经过了漫长时间的移植和查询资料,得以解决一下嵌入式docker出现的问题,很多网上的资料全都是复制粘贴复制粘贴,找不到合适的解决方法让人很是苦恼,希望自己总结出的一些解决问题的经验给广大朋友减少一些负担吧!...
未在本地计算机上注册“.ACE.oledb.12.0”提供程序。异常详细信息: System.InvalidOperationException:
异常详细信息: System.InvalidOperationException: 未在本地计算机上注册“Microsoft.Jet.OLEDB.4.0”提供程序。
下面开讲: 开始在遇到此问题的时候我也在网上查了很多资料,貌似没找到什么好的解决方法,然后我就开始调试程序,我发现有的时候运行不报错,有的时候运行报错,这就很纠结了,但是后来我发现我把ASP.NET ...