简体   繁体   English

通过Visual Studio 2013发布网站

[英]Publish site via visual studio 2013

I try to publish a site to: http://lolacyclingclub.org/ , but I get this error: 我尝试将网站发布到: http : //lolacyclingclub.org/ ,但出现此错误:

Error   2   Copying file bin\DotNetOpenAuth.AspNet.xml to obj\Release\Package\PackageTmp\bin\DotNetOpenAuth.AspNet.xml failed. Could not find file 'bin\DotNetOpenAuth.AspNet.xml'.     0   0   Lolabike

What exactly you have to do? 您到底要做什么?

I found something that I have to delete the bin folder? 我发现必须删除bin文件夹的内容吗? Is that correct because it seems strange? 是正确的,因为它看起来很奇怪吗?

I see now this error: 我现在看到此错误:

Internal Server Error 内部服务器错误

The server encountered an internal error or misconfiguration and was unable to complete your request. 服务器遇到内部错误或配置错误,无法完成您的请求。 Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. 请与服务器管理员联系,以通知错误发生的时间以及您可能做的任何可能导致错误的事情。

More information about this error may be available in the server error log. 服务器错误日志中可能会提供有关此错误的更多信息。

Web Server at lolacyclingclub.org lolacyclingclub.org上的Web服务器

I dont know this error. 我不知道这个错误。 has it to do read/write permissions? 有读/写权限吗? Or something like that? 或类似的东西?

I had similar problem. 我有类似的问题。 I referenced some libraries (which had reference to another libraries) in my ASP.NET web application. 我在ASP.NET Web应用程序中引用了一些库(已引用了其他库)。 Unfortunately after project rebuild dll's which were previously copied to bin folder were deleted. 不幸的是,在项目重建后,以前复制到bin文件夹的dll被删除了。 This caused publish problem very similar to your problem. 这导致发布问题与您的问题非常相似。 Solution was to copy all needed files to bin folder. 解决方案是将所有需要的文件复制到bin文件夹中。 I guess you need to put your files back to bin folder and it will publish successfully. 我想您需要将文件放回bin文件夹,它将成功发布。

Deleting bin folder is not an option - these files are needed;) 不能删除bin文件夹-需要这些文件;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM