Question Status

Verified
SomuAx2012 asked a question on 17 May 2012 6:30 AM

Hello everybody

 

I am working with AIF in Ax2012 and got "Invalid data container type" error while trying to update document service using the wizard. Info log at the end of update shows list of messages with classes that have been updated and this error is the last message in the list. Please help me debugging this.

 

Thanks,

Somu

Reply
Verified Answer
SomuAx2012 responded on 17 May 2012 7:13 AM

Fixed by compiling the service project objects and updating the document service using wizard once again.

Reply
Suggested Answer
satish kumar k responded on 14 Sep 2012 9:05 PM

This Error is solved by using the below steps

1.Take Backup from Database Server.

Lets say Backup Files are DAX2012.bak,DAX2012Baseline.bak

2.Create New database from Dynamics AX 2012 Setup

Lets say New Database Names are  DAX2012NEW,DAX2012NEWBaseLine

3.Restore the New Database(DAX2012) with our backup file(DAX2012.bak not DAX2012Baseline.bak)

4.Then Go To Administrative Tools -> Server Configuration Manager -> go to Data Base Connection

  Server Name:ur Database Server Name

  DataBase:DAX2012NEW

  BaseLineDatabaseName:DAX2012NEWBaseLine

5.Click on Apply it will stop AOS Services and restart Services or else u can restart services manually

6.After all this close all things then Administrative Tools -> Server Configuration Manager->  Configuration

   ->Manage->save configuration file with new name DAX2012NEW ,use this file.

7.We can get whole customizations with out any changes with out the error "Invalid Data Container",now u can do all scenarios with AIF.

8.Although this might be a temporary solution it will suits in Development Environment,Because in Live it is different Scenario

Regards,

Satish Kumar Kollati

Technical Consulatant

Reply
Verified Answer
SomuAx2012 responded on 17 May 2012 7:13 AM

Fixed by compiling the service project objects and updating the document service using wizard once again.

Reply
Vikas Mehta 21 responded on 28 May 2012 3:43 AM

Hey somu i am stuck with the same issue.But am unable to resolve it either by compiling the service project objects and updating the document service using wizard once again.

Can u guide please me for some other alternative.

thanks,

Vikas mehta

Thanks and Regards,

Vikas Mehta.

Verify the solution if it meets your demand

Reply
SomuAx2012 responded on 29 May 2012 8:16 AM

Pleae try generate CIL.

Reply
Vikas Mehta 21 responded on 29 May 2012 9:05 AM

Full CIL generation or incremental CIL generation.

Thanks,

Vikas Mehta

Thanks and Regards,

Vikas Mehta.

Verify the solution if it meets your demand

Reply
Suggested Answer
satish kumar k responded on 14 Sep 2012 9:05 PM

This Error is solved by using the below steps

1.Take Backup from Database Server.

Lets say Backup Files are DAX2012.bak,DAX2012Baseline.bak

2.Create New database from Dynamics AX 2012 Setup

Lets say New Database Names are  DAX2012NEW,DAX2012NEWBaseLine

3.Restore the New Database(DAX2012) with our backup file(DAX2012.bak not DAX2012Baseline.bak)

4.Then Go To Administrative Tools -> Server Configuration Manager -> go to Data Base Connection

  Server Name:ur Database Server Name

  DataBase:DAX2012NEW

  BaseLineDatabaseName:DAX2012NEWBaseLine

5.Click on Apply it will stop AOS Services and restart Services or else u can restart services manually

6.After all this close all things then Administrative Tools -> Server Configuration Manager->  Configuration

   ->Manage->save configuration file with new name DAX2012NEW ,use this file.

7.We can get whole customizations with out any changes with out the error "Invalid Data Container",now u can do all scenarios with AIF.

8.Although this might be a temporary solution it will suits in Development Environment,Because in Live it is different Scenario

Regards,

Satish Kumar Kollati

Technical Consulatant

Reply
Cutti Mutti responded on 9 Apr 2013 2:38 AM

What is service project objects? where can i view that?

Reply