000208 and 002698 error when running an iterating model

139
3
07-17-2020 08:16 AM
ShannonReault
New Contributor

I am getting 000208 and 002698 error when running an iterating model with tables. I use iterate tables with a folder containing 94 tables at the input, then run them through XY to point, Clip, and Project, with the project output at P_%Name%. It failed where I put the inline substitution. The model worked when I just input one table without iterating. Please Help!

0 Kudos
3 Replies
JoeBorgione
MVP Esteemed Contributor

Error 208 = The output feature class cannot be created as named.

Error 2698 appears to be permissions related and/or service related

I don't do models, so I'm not sure how its handling the % signs in your output name, but it seems to be taking them literally which would give you the 00208 error.

 

can't wait to retire....
0 Kudos
ShannonReault
New Contributor

Hi Joe, thanks for the suggestion! I was able to get it working- the %Name% just replaces the output name with the name of the original file, so that the outputs don't continuously overwrite each other, but the original file names exceeded the 13 character limit, which I believe is where the error was coming from. I renamed the files and it seems to be working now!

0 Kudos
JoeBorgione
MVP Esteemed Contributor

Awesome!  Forgot about that limitation, but that's something to remember!

can't wait to retire....
0 Kudos