|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
Подскажите в чем проблема? Есть CLR процедура... Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19.
Выскакивает исключение на команде s.SendTo(sendbuf, ep); Сбой при запросе разрешения типа "System.Net.SocketPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 15:52 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
virus_system, Исключение выскакивает когда вызываешь саму процедуру Код: plaintext
... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 15:53 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
virus_system, ип неправильный по ходу, я забыл уже что там от чего отнимается, но на сеть ип 254 макс ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:03 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
koJIo6okvirus_system, ип неправильный по ходу, я забыл уже что там от чего отнимается, но на сеть ип 254 макс IP тут непричем я и на другой пробывал... типа 192.168.1.1 ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:05 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
Процедуру регистрировали в sql server-е с каким PERMISSION_SET? UNSAFE? ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:05 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
Артем1Процедуру регистрировали в sql server-е с каким PERMISSION_SET? UNSAFE? Нет. С unsaFE у меня не получается. РУгается CREATE ASSEMBLY for assembly 'SqlServerProject1' failed because assembly 'SqlServerProject1' is not authorized for PERMISSION_SET = UNSAFE. The assembly is authorized when either of the following is true: the database owner (DBO) has UNSAFE ASSEMBLY permission and the database has the TRUSTWORTHY database property on; or the assembly is signed with a certificate or an asymmetric key that has a corresponding login with UNSAFE ASSEMBLY permission. Пока не понял в чем проблема... ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:16 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
Надо сделать либо virus_system...the database owner (DBO) has UNSAFE ASSEMBLY permission and the database has the TRUSTWORTHY database property on... либо virus_system...the assembly is signed with a certificate or an asymmetric key that has a corresponding login with UNSAFE ASSEMBLY permission... чего непонятного то Первое на вид проще и быстрее сделать. ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:28 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
Артем1, прописал Код: plaintext
теперь ругается The database owner SID recorded in the master database differs from the database owner SID recorded in database 'test1'. You should correct this situation by resetting the owner of database 'test1' using the ALTER AUTHORIZATION statement. ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:33 |
|
Проблема с CLR процедурой
|
|||
---|---|---|---|
#18+
virus_systemАртем1, прописал Код: plaintext
теперь ругается The database owner SID recorded in the master database differs from the database owner SID recorded in database 'test1'. You should correct this situation by resetting the owner of database 'test1' using the ALTER AUTHORIZATION statement. Наверное с бекапа с другого сервера база? Погугли дальше про ALTER AUTHORIZATION, все же написано в сообщении. ... |
|||
:
Нравится:
Не нравится:
|
|||
05.09.2011, 16:37 |
|
|
start [/forum/topic.php?fid=17&fpage=41&tid=1350638]: |
0ms |
get settings: |
11ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
102ms |
get topic data: |
12ms |
get forum data: |
2ms |
get page messages: |
47ms |
get tp. blocked users: |
1ms |
others: | 14ms |
total: | 209ms |
0 / 0 |