Below is my code. I'm trying to copy a project which means all folders and files are copied. After I copy the folder and files I go back through and update the references to use the newly copied files and their locations.
According to the error message 137, it means
137 |
IllegalInputParam |
One of the inputs to the service call is incorrect. |
It supposed to be :
FileAssocArray[] fileAssocArrays = webMgr.DocumentService.GetLatestFileAssociationsByMasterIds(
new long[] { file.MasterId },
FileAssociationTypeEnum.None,
false, //parentRecurse
FileAssociationTypeEnum.Dependency,
true,
false,
false,
false);
I'm not getting an error on that web method call. I'm getting it on the UpdateFileAssociationReferences call.
Then same thing, try to remove ".ToArray()"
I'm finding it very difficult to to read the code in your screen shot. Is there some reason you are posting images instead of text?
What call is throwing exception 0?
-Dave
Formatting is much easier in the screen shots. You can right click on the image to increase the size.
The same method is throwing the error, UpdateFileAssociationReferences.
Can you check the vlog to get more detail about the error?
Make sure that the 3 arrays you are passing to DocumentService.UpdateFileAssociationReferences have the same outer dimension.
-Dave