publishing to FTP MS Server 2008R2

Jan 20, 2012 at 9:51 PM


really It is very nice work ..

it works on PC with MS Server Express 2008.

But it is not work on FTP MS server 2008R2.

the web after publishing does not show anything

the publishing  is successful with no error

?is the publish tool  in Visual Web developer enough to publish this project to FTP Web ?

any help please?




Jan 26, 2012 at 11:08 AM
Edited Jan 26, 2012 at 11:09 AM

I just did a successful publish, 

for me the problem was that the \Views\ChangeTheme folder wasn't copied by the publishing

although that folder is in the solution explorer (included in the project),

so I just copied it manually to make it work 

Jan 26, 2012 at 11:19 AM

ok, the problem was that the Build Action for \Views\ChangeTheme\index.cshtml was None (also for Meal\ocrop.cshtml)

I noticed this by looking at WebUI.csproj (saw this     <None Include="Views\ChangeTheme\index.cshtml" />)

I changed them from None to Content and now publishing works as expected