0 / 0 / 0
Регистрация: 11.05.2008
Сообщений: 10
1

ADODB.Connection error The operation requested by the application is not allowed if the object is closed

30.06.2008, 22:34. Показов 1141. Ответов 2
Метки нет (Все метки)

Hallo to all,

I gave this errors

//ADODB.Connection error '800a0e78'

//The operation requested by the application is not allowed if the object is closed.

May be, can somebody say what is a problem.
Thanks
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
30.06.2008, 22:34
Ответы с готовыми решениями:

Ошибка ADODB.Recordset error '800a0e78' The operation requested by the application is not allowed if the object is closed.
Podskazhite, pochemu u menya posle vipolneniya vseh zadaniy pri popitke vipolnit' sleduyushiy kod...

ошибка: 'Run-time error 3705. The operation requested by the application is not allowed if the object is open.'
Private Sub cmdPrint_Click() DataForGaranty.Garanty.ConnectionString =...

Странная проблема с delete: ADODB.Recordset (0x800A0E78) Operation is not allowed when the object is closed
есть код set outpostDB = Server.CreateObject('ADODB.Connection') outpostDB.Open "ххх" ...

Не работает OpenSchema:ADODB.Connection (0x800A0CB3) Object or provider is not capable of performing requested operation.
... conn.Open set rs = Server.CreateObject ('ADODB.Recordset') Set rs =...

2
Spika
30.06.2008, 23:50 2
Show your code.
0 / 0 / 0
Регистрация: 11.05.2008
Сообщений: 10
01.07.2008, 14:44  [ТС] 3
Here is
I get always by 50 or more executions (!!!!) the result 'Keine Überschrift in der Datenbank'
It means that the objRS by 50 or more executions is empty.
If I examine the objConn.State I'll get that the Connection is closed.

Why does the programm close the connection by 50 or more execution(!!!!) ????

//
function Translate_RS(Tabelle,Uberschrift)
on error resume next
if open() then
set objRS = Server.CreateObject('ADODB.RecordSet')
objRS.open TranslateSQL(Tabelle,PageDefinition(Sprache),Ubers chrift), objConn, adOpenStatic

if objRS.BOF and objRS.EOF then

if objConn.State=adStateOpen then
else
response.write objRS.fields(PageDefinition(Sprache))
end if

Translate_RS='Keine Überschrift in der Datenbank'
else
Translate_RS=objRS.fields(PageDefinition(Sprache))
if Translate_RS='N/A' then
RS_Close(objRS)
set objRS = Server.CreateObject('ADODB.RecordSet')
objRS.open TranslateSQL(Tabelle,'en',Uberschrift), objConn, adOpenStatic
Translate_RS=objRS.fields('en')
end if
end if
end if

if Err.Number <> 0 then
for each errorfield in objConnection.Errors

echo '<b>Fehler</b>: ' & errorfield.Description & ' (' & hex(errorfield.Number) & ')
'
echo '<b>Quelle</b>: ' & errorfield.Source & '
'
echo '<b>Quelle</b>: ' & errorfield.NativeError & '
'
echo '<b>String</b>: <code>' & TranslateSQL(Tabelle,PageDefinition(Sprache),Ubers chrift) & '</code><p>'
next
end if

RS_Close(objRS)
end function
//
0
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
01.07.2008, 14:44
Помогаю со студенческими работами здесь

ADODB.Field error '800a0bcd' Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires
вываливается ошибка: ADODB.Field error '800a0bcd' Either BOF or EOF is True, or the current...

Ошибка ADODB.Field error '800a0bcd' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current recor
Имею скрипт Set dbo = Server.CreateObject('ADODB.Connection') dbo.Open 'PEN1' Title =...

ADODB.Field error '80020009' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Выдается следующая ошибка : === ADODB.Field error '80020009' Either BOF or EOF is True, or...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
3
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2023, CyberForum.ru