昨天我們收到了這個錯誤。我發現一些文章提示這是一個孤立的userIds問題,但是因爲數據庫託管在Azure上,所以訪問用戶配置文件的存儲過程不是可用,我不是數據庫專家。Sql Server Azure PERMISSION_SET = EXTERNAL_ACCESS或UNSAFE
的一篇文章我讀
它說,它無法找到程序集「microsoft.sqlserver.types」 11.1.0.0已部署了幾個星期的版本背部是如此10.0.0.0我更新了我的NuGet軟件包,但該版本僅在11.0.2
https://www.nuget.org/packages/Microsoft.SqlServer.Types/
我們通過採取數據庫的副本解決了問題的時刻。它只是暫時解決了我的感受,而且會再次發生。
System.Data.SqlClient.SqlException : An error occurred in the Microsoft .NET Framework while trying to load assembly id 1. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileNotFoundException: Could not load file or assembly 'microsoft.sqlserver.types, Version=11.1.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'microsoft.sqlserver.types, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: System.IO.FileNotFoundException: 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.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString)
你仍然遇到了同樣的問題? –
嗨Joesph,兩週前再次發生。我們已經升級到Azure sql server v12。所以即時通訊希望能夠解決它。我們將會看到 – InitLipton
我想更好地瞭解你的情況以及是什麼引發了這個錯誤。您能否給我發電子郵件給我在microsoft.com的joseidz,我們會向這個主題報告調查結果? –