Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Assembly
|
|||
|---|---|---|---|
|
#18+
После мигации на новый сервер огребли. На старом серверe SqlAssemblyProjectRoot установлено в 'C:\Documents and Settings\<<user>>\My Documents\Visual Studio 2005\Projects\CGL_SQL_Regex\CGL_SQL_Regex' такой папки нет и асембли тоже нет. Как быть? авторMsg 10314, Level 16, State 11, Line 1 An error occurred in the Microsoft .NET Framework while trying to load assembly id 65536. The server may be running out of resources, or the assembly may not be trusted. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileLoadException: Could not load file or assembly 'cgl_sql_regex, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An error relating to security occurred. (Exception from HRESULT: 0x8013150A) System.IO.FileLoadException: at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2019, 22:46 |
|
||
|
Assembly
|
|||
|---|---|---|---|
|
#18+
Relic Hunter, на Prod библиотека лежит в User пути? не легче-ли через varbinary(max) устанавливать? вообще-то может ругаться и на права (не только Safe / External Access / Unrestricted) а и доступ учётки по пути на диск, туда-же вся группа/цепь решений связанных с: set trustworthy on sys.sp_add_trusted_assembly sys.trusted_assemblies sys.assemblies sp_configure 'clr enabled' create assymetric key grant external access и т.д. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2019, 23:08 |
|
||
|
Assembly
|
|||
|---|---|---|---|
|
#18+
кстати бывает с dependencies проблемы, кроме того при переезде на новые сервера - забывается что уровень и система безопасности на новых версиях существенно изменена (усилена) по простому - залезть на старый сервер и найти там (если чисто для Dev) по правильному - сначала спланировать, потом пересобрать/перекомпилировать CRL/DLL с учётом нюансов новой среды ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2019, 23:12 |
|
||
|
Assembly
|
|||
|---|---|---|---|
|
#18+
Код: sql 1. 2. 3. 4. 5. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.07.2019, 23:26 |
|
||
|
Assembly
|
|||
|---|---|---|---|
|
#18+
Relic Hunter, найдите потерянную сборку на старом сервере и разверните на новом. Вы миграцию не через бэкап делали, что ли? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.07.2019, 11:47 |
|
||
|
Assembly
|
|||
|---|---|---|---|
|
#18+
Relic Hunter, https://support.microsoft.com/en-us/help/918040/you-may-receive-an-error-message-when-you-try-to-run-an-existing-clr-o ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.07.2019, 13:08 |
|
||
|
|

start [/forum/topic.php?fid=46&msg=39835249&tid=1687579]: |
0ms |
get settings: |
4ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
126ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
55ms |
get tp. blocked users: |
1ms |
| others: | 214ms |
| total: | 425ms |

| 0 / 0 |
