Проблемы
Ошибка во время выполнения «-2147217900 (80040e14)»: [Microsoft] [драйвер SQL Server ODBC] [SQL Server] в запросе используются операторы внешнего соединения, не относящиеся к ANSI («* =» или «= *»). Чтобы выполнить этот запрос без изменения, установите для свойства уровень совместимости текущей базы данных значение 80 или ниже, используя sp_dbcmptlevel хранимой процедуры. Настоятельно рекомендуется переписать запрос с использованием операторов внешнего соединения ANSI (левое ВНЕШНее соединение, ПРАВОе ВНЕШНее соединение). В будущих версиях SQL Server операторы соединения, не относящиеся к ANSI, не поддерживаются даже в режимах обратной совместимости, эта ошибка возникает в одном из следующих трех экземпляров.
-
FDM 6,0 и 7,0 — ошибка в ФИНАНСОВом масштабе в формате строки для базы данных SQL 2005.
-
FRL13, FDM 6,0 и 7,0 — ошибка при запуске мастера отчетов для базы данных SQL 2005.
-
Отчеты с эталонными кодами, TREF, TPROJ получать ошибки для SQL 2005 DB.
Статус
Этот SMR был исправлен в пакете обновления для R07670 и последующих пакетах обновления, а также на веб-сайте (www.FRxSoftware.com) для обеспечения доступности пакетов обновления для главной книги. Вы также можете зарегистрироваться для автоматического уведомления о службах на нашем веб-сайте.
Обходное решение
Чтобы обойти эту ошибку, выполните указанные ниже действия, чтобы установить уровень совместимости базы данных в 80:
-
В корпоративном диспетчере щелкните правой кнопкой мыши базу данных. Выберите пункт Свойства.
-
Откройте вкладку Параметры.
-
Измените уровень совместимости на 80.
Ссылки
Нужна дополнительная помощь?
Содержание
- Ошибка во время выполнения «-2147217900 (80040e14)
- Проблемы
- Статус
- Обходное решение
- Error 80040e14 sql server
- Error 80040e14 sql server
- Answered by:
- Question
- Answers
- All replies
- Error 80040e14 sql server
- Asked by:
- Question
Ошибка во время выполнения «-2147217900 (80040e14)
Проблемы
Ошибка во время выполнения «-2147217900 (80040e14)»: [Microsoft] [драйвер SQL Server ODBC] [SQL Server] в запросе используются операторы внешнего соединения, не относящиеся к ANSI («* =» или «= *»). Чтобы выполнить этот запрос без изменения, установите для свойства уровень совместимости текущей базы данных значение 80 или ниже, используя sp_dbcmptlevel хранимой процедуры. Настоятельно рекомендуется переписать запрос с использованием операторов внешнего соединения ANSI (левое ВНЕШНее соединение, ПРАВОе ВНЕШНее соединение). В будущих версиях SQL Server операторы соединения, не относящиеся к ANSI, не поддерживаются даже в режимах обратной совместимости, эта ошибка возникает в одном из следующих трех экземпляров.
FDM 6,0 и 7,0 — ошибка в ФИНАНСОВом масштабе в формате строки для базы данных SQL 2005.
FRL13, FDM 6,0 и 7,0 — ошибка при запуске мастера отчетов для базы данных SQL 2005.
Отчеты с эталонными кодами, TREF, TPROJ получать ошибки для SQL 2005 DB.
Статус
Этот SMR был исправлен в пакете обновления для R07670 и последующих пакетах обновления, а также на веб-сайте (www.FRxSoftware.com) для обеспечения доступности пакетов обновления для главной книги. Вы также можете зарегистрироваться для автоматического уведомления о службах на нашем веб-сайте.
Обходное решение
Чтобы обойти эту ошибку, выполните указанные ниже действия, чтобы установить уровень совместимости базы данных в 80:
В корпоративном диспетчере щелкните правой кнопкой мыши базу данных. Выберите пункт Свойства.
Источник
Error 80040e14 sql server
Описание ошибки:
В это публикации будет рассмотрена не только сама ошибка СУБД о переполнении журнала транзакций, но описание того, как уменьшить (очистить, сократить) журнал транзакций.
Эту ситуацию можно было отнести к части обслуживающих операций. Но дает знать о себе переполнение журнала транзакций СУБД в самые неподходящие моменты. Например, часто, при обновлении баз данных, поскольку частое выполнение операций по модификации данных базы приводит к увеличению размеров журнала транзакций. Старые записи журнала транзакций в некоторый момент могут стать не востребованными и могут быть удалены. Таким образом освобождается место для новых записей. Если вовремя не удалять старые записи журнала транзакций, то его файл может занять все свободное дисковое пространство и работа с базой данных станет невозможной, сопровождаемая приведенной ошибкой.
Рассмотрим один из примеров того, как сократить журнал транзакций.
Запускается SQL Server Management Studio. В ветке «Базы данных» дерева «Обозревателя объектов» находим базу данных по названию. Вызываем контекстное меню правой кнопкой мыши и в нем выбираем пункт «Создать запрос» и вводим текст:
BACKUP LOG [name_db] WITH TRUNCATE_ONLY
go
DBCC SHRINKFILE ([log_file])
go
, где [name_db] — имя (название) базы данных СУБД. В примере — «Бухгалтерия»;
, а [log_file] имя или путь к файлу журнала (лога) транзакций формата *.ldf. О том, как определить его название и местоположение см. ниже, в примере — «Бухгалтерия_log.ldf»
Прежде чем «Выполнить» запрос нажатием соответствующей кнопки потребуется определить имя файла журнала транзакций. Можно просто искать его по названию базы и расширению на дисках сервера. А можно посмотреть в свойствах базы.
Для этого через то же контекстное меню, что уже вызывали ранее, переходим в «Свойства» базы данных SQL.
В открывшемся окне «Свойств базы данных» переходим на страницу «Файлы». И смотрим «Путь» и «Имя файла» журнала транзакций в колонках таблицы «Файлы базы данных». Эти сведения и используем для заполнения в запросе для параметра [log_file].
Так же можно на будущее настроить автоматическое сжатие журнала транзакций. Это изложено в документации на сайте SQL: настройка авторасширения и автосжатия в SQL Server
Источник
Error 80040e14 sql server
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I receive this error on my company intranet page:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
The include file calls data from a sql server 2000 db; I do not see any errors on the db.
There has not been any server work to point that there have been changes to the server that would cause this to happen. It was working the previous day.
Any ideas?
Answers
It ended up that the code pulls names not from active directory, but a database where it needs to display names and logins. And when it came to a new perosn who has a name with an apostrophe in it, it had no idea what to do with it.
His last name is D’Angelo, while I was looking for Angelo as a first name.
So, the statement inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»‘
would always throw an error where there is an apostrophe in the name.
I took out the apostrophe, but I would like to know how to write statement to allow names with apostrophe.
If you’re the administrator of the system/database, please use SQL Profiler to find out what the query is. Besides, you can try ASP debug.
What you can do:
1. Try to get SQL Profiler logs if you’re the database administrator and see how you can fix the failure query. I’d suppose that the quotes are not paired right.
2. If not, please post the code around line 429 in /asp/getEmployeeInfo.inc and we can give you advices on this.
I cannot get to the sql profiler.
Here is line 429 in bold:
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
set rsEmail = connDB.execute(inSQL)
if rsEmail.eof then
set rsEmail = nothing
Please add some code to output the string inSQL before executing the SQL query so that you can get the result in client side(you might need to comment out the SQL query execution logic so that no error will be thrown and the client can get the response). After the content of inSQL is retireved, try executing it in sqlcmd.exe or any other query tool.
If the SQL Server you’re using is not SQL Server Express, you can find the SQL Profiler tool under start->Microsoft SQL Server XXX->performance tools
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
Hello peonysmiles,
I already tried the smiliar sql string as yours. It can work well with SQL Server 2000 and 2008
So can you display the value of «inSQL» by adding code «msgbox inSQL«,let’s see what value of it.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
Hi Peonysmiles,
I means that add statement as follow, and tell us the real value of inSQL.
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
msgbox inSQL
This is the error I receive after adding that line:
Microsoft VBScript runtime (0x800A0046)
Permission denied: ‘msgbox’
You are running your script at server side, it is not allowed to run msgbox.
Well, in order to know the value of SQL string, you have to collect ODBC trace by running odbcad32.exe.
You can do it by following the webpage http://www.easysoft.com/support/kb/kb00946.html It should be a way to collect right value of TSQL String.
After get the ODBC tracing, you can find the TSQL String by search » angelo@companyname». Show us the value of it.
Well, I followed the instructiions, but no logs were written. What am I doing incorrectly?
hi Peonysmiles,
First of all, you must make sure to enable ODBC Trace before staring appliation, or else, there is no any ODBC Trace was logged.
1. run odbcad32.exe
2. switch to tab windows «Tracing»
3. select a log file to save the trace.
4. press «Start Tracing Now»
5. Start up your application until get error
6. Press «Stop Tracing Now» to stop trace
7. you should find trace log.
Hi peonysmiles,
It seems that your ASP is running as a service, right? So, whenever you enable ODBC Trace, your ASP already runned.
So, first of all, suggest to disable your service, and enable ODBC Trace, then enable your service again.
Try it. Hopefullly , you can get right trace.
By the way, if you have another issue, please send email to me livecloud.su@hotmail.com directory. Let’s discuss the issue offline.
SQL Profiler is the easiest way to see exactly what is being sent to the server and why the syntax error is coming back. If you run profiler and trace SQL:BatchCompleted, SP:Completed, and User Error Messages you should see what is causing the problem directly. Look for the red events (error messages) and look just below it for the batch or stored procedure that generated the error. This is the easiest way I know to find out where my syntax errors are coming from. Once you know what the statement is, it is fairly easy to backtrack to the part of the program that is generating it.
Hope that helps,
John This post is provided ‘as is’ and confers no express or implied warranties or rights.
Источник
Error 80040e14 sql server
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I run the SSIS 2012 package and got following error.
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: «Microsoft SQL Server Native Client 11.0» Hresult: 0x80040E14 Description: «Could not bulk load because SSIS file mapping object ‘GlobalDTSQLIMPORT ‘ could not be opened. Operating system error code 5(Access is denied.). Make sure you are accessing a local server via Windows security.»
I saw similar posts. The solution would be — set “Local Security Policy” — «create global objects».
I run the package by ‘Administrator’ user that permitted the «create global objects».
In the Connection manager, the authentication is ‘SQL Server Authentication’ and specified ‘sa’ user.
It is not remote environment. Run the package on the Server machine.
If I changed to Windows Authentication in the connection manager, it works fine.
If I switched OLD DB destination, the package works fine.
Any idea to solve this issue to keep ‘SQL Server destination’ and ‘SQL Server authentication’?
Источник
Содержание
- Ошибка во время выполнения «-2147217900 (80040e14)
- Проблемы
- Статус
- Обходное решение
- Ole db error 0x80040e14
- Asked by:
- Question
- Ole db error 0x80040e14
- Answered by:
- Question
- Answers
- All replies
- Ole db error 0x80040e14
- Answered by:
- Question
- Ole db error 0x80040e14
- Answered by:
- Question
- Answers
- All replies
Ошибка во время выполнения «-2147217900 (80040e14)
Проблемы
Ошибка во время выполнения «-2147217900 (80040e14)»: [Microsoft] [драйвер SQL Server ODBC] [SQL Server] в запросе используются операторы внешнего соединения, не относящиеся к ANSI («* =» или «= *»). Чтобы выполнить этот запрос без изменения, установите для свойства уровень совместимости текущей базы данных значение 80 или ниже, используя sp_dbcmptlevel хранимой процедуры. Настоятельно рекомендуется переписать запрос с использованием операторов внешнего соединения ANSI (левое ВНЕШНее соединение, ПРАВОе ВНЕШНее соединение). В будущих версиях SQL Server операторы соединения, не относящиеся к ANSI, не поддерживаются даже в режимах обратной совместимости, эта ошибка возникает в одном из следующих трех экземпляров.
FDM 6,0 и 7,0 — ошибка в ФИНАНСОВом масштабе в формате строки для базы данных SQL 2005.
FRL13, FDM 6,0 и 7,0 — ошибка при запуске мастера отчетов для базы данных SQL 2005.
Отчеты с эталонными кодами, TREF, TPROJ получать ошибки для SQL 2005 DB.
Статус
Этот SMR был исправлен в пакете обновления для R07670 и последующих пакетах обновления, а также на веб-сайте (www.FRxSoftware.com) для обеспечения доступности пакетов обновления для главной книги. Вы также можете зарегистрироваться для автоматического уведомления о службах на нашем веб-сайте.
Обходное решение
Чтобы обойти эту ошибку, выполните указанные ниже действия, чтобы установить уровень совместимости базы данных в 80:
В корпоративном диспетчере щелкните правой кнопкой мыши базу данных. Выберите пункт Свойства.
Источник
Ole db error 0x80040e14
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
Question
I run the SSIS 2012 package and got following error.
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: «Microsoft SQL Server Native Client 11.0» Hresult: 0x80040E14 Description: «Could not bulk load because SSIS file mapping object ‘GlobalDTSQLIMPORT ‘ could not be opened. Operating system error code 5(Access is denied.). Make sure you are accessing a local server via Windows security.»
I saw similar posts. The solution would be — set “Local Security Policy” — «create global objects».
I run the package by ‘Administrator’ user that permitted the «create global objects».
In the Connection manager, the authentication is ‘SQL Server Authentication’ and specified ‘sa’ user.
It is not remote environment. Run the package on the Server machine.
If I changed to Windows Authentication in the connection manager, it works fine.
If I switched OLD DB destination, the package works fine.
Any idea to solve this issue to keep ‘SQL Server destination’ and ‘SQL Server authentication’?
Источник
Ole db error 0x80040e14
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I receive this error on my company intranet page:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
The include file calls data from a sql server 2000 db; I do not see any errors on the db.
There has not been any server work to point that there have been changes to the server that would cause this to happen. It was working the previous day.
Any ideas?
Answers
It ended up that the code pulls names not from active directory, but a database where it needs to display names and logins. And when it came to a new perosn who has a name with an apostrophe in it, it had no idea what to do with it.
His last name is D’Angelo, while I was looking for Angelo as a first name.
So, the statement inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»‘
would always throw an error where there is an apostrophe in the name.
I took out the apostrophe, but I would like to know how to write statement to allow names with apostrophe.
If you’re the administrator of the system/database, please use SQL Profiler to find out what the query is. Besides, you can try ASP debug.
What you can do:
1. Try to get SQL Profiler logs if you’re the database administrator and see how you can fix the failure query. I’d suppose that the quotes are not paired right.
2. If not, please post the code around line 429 in /asp/getEmployeeInfo.inc and we can give you advices on this.
I cannot get to the sql profiler.
Here is line 429 in bold:
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
set rsEmail = connDB.execute(inSQL)
if rsEmail.eof then
set rsEmail = nothing
Please add some code to output the string inSQL before executing the SQL query so that you can get the result in client side(you might need to comment out the SQL query execution logic so that no error will be thrown and the client can get the response). After the content of inSQL is retireved, try executing it in sqlcmd.exe or any other query tool.
If the SQL Server you’re using is not SQL Server Express, you can find the SQL Profiler tool under start->Microsoft SQL Server XXX->performance tools
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
Hello peonysmiles,
I already tried the smiliar sql string as yours. It can work well with SQL Server 2000 and 2008
So can you display the value of «inSQL» by adding code «msgbox inSQL«,let’s see what value of it.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
Hi Peonysmiles,
I means that add statement as follow, and tell us the real value of inSQL.
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
msgbox inSQL
This is the error I receive after adding that line:
Microsoft VBScript runtime (0x800A0046)
Permission denied: ‘msgbox’
You are running your script at server side, it is not allowed to run msgbox.
Well, in order to know the value of SQL string, you have to collect ODBC trace by running odbcad32.exe.
You can do it by following the webpage http://www.easysoft.com/support/kb/kb00946.html It should be a way to collect right value of TSQL String.
After get the ODBC tracing, you can find the TSQL String by search » angelo@companyname». Show us the value of it.
Well, I followed the instructiions, but no logs were written. What am I doing incorrectly?
hi Peonysmiles,
First of all, you must make sure to enable ODBC Trace before staring appliation, or else, there is no any ODBC Trace was logged.
1. run odbcad32.exe
2. switch to tab windows «Tracing»
3. select a log file to save the trace.
4. press «Start Tracing Now»
5. Start up your application until get error
6. Press «Stop Tracing Now» to stop trace
7. you should find trace log.
Hi peonysmiles,
It seems that your ASP is running as a service, right? So, whenever you enable ODBC Trace, your ASP already runned.
So, first of all, suggest to disable your service, and enable ODBC Trace, then enable your service again.
Try it. Hopefullly , you can get right trace.
By the way, if you have another issue, please send email to me livecloud.su@hotmail.com directory. Let’s discuss the issue offline.
SQL Profiler is the easiest way to see exactly what is being sent to the server and why the syntax error is coming back. If you run profiler and trace SQL:BatchCompleted, SP:Completed, and User Error Messages you should see what is causing the problem directly. Look for the red events (error messages) and look just below it for the batch or stored procedure that generated the error. This is the easiest way I know to find out where my syntax errors are coming from. Once you know what the statement is, it is fairly easy to backtrack to the part of the program that is generating it.
Hope that helps,
John This post is provided ‘as is’ and confers no express or implied warranties or rights.
Источник
Ole db error 0x80040e14
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
We are using OLEDB Command transformation and we are updating the records in the destination.
The component was working fine always, but suddenly we are getting a failure and the below error.
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: «Microsoft SQL Server Native Client 10.0» Hresult: 0x80040E14 Description: «This operation conflicts with another pending operation on this transaction. The operation failed.». SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available. Source: «Microsoft SQL Server Native Client 10.0» Hresult: 0x80040E14 Description: «This operation conflicts with another pending operation on this transaction. The operation failed.»
I am not sure the reason behind getting this issue.
Any help is much appreciated !! Thank You..
Источник
Ole db error 0x80040e14
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I receive this error on my company intranet page:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
The include file calls data from a sql server 2000 db; I do not see any errors on the db.
There has not been any server work to point that there have been changes to the server that would cause this to happen. It was working the previous day.
Any ideas?
Answers
It ended up that the code pulls names not from active directory, but a database where it needs to display names and logins. And when it came to a new perosn who has a name with an apostrophe in it, it had no idea what to do with it.
His last name is D’Angelo, while I was looking for Angelo as a first name.
So, the statement inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»‘
would always throw an error where there is an apostrophe in the name.
I took out the apostrophe, but I would like to know how to write statement to allow names with apostrophe.
If you’re the administrator of the system/database, please use SQL Profiler to find out what the query is. Besides, you can try ASP debug.
What you can do:
1. Try to get SQL Profiler logs if you’re the database administrator and see how you can fix the failure query. I’d suppose that the quotes are not paired right.
2. If not, please post the code around line 429 in /asp/getEmployeeInfo.inc and we can give you advices on this.
I cannot get to the sql profiler.
Here is line 429 in bold:
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
set rsEmail = connDB.execute(inSQL)
if rsEmail.eof then
set rsEmail = nothing
Please add some code to output the string inSQL before executing the SQL query so that you can get the result in client side(you might need to comment out the SQL query execution logic so that no error will be thrown and the client can get the response). After the content of inSQL is retireved, try executing it in sqlcmd.exe or any other query tool.
If the SQL Server you’re using is not SQL Server Express, you can find the SQL Profiler tool under start->Microsoft SQL Server XXX->performance tools
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
Hello peonysmiles,
I already tried the smiliar sql string as yours. It can work well with SQL Server 2000 and 2008
So can you display the value of «inSQL» by adding code «msgbox inSQL«,let’s see what value of it.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ‘angelo@companyname’ .
/asp/getEmployeeInfo.inc, line 429
Hi Peonysmiles,
I means that add statement as follow, and tell us the real value of inSQL.
Public Function checkEmail(inEmail)
inSQL = » select emailaddress from employee where emailaddress = ‘» & inEmail & «‘»
msgbox inSQL
This is the error I receive after adding that line:
Microsoft VBScript runtime (0x800A0046)
Permission denied: ‘msgbox’
You are running your script at server side, it is not allowed to run msgbox.
Well, in order to know the value of SQL string, you have to collect ODBC trace by running odbcad32.exe.
You can do it by following the webpage http://www.easysoft.com/support/kb/kb00946.html It should be a way to collect right value of TSQL String.
After get the ODBC tracing, you can find the TSQL String by search » angelo@companyname». Show us the value of it.
Well, I followed the instructiions, but no logs were written. What am I doing incorrectly?
hi Peonysmiles,
First of all, you must make sure to enable ODBC Trace before staring appliation, or else, there is no any ODBC Trace was logged.
1. run odbcad32.exe
2. switch to tab windows «Tracing»
3. select a log file to save the trace.
4. press «Start Tracing Now»
5. Start up your application until get error
6. Press «Stop Tracing Now» to stop trace
7. you should find trace log.
Hi peonysmiles,
It seems that your ASP is running as a service, right? So, whenever you enable ODBC Trace, your ASP already runned.
So, first of all, suggest to disable your service, and enable ODBC Trace, then enable your service again.
Try it. Hopefullly , you can get right trace.
By the way, if you have another issue, please send email to me livecloud.su@hotmail.com directory. Let’s discuss the issue offline.
SQL Profiler is the easiest way to see exactly what is being sent to the server and why the syntax error is coming back. If you run profiler and trace SQL:BatchCompleted, SP:Completed, and User Error Messages you should see what is causing the problem directly. Look for the red events (error messages) and look just below it for the batch or stored procedure that generated the error. This is the easiest way I know to find out where my syntax errors are coming from. Once you know what the statement is, it is fairly easy to backtrack to the part of the program that is generating it.
Hope that helps,
John This post is provided ‘as is’ and confers no express or implied warranties or rights.
Источник
Forum Rules |
|
-
11-08-2012, 05:32 AM
#1
Forum Contributor
Run-time error ‘-2147217900(80040e14)’: Automation error
Hi try to execute the following code, with the attached minimal database:
In function SSS_Read line ADORecordset.Open SQL, ADOC, adLockReadOnly throws this error:
Run-time error ‘-2147217900(80040e14)’: Automation error
By using another database and another sql command this code works perfect.
What hell is wrong?Thank you very much!
Lloyd
-
11-08-2012, 06:19 AM
#2
Forum Contributor
Re: Run-time error ‘-2147217900(80040e14)’: Automation error
Got it!
Index is a reserved word in ms-acces.
It seems an error message that exactly tells this is too much to ask for!
-
11-08-2012, 06:27 AM
#3
Re: Run-time error ‘-2147217900(80040e14)’: Automation error
You beat me to it. try this with the [ ]
Thanks,
MikeIf you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
-
11-08-2012, 06:54 AM
#4
Forum Contributor
Re: Run-time error ‘-2147217900(80040e14)’: Automation error
Thanks for that Info Mike!