This article applies to Microsoft Dynamics NAV for all countries and all language locales.
Symptoms
Assume that you use the standard security model in Microsoft Dynamics NAV 2009 Service Pack 1 (SP1). When you try to delete a table from the object designer and the LinkedObject property of the table is set to Yes, you receive an error message that resembles the following:
The following SQL Server error or errors occurred:
208,»42S02″,[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name ‘$ndo$usrproperty’.
16945,»42000″,[Microsoft][ODBC SQL Server Driver][SQL Server]The cursor was not declared.
SQL:
SELECT [sid] FROM [$ndo$usrproperty]
Cause
This problem occurs because the $ndo$usrproperty table only exists when you use the enhanced security model.
Resolution
Hotfix information
A supported hotfix is available from Microsoft. There is a «Hotfix download available» section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft Web site:
https://mbs.microsoft.com/support/newstart.aspx You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft Web sites:
Partners
https://mbs.microsoft.com/partnersource/resources/support/supportinformation/Global+Support+ContactsCustomers
How to obtain the Microsoft Dynamics NAV hotfix or update files
After you request a Microsoft Dynamics NAV hotfix, a hyperlink will be sent to you in an e-mail.
The e-mail will contain a hyperlink and a password. You can use the hyperlink to download the Microsoft Dynamics NAV hotfix or the update files. When you click the hyperlink, the File Download – Security Warning dialog box opens. Then, you are prompted to run, to save, or to cancel the download.
If you click Run, the files start the download and the extraction process. You must specify a folder for the new files, and then provide the password.
If you click Save, you must specify a path for saving the compressed file. When you open the file that you saved, you are prompted to specify a path for the files. Then, you must provide the password provided in the e-mail.
If you click Cancel, the download process stops.
How to install a Microsoft Dynamics NAV hotfix or an update file
The Microsoft Dynamics NAV platform hotfixes and updates are made available as single files. To install a Microsoft Dynamics NAV hotfix or an update, you must replace the existing Microsoft Dynamics NAV installation files with the hotfix or the update files. To do this, follow these steps.
Step 1: Replace the files in the Microsoft Dynamics NAV Classic Client installation
In the Microsoft Dynamics NAV Classic Client installation, replace the following files by using the hotfix or the update file.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Dbm.dll |
6.0.31695.0 |
427,848 |
24-Sep-2010 |
15:32 |
x86 |
|
Fin.exe |
6.0.31695.0 |
12,641,096 |
24-Sep-2010 |
15:32 |
x86 |
|
Finhlink.exe |
6.0.31695.0 |
452,432 |
24-Sep-2010 |
15:32 |
x86 |
|
Finsql.exe |
6.0.31695.0 |
12,763,984 |
24-Sep-2010 |
15:32 |
x86 |
|
Nc_netb.dll |
6.0.31695.0 |
96,592 |
24-Sep-2010 |
15:32 |
x86 |
|
Nc_tcp.dll |
6.0.31695.0 |
98,640 |
24-Sep-2010 |
15:32 |
x86 |
|
Nc_tcps.dll |
6.0.31695.0 |
141,136 |
24-Sep-2010 |
15:32 |
x86 |
|
Ndbcs.dll |
6.0.31695.0 |
1,350,480 |
24-Sep-2010 |
15:32 |
x86 |
|
Slave.exe |
6.0.31695.0 |
152,400 |
24-Sep-2010 |
15:31 |
x86 |
To replace the existing Microsoft Dynamics NAV files, follow these steps:
-
Close the Microsoft Dynamics NAV Classic Client.
-
Locate the Microsoft Dynamics NAV Classic Client installation directory. The Microsoft Dynamics NAV Classic Client is usually installed in the following directory:
C:Program FilesMicrosoft Dynamics NAV60Classic
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the Microsoft Dynamics NAV Classic Client installation directory.
-
Click Yes to overwrite the files in the directory.
Step 2: Replace the files in the Microsoft Dynamics NAV RoleTailored client installation
In the Microsoft Dynamics NAV RoleTailored client installation, replace the following files by using the hotfix or the update file.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Microsoft.dynamics.framework.patterns.dll |
1.3.10803.323 |
71,656 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.dll |
1.3.10803.323 |
698,328 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.mapping.dll |
1.3.10803.323 |
104,424 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.navigation.dll |
1.3.10803.323 |
34,800 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.ux2006.dll |
1.3.10803.323 |
92,136 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.ux2006.winforms.dll |
1.3.10803.323 |
63,480 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.windows.dll |
1.3.10803.323 |
83,944 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.winforms.controls.dll |
1.3.10803.323 |
2,217,984 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.framework.ui.winforms.dll |
1.3.10803.323 |
694,256 |
24-Sep-2010 |
06:30 |
x86 |
|
Microsoft.dynamics.nav.client.builder.dll |
6.0.31695.0 |
198,544 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.exe |
6.0.31695.0 |
149,376 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.interop.communicator.dll |
1.0.559.183 |
75,688 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.serviceconnection.dll |
6.0.31695.0 |
104,352 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.ui.dll |
6.0.31695.0 |
509,824 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.winforms.dll |
6.0.31695.0 |
341,904 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.client.winforms.tlb |
Not applicable |
2,680 |
24-Sep-2010 |
12:13 |
Not applicable |
|
Microsoft.dynamics.nav.language.dll |
6.0.31695.0 |
2,000,768 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.types.dll |
6.0.31695.0 |
567,160 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.watson.dll |
6.0.31695.0 |
42,880 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.office.interop.outlook.dll |
10.0.4504.0 |
395,136 |
24-Sep-2010 |
15:31 |
x86 |
To replace these files, follow these steps:
-
Close the Microsoft Dynamics NAV RoleTailored client.
-
Locate the Microsoft Dynamics NAV RoleTailored client installation directory. The Microsoft Dynamics NAV RoleTailored client is usually installed in the following directory:
C:Program FilesMicrosoft Dynamics NAV60RoleTailored Client
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the Microsoft Dynamics NAV RoleTailored client installation directory.
-
Click Yes to overwrite the files in the directory.
Step 3: Replace the files in the Microsoft Dynamics NAV Server installation
In the Microsoft Dynamics NAV Server installation, replace the following files by using the hotfix or the update file.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Httpcfg.exe |
5.2.3790.0 |
22,352 |
24-Sep-2010 |
15:31 |
x86 |
|
Microsoft.dynamics.nav.language.dll |
6.0.31695.0 |
2,000,768 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.ncl.dll |
6.0.31695.0 |
608,120 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.server.exe |
6.0.31695.0 |
141,184 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.service.dll |
6.0.31695.0 |
145,280 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.service.runtime.dll |
6.0.31695.0 |
75,664 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.service.webservices.dll |
6.0.31695.0 |
145,304 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.types.dll |
6.0.31695.0 |
567,160 |
24-Sep-2010 |
15:20 |
x86 |
|
Microsoft.dynamics.nav.watson.dll |
6.0.31695.0 |
42,880 |
24-Sep-2010 |
15:20 |
x86 |
|
Nclcsrt.etx |
Not applicable |
89,525 |
24-Sep-2010 |
08:31 |
Not applicable |
|
Nclcsrt.stx |
Not applicable |
91,724 |
24-Sep-2010 |
08:31 |
Not applicable |
|
Nclcsrts.dll |
6.0.31695.0 |
1,489,744 |
24-Sep-2010 |
15:31 |
x86 |
|
Ndbcs.dll |
6.0.31695.0 |
1,350,480 |
24-Sep-2010 |
15:31 |
x86 |
To replace these files, follow these steps:
-
Stop the Microsoft Dynamics NAV Server.
-
Locate the Microsoft Dynamics NAV Server installation directory. The Microsoft Dynamics NAV Server is usually installed in the following directory:
C:Program FilesMicrosoft Dynamics NAV60Service
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the Microsoft Dynamics NAV Server installation directory.
-
Click Yes to overwrite the files in the directory.
-
Start the Microsoft Dynamics NAV Server.
Step 4: Replace the files in the Microsoft Dynamics NAV Application Server installation
If you have Microsoft Dynamics NAV Application Server installed, replace the following files in the Microsoft Dynamics NAV Application Server installation by using the hotfix or the update files.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Dbm.dll |
6.0.31695.0 |
427,848 |
24-Sep-2010 |
15:31 |
x86 |
|
Nas.exe |
6.0.31695.0 |
2,272,072 |
24-Sep-2010 |
15:31 |
x86 |
|
Nassql.exe |
6.0.31695.0 |
2,370,384 |
24-Sep-2010 |
15:31 |
x86 |
|
Ndbcs.dll |
6.0.31695.0 |
1,350,480 |
24-Sep-2010 |
15:31 |
x86 |
|
Slave.exe |
6.0.31695.0 |
152,400 |
24-Sep-2010 |
15:31 |
x86 |
To replace the files, follow these steps.
-
Stop the Microsoft Dynamics NAV Application Server.
-
Locate the Microsoft Dynamics NAV Application Server installation directory. The Microsoft Dynamics NAV Application Server is usually installed in the following directory:
C:Program FilesMicrosoft Dynamics NAV60Application Server
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the Microsoft Dynamics NAV Application Server installation directory.
-
Click Yes to overwrite the files in the directory.
-
Start the Microsoft Dynamics NAV Application Server.
Step 5: Replace the files in the Microsoft Dynamics NAV SDK installation
If you have Microsoft Dynamics NAV SDK installed, replace the following files.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Cf.h |
Not applicable |
57,736 |
24-Sep-2010 |
12:13 |
Not applicable |
|
Cfront.dll |
6.0.31695.0 |
1,578,320 |
24-Sep-2010 |
15:31 |
x86 |
|
Cfront.ocx |
6.0.31695.0 |
111,952 |
24-Sep-2010 |
15:31 |
x86 |
|
Cfrontsql.dll |
6.0.31695.0 |
1,788,248 |
24-Sep-2010 |
15:31 |
x86 |
|
Libload.c |
Not applicable |
31,718 |
24-Sep-2010 |
06:51 |
Not applicable |
|
Microsoft.dynamics.nav.cfront.cfrontdotnet.dll |
6.0.31695.0 |
182,168 |
24-Sep-2010 |
15:21 |
x86 |
|
Microsoft.dynamics.nav.cfront.cfrontdotnet.xml |
Not applicable |
442,447 |
24-Sep-2010 |
07:13 |
Not applicable |
|
Sample.c |
Not applicable |
28,718 |
24-Sep-2010 |
06:51 |
Not applicable |
|
Sample.exe |
6.0.31695.0 |
152,400 |
24-Sep-2010 |
15:31 |
x86 |
To replace the files, follow these steps.
-
Locate the Microsoft Dynamics NAV SDK installation directories. The Microsoft Dynamics NAV SDK is usually installed in the following directories:
C:Program FilesMicrosoft Dynamics NAV60SDKCFRONT
C:Program FilesMicrosoft Dynamics NAV60SDKCommunication Components
C:Program FilesCommon FilesMicrosoft Dynamics NAVCommunication Component
-
Choose the SDK to update, either C/Front or Communication Components.
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the appropriate Microsoft Dynamics NAV SDK installation directory.
-
Click Yes to overwrite the files in the directory.
Note If you downloaded a hotfix or an update for the communication components, you must register the .dll files individually.
Step 6: Replace the files in the Microsoft Dynamics NAV ODBC driver installation
If you have the Microsoft Dynamics NAV ODBC driver installed, replace the following files in the Microsoft Dynamics NAV ODBC driver installation.
|
File name |
File version |
File size |
Date |
Time |
Platform |
|---|---|---|---|---|---|
|
Cfront.dll |
6.0.31695.0 |
1,578,320 |
24-Sep-2010 |
15:31 |
x86 |
|
Dbm.dll |
6.0.31695.0 |
427,848 |
24-Sep-2010 |
15:31 |
x86 |
|
Nc_netb.dll |
6.0.31695.0 |
96,592 |
24-Sep-2010 |
15:31 |
x86 |
|
Nc_tcp.dll |
6.0.31695.0 |
98,640 |
24-Sep-2010 |
15:31 |
x86 |
|
Nc_tcps.dll |
6.0.31695.0 |
141,136 |
24-Sep-2010 |
15:31 |
x86 |
|
Nodbc.dll |
6.0.31695.0 |
2,141,008 |
24-Sep-2010 |
15:31 |
x86 |
|
Nodbc.xml |
Not applicable |
1,209 |
25-Aug-2009 |
16:43 |
Not applicable |
|
Nodbccfg.cfg |
6.0.31695.0 |
724,480 |
24-Sep-2010 |
08:05 |
Not applicable |
|
Nodbccfg.xml |
Not applicable |
2,472 |
25-Aug-2009 |
16:43 |
Not applicable |
|
Slave.exe |
6.0.31695.0 |
152,400 |
24-Sep-2010 |
15:31 |
x86 |
To replace the files, follow these steps.
-
Locate the Microsoft Dynamics NAV ODBC driver installation directory. The Microsoft Dynamics NAV ODBC driver is usually installed in the following directory:
C:Program FilesMicrosoft Dynamics NAV60ODBC
-
Copy the files that you downloaded.
-
Paste the files that you downloaded into the Microsoft Dynamics NAV ODBC driver installation directory.
-
Click Yes to overwrite the files in the directory.
Prerequisites
You must have Microsoft Dynamics NAV 2009 Service Pack 1 installed to apply this hotfix.
Status
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the «Applies to» section.
More Information
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Note This is a «FAST PUBLISH» article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
- Remove From My Forums
-
Question
-
When I run the report it throwing below error code.
qlstate 42s02 (error 208).
SQL Code:
SELECT «SLTRANDTL».»SEGMENT_VALUE», «SLTRANS».»ACCOUNT», «SLTRANS».»BASE_AMOUNT», «SLTRANS».»SEGMENT_BLOCK», «SLTRANS».»SYSTEM», «SLTRANS».»ACCT_UNIT»,
«SLTRANS».»SOURCE_CODE», «SLTRANS».»ACCT_PERIOD», «SLTRANS».»DESCRIPTION», «SLTRANS».»SUB_ACCOUNT», «SLTRANS».»UNITS_AMOUNT», «SLTRANS».»CURRENCY_CODE»,
«SLTRANS».»TRAN_AMOUNT», «SLTRANS».»POSTING_DATE»
FROM «prod81″.»dbo».»SLTRANDTL» «SLTRANDTL» INNER JOIN «prod81″.»dbo».»SLTRANS» «SLTRANS» ON «SLTRANDTL».»SLT_OBJ_ID»=»SLTRANS».»OBJ_ID»
WHERE «SLTRANDTL».»SEGMENT_VALUE» LIKE ‘3MYBT44A7GY00316’
ORDER BY «SLTRANDTL».»SEGMENT_VALUE», «SLTRANS».»POSTING_DATE», «SLTRANS».»ACCOUNT», «SLTRANS».»ACCT_UNIT»If do modification like «SLTRANDTL» «SLTRANDTL» INNER JOIN «SLTRANS» in SQL Server it showing expected results.
But how I can do change my source prod81 to dev to run my report normal.
Problem
Information Server ODBC Connector Stage gets following error when parameters are used in a User-defined SQL Statement in a job:
[
]
Message: orac_rttmessage_p1,0: ODBC function «SQLExecDirect» reported: SQLSTATE = 42S02: Native Error Code = 208: Msg = [IBM(DataDirect OEM)][ODBC Sybase Wire Protocol driver][SQL Server]dbo not found. Specify owner.objectname or use sp_help to check whether the object exists (sp_help may produce lots of output).
(CC_OdbcInputStream::open, file CC_OdbcInputStream.cpp, line 121)
[
]
If the values are hardcoded, the job is successful.
Resolving The Problem
There is a limitation in the SQL Builder where the table name is not parsed properly when the user-defined SQL statement has multiple parameters to include the schema name and the table name.
In the ODBC Connector Stage, the SQLBuilder is used internally to parse the user-defined SQL to get the table name, columns, aliases etc from the statement. The SQLBuilder has a limitiation where there is an assumption that the schema name and the table name would be parameterized together.
The error is seen when the schema name and the table name are given as separate parameters or when the schema name is a parameter and the table name is a normal string.
The recommendataion is to use the complete schema name and the table name as a single parameter to resolve this error.
For example:
i.e. #psSQLTags.TABLENAME# where the TABLENAME is a fully qualified table name
[{«Product»:{«code»:»SSZJPZ»,»label»:»IBM InfoSphere Information Server»},»Business Unit»:{«code»:»BU059″,»label»:»IBM Software w/o TPS»},»Component»:»Not Applicable»,»Platform»:[{«code»:»PF002″,»label»:»AIX»},{«code»:»PF010″,»label»:»HP-UX»},{«code»:»PF016″,»label»:»Linux»},{«code»:»PF027″,»label»:»Solaris»},{«code»:»PF033″,»label»:»Windows»}],»Version»:»8.5;8.1″,»Edition»:»»,»Line of Business»:{«code»:»LOB10″,»label»:»Data and AI»}}]
|
SPR1TE89 21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
||||||||
|
1 |
||||||||
Работа с внешними источниками данных18.04.2016, 09:50. Показов 7725. Ответов 10 Метки нет (Все метки)
Здравствуйте.
Проблема возникает при повторном формировании запроса.
Может кто встречался посоветуйте решение.
__________________
0 |
|
Модератор
3697 / 2897 / 569 Регистрация: 10.03.2011 Сообщений: 11,398 Записей в блоге: 1 |
|
|
18.04.2016, 10:14 |
2 |
|
SPR1TE89, платформа какая?
0 |
|
21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
|
|
18.04.2016, 10:21 [ТС] |
3 |
|
Dethmontt, 1C? Добавлено через 40 секунд
Платформа — 8.3(8.3.7.1917)
0 |
|
Модератор
3697 / 2897 / 569 Регистрация: 10.03.2011 Сообщений: 11,398 Записей в блоге: 1 |
|
|
18.04.2016, 10:34 |
4 |
|
Сколько не юзал внешние источники с такой лажой не сталкивался. Возможно это глюк платформы и она за собой не удаляет созданную зачемТО ВТ А если почистить процедурный кеш на SQL ?
0 |
|
SPR1TE89 21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
||||
|
18.04.2016, 10:41 [ТС] |
5 |
|||
|
Dethmontt, Так вот самое интересное, что если 1 — раз запустить отчет, он формирует все хорошо, 2 — раз запускаешь ошибка эта вылетает, 3 -раз формируешь все хорошо. Но блин это же отчет он всегда должен работать. Кэш чистил Скуля. Не помогает. Но даже если бы и помогло, каждый раз при формировании отчета чистить кэш — как то бредово. Кэш чистил так :
Может еще что надо?
0 |
|
Модератор
3697 / 2897 / 569 Регистрация: 10.03.2011 Сообщений: 11,398 Записей в блоге: 1 |
|
|
18.04.2016, 12:46 |
6 |
|
Строку подключения покажи?
0 |
|
SPR1TE89 21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
||||
|
18.04.2016, 13:37 [ТС] |
7 |
|||
|
Dethmontt,
0 |
|
Модератор
3697 / 2897 / 569 Регистрация: 10.03.2011 Сообщений: 11,398 Записей в блоге: 1 |
|
|
18.04.2016, 17:57 |
8 |
|
попробуй нативный клиент Driver={SQL Server Native Client 11.0};Server=myServerAddress
0 |
|
SPR1TE89 21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
||||
|
19.04.2016, 10:38 [ТС] |
9 |
|||
|
Dethmontt,
Блин что за бред. Drop table теперь делать Добавлено через 1 час 35 минут
0 |
|
Модератор
3697 / 2897 / 569 Регистрация: 10.03.2011 Сообщений: 11,398 Записей в блоге: 1 |
|
|
19.04.2016, 16:57 |
10 |
|
Блин что за бред. Drop table теперь делать А как ты узнаешь ее имя в тепмпДБ ? Добавлено через 53 секунды
1 |
|
SPR1TE89 21 / 21 / 3 Регистрация: 22.04.2014 Сообщений: 112 |
||||||||||||
|
20.04.2016, 14:55 [ТС] |
11 |
|||||||||||
|
Dethmontt, Видимо придется, спасибо. Добавлено через 5 часов 56 минут
Проблема возникала из за этой процедуры.
как только отчет заканчивал формировать данные обрывал соединение. Из за чего вылетала ошибка при последующем формировании. Честно говоря сам не пойму почему оно так работает. По идеи должны соединения все обрываться…
. И все заработало. Добавлено через 5 минут
1 |


atabase=myDataBase;U id=myUsername;Pwd=myPassword
