hi every one,
iam using aras 8.1 framework. craeted few itemtypes,forms relations etc and added them to package com.aras.innovator.cretaor(i defined this package ). i have few questions
1) should i export only the package i defined or entire packages present in innovator?
2) when i try to export the whole packages i get the following error and ask me abort export.
faultstring: Utilities: ApplyAML: GetItemEx: No items of type 'ItemType' found (2) using the criteria:
3) if i continue to export even after the error, i get the following error during importing(import server is also aras 8.1 but on a different machine)
faultstring: utilities: ApplyAML : Internal error: the relationship type is corrupted. Itemtype inside Relationship_id tag is corrupted
faultdetail: Failed to add the Relationshipshiptype
faultcode: 8
faultAMLError:
can anybody tell me what is the exact procedure to follow with upgrade tool.
is there any method to export data between different servers other than upgrade tool.
Thanks in advance.
Regards,
Naresh Mende
1) - No. You can export a specific package only. Or even a part of the package (you can select an item type and export only it).
2) - This error can appear because of several reasons:
a) You created an item type, added it to a package, deleted the item type. But the reference to the item type still exists in the package and it can cause the error.
b) You are using 8.1 aras framework, but which version of solution upgrade tool is used? If the current version then it is not accurate to use since the innovator metadata in 8.1 and 9.1 have several differences.
3) - It may be caused by a reason from 2) and typical mistake during adding metadata item to a package (i believe aras should implement the prevention of this mistake): if you create a RelationshipType RelA then two metadata instances are created (RelationshipType RelA and ItemType RelA with is_relationship=1 flag). So, very often users add ItemType RelA to a package. It is incorrect. RelationshipType RelA should be added.
In general, if you add a metadata instance (ItemType for example) and all related metadata to this item type (Methods used in Server/Client Events tab, Forms used in View tab, Permissions from Permissions tab, related Workflow/Lifecycle Maps, etc.) then no errors should appear during export/import of a package.
SamsAn.Original Mind Any Level Innovator Solutions Free-Lancer, http://sites.google.com/site/caraacc
thanks SamsAn for your information.
Can i find a upgrade tool for 8.1? if so where can i find?
also can i export data from 8.1 to 9.1 by using upgrade tool? the upgrade tool am using is 9.0
Probably, you should contact aras to get corresponding version of the tool.
About solutions exporting/importing see http://www.aras.com/Community/forums/t/522.aspx. I repeat my statement again: You should upgrade 9.0X (from 8.1 in your case) database to 9.1 version using Innovator 9.1, then export your solution from the upgraded db. You will get correctly exported 9.1 package.
thanks SamsAn.
that really worked a lot.
i followed the steps you mentioned. there are no errors this time during export. but while importing i get the following error:
faultstring: the UPDATE statement conflicted with the FOREIGN KEY constraint "FK_CAN_ADD_RELATED_1F4E99FE". The conflict occured in database "X" table "Y", column 'ID'.
the statement has been terminated.
I couldnt make out this. can you please tell what it means and how t o solve this.
The error states that the value in related_id property of Can Add relationship does not exist among values in [Identity].id column. I guess you added a special identity to Can Add tab of an item type of your package. But did not add the identity to the package. Thus the identity is not exported and will not be imported into the target db.
for 3) Point
If you are creating any relationship with an Item type then result will be there like:-->1) Instance of an Item Type with relationship name.2) New instance will be created at Relationship Types. So, at the time of exporting we don't need to export the Item type created as IsRelationship - 1.E.g.1) Part is an Item type and Document is an another ItemType.2) We are creating relation between Part and Document. 3) Relationship will be there "Part Document" and also another ItemType as Part Document will also be there.4) So, we just need pick instance of Relationship only don't take ItemType "Part Document".
Hi. You can use this simple solution below.
Normal 0 false false false RU X-NONE X-NONE
Target Audience. The solution target audience is Innovator solutions developers/developer teams/managers/free lancers.
Motivation: It is necessary to add metadata items (ItemTypes, Lists, Forms, etc.) to a solution package when you create a new solution (or update an existing one). You can do it through Innovator Main Menu/Tools/Admin/Add To Package Definition command. However, when you add, for example, 10 ItemTypes, 10 Methods, 10 Forms, 10 RelationshipTypes, 10 Permissions then you should at least 5 times execute this command and every time keep in the mind which of metadata items were added to implement this solution. Sometime it becomes extremely annoying when forgot to add an item and thus the solution upgrade export/import process is failed again.
Description: This ACC_autoPackaging solution adds metadata items to a package automatically, so you will not care about adding items to a package at all. What you need to do is just to specify the default package name in the solution AML and import it.
Installation instructions: Apply the solution AML through nash.aspx utility under “root” login name.
For Aras Support: this simple solution can be added to Community Projects if need.
The solution AML:
2100.ACC_autoPackaging_Import.zip
SamsAn.
hello,
i'm Upgrading Aras 9.2 to Aras 9.3
during that I'm facing certain ERROR at the time of importing CORE package on 92 DataBase.
****Error message****
faultstring: Failed to get the Team ItemType.
faultdetail: Failed to get the Team ItemType.
faultcode: -1
What is mean of that Message ..
Please give me U r Suggestion
Cheers !!!!
Sachin G.