While importing website through content porter, I am getting an error that names and directories must be unique for a structure group.
In logs I have found the TCM-ID of structure group where the error raised. But I have checked the names and directories for that structure group and its child structure group in website master. But I have not found any such thing.
In BluePrinting I have number of child websites. Is it possible that this problem is in child wesites?
Give me a solution, how to find that where the problem actually existing.
I have seen a similar error message in this scenario:
The solution was to either localize the Structure Group in the target server first, then resuming the import, or to re-import with that option checked.
Either way, to answer your exact question, yes, it can be caused by a SG in a child publication having the exact same name, in which case the only solution is to rename one of them - either the one you're importing or the existing one. If you look in your Windows Event Viewer you should have an error message about this blueprint conflict that should include the TCM URI of the item causing the conflict.