Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Привет. Нарисовал такой файлик с расширением .vbs: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Код: plaintext Код: plaintext 1. 2. Такой скрипт: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. cn.version возвращает 2.8 Что делаю не так? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 13:58 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:03 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
кстати непонятно зачем извращения со стримом? открывайте файл, считывайте ваш SQL в переменную String и передавайте на выполнение как обычно ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:07 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
не помогло. та же ошибка. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:07 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
в vbs я ньюб. чего первое нарыл в инете, то и заюзал. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:08 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:08 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
это как содержимое файлика прочитать в переменную. (для vbs сами перепишите) Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:12 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Konst_One вот просветитесьэто и было примером. через переменную пробую. но, так, интересно просто, почему не работает? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:16 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
потому что стрим на выполнение в ADO не для этого, там нужно out stream ещё прикручивать для результата ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:17 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:22 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:37 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
а зачем вы опять этим занялись? у вас есть потребность использования XML-запросов в SQL-сервер и получения xml-документа? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:39 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Интересно. В XML потребности нет. Но, насколько я понял, там XML не обязателен. Или не прав? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:45 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
In addition to receiving results in a Recordset object, an ADO application can use the Stream object to contain these results in XML format. These results also can be streamed into any object that supports the OLE DB IStream interface, (for example, the ASP Response object. http://msdn.microsoft.com/en-us/library/aa905920(SQL.80).aspx ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:48 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
О! а http://msdn.microsoft.com/en-us/library/aa905915%28SQL.80%29.aspx говорит, что {C8B522D7-5CF3-11CE-ADE5-00AA0044773D} DBGUID_SQL Transact-SQL query пишу Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:55 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
и конечно на вашем сервере установлен SQL XML 3.0? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 14:58 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Executing SQL Queries (SQLXMLOLEDB Provider) This example illustrates the use of the following SQLXMLOLEDB Provider-specific properties: ClientSideXML xml root In this client-side ADO sample application, a simple SQL query is executed on the client. Because the ClientSideXML property is set to True, the SELECT statement without the FOR XML clause is sent to the server. The server executes the query and returns a rowset to the client. The client then applies the FOR XML transformation to the rowset and produces an XML document. The xml root property provides the single top-level root element for the XML document that is generated. In the code, you must provide the name of the instance of Microsoft® SQL Server™ in the connection string. Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:05 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
не знаю. как проверить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:07 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
выполните пример, что выше дал и проверьте PS провайдер можно посмотреть в списке, если кликнуть на пустой файлик *.UDL в explorer ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:12 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
поставил sqlxml3. в списке провайдеров он появился. ошибки те же. при указании диалекта Код: plaintext 1. 2. Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:27 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
т.е. при указании диалекта Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:30 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
у вас MSDE? для 2000 тогда нужно ставить SQL XML 3.0 sp2 : http://msdn.microsoft.com/en-us/library/aa286527.aspx ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:34 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. Код: plaintext 1. 2. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:34 |
|
||
|
adodb.command Object or provider is not capable of performing requested operation 800A0CB3
|
|||
|---|---|---|---|
|
#18+
тогда вам незачем вообще эти пляски со стримом ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 03.12.2009, 15:35 |
|
||
|
|

start [/forum/topic.php?fid=60&msg=36346292&tid=2160341]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
47ms |
get tp. blocked users: |
1ms |
| others: | 229ms |
| total: | 358ms |

| 0 / 0 |
