SaaS CMS has officially launched! Learn more now.

Cannot publish episerver to integartion but can build and run it locally


Here is the message I got when I try to publish episerver.

Error : Copying file modules\_protected\CMS\web.config to obj\Release\CSAutoParameterize\original\modules\_protected\CMS\web.config failed. Could not find file 'modules\_protected\CMS\web.config'.

I tried to add protectedModules section in my web.config as someone suggested but still cannot publish.

Jan 23, 2019 4:16

It sounds like you have your  modules\_protected\CMS\web.config in your project (.csproj file), but it does not exist physically. Can you check?

Jan 23, 2019 9:43

I second what Quan said. FYI I use which is a great way to check across the whole solution for this issue

Jan 24, 2019 9:43

Did you find a solution for this?

Jan 24, 2019 11:14
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.