Select to view content in your preferred language

Problems with Frequency analysis

1170
5
03-19-2013 07:57 AM
TaylorRose
Deactivated User
I keep getting the attached error when i try to run my frequency analysis script, any ideas why /how to fix it?
Tags (2)
0 Kudos
5 Replies
curtvprice
MVP Alum
I keep getting the attached error when i try to run my frequency analysis script, any ideas why /how to fix it?


If the output already exists, it may help to delete the output first, change the name of your output file, or add a line of code to your script to allow overwrites of existing datasets:

arcpy.env.overwriteOutput = True
0 Kudos
TaylorRose
Deactivated User
Is that the source of the error because i thought it had something to do with the invalid parameter, but i havent changed anything and the script has been working fine for me for a while, i did just update to 10.1
0 Kudos
curtvprice
MVP Alum
Is that the source of the error because i thought it had something to do with the invalid parameter, but i havent changed anything and the script has been working fine for me for a while, i did just update to 10.1


There has been a major change in how database connections are handled. I'd look into that:

ArcGIS 10.1 Help: What's new for geodatabases in ArcGIS 10.1
0 Kudos
TaylorRose
Deactivated User
Ok i added the permission to overwrite databases but now i get the attached error, for some reason i cant create a database connection, which i am assuming has something to do with the update. Any clue on how to fix it?
0 Kudos
curtvprice
MVP Alum
Ok i added the permission to overwrite databases but now i get the attached error, for some reason i cant create a database connection, which i am assuming has something to do with the update. Any clue on how to fix it?


It looks like you may not have write access to your geodatabase, or at least that part of it. To check this, connect to it manually in ArcCatalog and try to create a table there. Do you have to write your output to the ArcSDE database -- if all you want is a result you could write it to a local location.
0 Kudos