Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 01, 2012 04:44 PM by LearningASP_C_Sharp
Mar 31, 2012 02:10 PM|LINK
Can anyone please tell me how I can upload to my site, I'm getting the following error in VS2010 Pro
Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(1966,5): Error : Copying file Views\Shared\Error.cshtml to obj\Debug\Package\PackageTmp\Views\Shared\Error.cshtml failed. Could not find file 'Views\Shared\Error.cshtml'.
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
Apr 01, 2012 02:55 PM|LINK
This can happen if you try to do a SetAcl on a file or folder that does not exist. In you case "Views\Shared\Error.cshtml".
You shoul check your path and specify a file or folder that exists.
Apr 01, 2012 04:44 PM|LINK
Must have been a corrupt file as deleted it then created a new one and seems ok now, just cannot upload but thats another problem.