Kentico 7 - Site Import failure

Vic Alfred Inting asked on September 8, 2015 04:28

Hey Guys,

Just some background/context: Initially, the app pool of our site didn't have access to the web root file system and so we got an error prompt in red whenever we tried to upload a site import. We also encountered the same issues when Files were set to be stored in file system and not in the database (unable to upload files).

We have since asked the infrastructure guys to provide the necessary permissions, and it seems like it has worked. We were able to upload regular files stored in the file system.

However, when I try to import a site and proceed with the upload, it does try to upload the file (progress bar at the bottom left indicating % uploaded is seen, unlike before). But when it reaches 100% I get the JS alert:

"cannot create 'SiteRootDirectory\CMSSiteUtils\Import' because a file or directory with the same name already exists."

  1. Is this still a case of not having permissions? I was able to upload regular files fine via the CMS Desk.
  2. Could it be possibly due to upload size limitations?

Appreciate if anyone could help me on this. Thanks!

Recent Answers


Brenden Kehren answered on September 8, 2015 04:33

Is this hosted on an Azure web app or a server (physical or virtual)? I could see this happening if on Azure web app. You might check to see if that /CMSSiteUtils/Import folder is already created, if so, simply remove it and give your upload another try.

0 votesVote for this answer Mark as a Correct answer

Vic Alfred Inting answered on September 8, 2015 04:38

Appreciate the quick help Brenden, I have no visibility on the infrastructure side as it's hosted at a 3rd-party provider. Most likely on their physical servers.

I'll ask if they can remove the folder.

However, shouldn't that folder exist by default upon Kentico installation? I was thinking this was an issue with the file and not the import directory itself. I'm still hoping they could provide FTP access as a workaround if all else fails.

Thanks Brenden. :)

0 votesVote for this answer Mark as a Correct answer

Vic Alfred Inting answered on September 8, 2015 04:48

Ok, so now I have a hunch.

When I upload a file and decide not to save it, and try to reupload it again the error promt is shown. Could it be because the permissions provided were Write-only and did not include Rewrite?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 9, 2015 04:47

Typically if the folder does not exist in the file system, Kentico is smart enough to create it. So no worries there.

Regarding permissions, I typically set permissions to read/write on that /CMSSiteUtils directory. You can read more about it in a blog post I have.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.