AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.06.2012, 14:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,626 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX2012 Retail error 32769 in Store connect while running P-job
Источник: http://blogs.msdn.com/b/axsupport/ar...ing-p-job.aspx
==============

Version: AX 2012 FPK



Symptom: When running the P job following error message
appears in the event log or in the Retail store connect database
outgoingmessages table.



Error 32769

2012.6.7 13:21:45:114 (4684) [1]
CCommMgr::HandleException: Target request handler failed to process target
request header: Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlRequestHandlerException:
SQL target request handler failed to process request: SQL operation failure.
---> System.Data.SqlClient.SqlException: Invalid column name 'dataAreaId'.

Invalid column name 'replicationCounterFromOrigin'.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean
breakConnection)

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,
Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()

at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj)

at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName,
Boolean async)

at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)

at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.Run(SqlConnection
connection, SqlTransaction transaction)

at
Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessWriteRequest(SqlConnection
connection, SqlTransaction transaction)

at
Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader
targetRequestHeader)

--- End of inner exception stack trace ---

at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader
targetRequestHeader)

at CCommMgr.ProcessTargetRequest(CCommMgr* ,
basic_string* r_file_path, SCRequestHandlerManager scRequestHandlerManager)





Reason:

The main reason is a code problem in AX that
generates a wrong WHERE criteria when figuring out the connection-string for
the AX database because of which it picks the first connection-profile mapped
to the Store Connect profile mapped to the AOS profile. If the database profile
happens to be mapped first, then the connection-string for the Store database
is used as if it was the AX database causing the
"REPLICATIONCOUNTERFROMORIGIN" field missing error.

SELECT * FROM
[RETAILCONNCONNECTIONPROFILE]

Incorrect setup, were the database profile was
created before the AOS profile






Correct setup:





Workaround:

1.

The normal setup is to have two store connects installed.

  • One store connect profile for HQ attached to the
    AOS profile

  • One store connect profile for the store attached
    to the database profile

2.

Second workaround, Delete all profiles

Create the profiles again.

Map the AOS profile to the Store Connect profile first.

Map the Database profile to the Store Connect profile next.



This issue will be fixed in the next major release, expected 6.2


Author: Kim
Truelsen

Date: 10/6-2012




Источник: http://blogs.msdn.com/b/axsupport/ar...ing-p-job.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX for Retail: Bulk insert error in Store connect when running P job (error 32769) Blog bot DAX Blogs 0 01.06.2012 13:11
axinthefield: Dynamics Ax 2009 Retail Error Messages & Possible resolutions Blog bot DAX Blogs 0 23.05.2012 11:11
emeadaxsupport: AX for Retail 2012: Store Connect missing mfc100u.dll error Blog bot DAX Blogs 0 25.04.2012 03:18
emeadaxsupport: Retail Store Connect: Item cannot be found in the collection corresponding to the requested name or ordinal Blog bot DAX Blogs 0 23.08.2011 19:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра
Комбинированный вид Комбинированный вид

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 14:18.