如何解决发布错误..? [英] How to solve publish error .. ?

查看:139
本文介绍了如何解决发布错误..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在发布时我收到以下错误..





错误1复制文件obj\Release\Package \ PackageTmp \User\EndYearAppraisal.aspx to obj\Release\Package\PackageTmp\obj\Release\Package\PackageTmp\User\EndYearAppraisal.aspx失败。找不到路径的一部分'obj\Release\Package\PackageTmp\User\EndYearAppraisal.aspx'。 0 0 ActusAppraisalSystem



我试图隐藏文件夹路径..但​​是这个文件夹里什么都没有..那么它说的我很困惑..你能不好意思我哟你解决了这个问题..我也尝试从projetc中排除End year Appprasial.aspx页面,但仍然不允许我发布

At the time of publishing i am getting following error..


Error 1 Copying file obj\Release\Package\PackageTmp\User\EndYearAppraisal.aspx to obj\Release\Package\PackageTmp\obj\Release\Package\PackageTmp\User\EndYearAppraisal.aspx failed. Could not find a part of the path 'obj\Release\Package\PackageTmp\User\EndYearAppraisal.aspx'. 0 0 ActusAppraisalSystem

I tried to invistagate the folder path .. but there is nothing in this folder .. then what it says i am confused .. Can you plese suggest me yo solve this issue .. I also tried to exclude End year Appprasial.aspx page from the projetc but still its not allowing me to publish

推荐答案





请尝试以下步骤。



Hi,

Please try these steps.

1. Go to the Solution Folder and Right Click -> Properties and change the "Read Only" mode to Off, now folder will be access to write also.

2.Go to the Solution and Clean the Solution, Right Click on Web Application Project -> Click Clean

3.Rignht Click on Web Application  Project -> Click ReBuild 

4.Right Click on Web Application Project and Use Publish Option

5.Publish Settings
     Publish Method: Web Deploy
     Service URL : localhost
     Site/Application: Sample.com

Check the Below Check Box [Both]
     i. Mark as IIS Application on Destination
    ii. Leave Extra Files on Destination [Do not Delete]

6. Click Publish. 





如果这些设置也不起作用,请清楚注意你所面临的错误和问题。



谢谢!



Please clearly metion the error and problem that u face, if these settings also does not work.

Thanks!


The file was deleted from project folder and still history on project solution explorer image folder, when you publish it still refering to that file.
1 - Go to images folder on solution explorer and delete permanently the image with exclamation mark
2 - Rebuild the project
3 - Publish


此错误主要是由于缺少文件。检查解决方案资源管理器并使用感叹号排除文件。这应该有所帮助。
This error is mainly due to the missing files. Check the solution explorer and exclude the files with exclamation mark. This should help.


这篇关于如何解决发布错误..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆