Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 17, 2011 04:22 AM by necro_mancer
Jul 15, 2011 11:14 AM|LINK
having issues with publishing my site - using ftp method in visual studio.
i deleted an aspx file from the project and when i try publishing it - i get error. it is trying to copy the deleted file from:
Error 8 Copying file obj\Debug\Package\PackageTmp\comments.aspx to obj\Debug\Package\PackageTmp\obj\Debug\Package\PackageTmp\comments.aspx failed. Could not find file 'obj\Debug\Package\PackageTmp\comments.aspx'. 0 0
any ideas how to resolve this issuse? thanks
Jul 15, 2011 11:20 AM|LINK
You take backup of whole project.
And try to publish from scratch.
And Try to delete that dll of that aspx page from bin folder.
Jul 15, 2011 11:29 AM|LINK
i deleted the dll from bin folder. did a clean/rebuild. it's still looking for the deleted file. anythign else i can try?
Jul 15, 2011 11:33 AM|LINK
Ya try to rebulid code and then make publish file of that code and thru ftp transfer that files.
Jul 15, 2011 11:51 AM|LINK
ok. how do i publish without using ftp? there is the publish methods, but they all seem to point towards my hosting company
Jul 15, 2011 12:01 PM|LINK
think i found the problem. there are references left in the csproj file. it's annoying because i have deleted lots of things.
also - i added a new page called contactus, which i have to manually add to the \obj\Debug\Package\PackageTmp each time i do rebuild. surely i'm doing something wrong as it can;t be a manual job?
Jul 15, 2011 01:36 PM|LINK
on publishing it seems VS is taking all my porject files and dumps them into a directory like this: \obj\Debug\Package\PackageTmp
and from there it is taking those files to my hosting location.
because i deleted and added new items i get publishing error because upon building the project, VS makes reference to everything in the project file. then while publishing if those files are not found in the PackageTmp it moans.
so my question is: how can i publish it in a way that it simply takes my files and puts them in the PackageTmp only...and not from PackageTmp to hosting.
hope i made sense - thanks
ps: i am using the publish method of File System and my location is set to \obj\Debug\Package\PackageTmp - but it never gets published there.
Jul 16, 2011 06:46 AM|LINK
I would suggest you publish everything to your local then upload it directly to hosting space.
Jul 17, 2011 04:22 AM|LINK
have you managed to resolve this issue? I would suggest you to do the followings:
1. Open your Visual Studio tool and open your project
2. On your Solution Explorer window, right click your project and select "publish"
3. Please publish your project to your local folder (e.g. C:\project)
4. Next, you just need to upload all the files on this C:\project via FTP to your server and everything should be working instantly.
Should there be any problem, please advise the error message and I am happy to help you out.
Please mark this response as an "answer" if it helps you.