Hoppa till huvudinnehållet

Exception has been thrown by the target of an invocation. A column named 'created_user' already belongs to this DataTable.

Kommentarer

4 kommentarer

  • Zack Robison
    If this is happening with the builtin tools then it sounds like a bug to me, I'd open a support case.  If this is in a workflow, check out where you're building the data table for export because you are aparently trying to give the table to columns with the same name and .net doesn't like it when you do that.  I'd also make sure that your service doesn't have any column names or aliases that would look like duplications of 'created_user'.  I would also say that there's an outside chance that merely republishing the service will bump the problem away, although if you look at a query against the service and don't receive more than one instance of that field in the json "fields" and "fieldAliases" tags then the chance of a service republish helping move much further outside.
    0
  • Permanently deleted user
    Thanks for the response Zack. It looks like it has something to do with the Enterprise Geodatabase and/or the service. While the feature class only has a single field called 'created_user', the service contains two. I have republished the service and that does not fix the issue. My gut feeling is that it has something to do with the Enterprise Geodatabase and some changes that happened with the SQL table structures between 10.4 and 10.5. Since upgrading, we have noticed multiple issues with our Enterprise Geodatabase, feature class names, field names, and table structure. I'm afraid it didn't dawn on me until after I posted this question that this might be the issue. My "fix" for the time being is to hide the 'create_user' field. It isn't a critical field at this point, so this will work until we can get the root issue solved.
    0
  • Zack Robison
    Heh good luck with your Arc Enterprise, sounds like you'll need it.
    0
  • Permanently deleted user
    Thank you! It's been a rough year for our Enterprise system!
    0

Du måste logga in om du vill lämna en kommentar.