帮助!我不知道同步文件实际上会删除它们!我正在尝试让aspx文件在IIS上运行 [英] HELP! I didn't know synchronizing files will actually delete them! I'm trying to get aspx files to run on IIS

查看:86
本文介绍了帮助!我不知道同步文件实际上会删除它们!我正在尝试让aspx文件在IIS上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!在Microsoft的所有论坛主题中,我不知道该放在哪个主题下,因此我尝试了尽可能的接近.....我读了许多文章,尝试获取ASP.Net应用程序.在IIS中工作.似乎适合配置的那个 我在机器上的计算机位于 本文.我编辑了权限,以便可以进行同步,因为在出​​现错误之前,我无法创建文件夹"App Data",因为访问被拒绝,因此我无法进行同步.因此,我回到了复制网站"屏幕,某些文件包含 其中带有x的红色圆圈(错误图标).当我单击同步"按钮时,几乎所有文件都从主要来源中删除,而不是像此页所示那样复制到wwwroot部分.您可以在下面看到,它说明了所有这些 文件现在已删除....

Hello! Out of all of Microsoft's forum topics, I didn't know which one to put this under, so I tried to get as close as I could..... I have read a number of articles trying to get an ASP.Net application to work in IIS. The one that seemed to fit the configurations I have on my machine are in this article. I edited my permissions so that I could synchronize because before I was getting an error indicating that I couldn't create a folder  'App Data' as access was denied. SO, I went back to the 'Copy Web Site' screen and certain files had a red circle with an x in them (error Icon). When I clicked the syncronize button, almost all of my files got deleted from the main source as opposed to copying over to the wwwroot section like this page suggests. You can see below, that it says all of these files are now deleted....

幸运的是,我在闪存驱动器上有这些文件的副本,我试图将它们复制回Visual Studio从中拾取项目的位置.我试图从那里打开aspx文件,但是解决方案资源管理器仍然无法识别 那些.这是Windows资源管理器中的文件:

Luckily, I had a copy of these files, on a flash drive, and I tried to copy those back to the location where Visual Studio picks up projects from. I tried to open the aspx files from there, but Solution Explorer still didn't recognize those. Here are the files in Windows Explorer:

在这一点上,我担心会做更多,因此请尊重你的回应.我已尝试进行研究,并在此处尽可能多地粘贴信息.我想知道:

At this point, I am afraid to do any more, so please be respectful of that in your response. I have tried to do my research, and paste as much information as I can in here. I am wondering:

A)有什么方法可以使解决方案资源管理器再次识别那些.aspx文件,

A) Is there any way to get those .aspx files to be recognized again by Solution Explorer,

B)我需要做些什么才能将这些文件复制到正确的文件夹中,以便可以在IIS中对其进行测试

B) What I need to do in order to copy these files to the right folder so I can test them in IIS

C)到底如何复制文件而不是在同步中删除它们? 请注意,我什至尝试在屏幕左侧一一复制,这似乎具有删除而不是复制的效果.

C) How in the heck to you COPY files rather than DELETE them in the synchronization? Note that I even tried copying one by one on the left side of the screen, and that seemed to have the effect of deleting rather than copying.

我们非常感谢您的帮助.

Your help is appreciated. 

推荐答案

感谢您发布到我们的论坛.

您似乎是 使用复制网站工具"来部署网站项目.

请参阅以下有关使用复制网站工具"部署网站项目的文档:

由于我们的论坛讨论的是VS通用问题,例如如何设置/配置Visual Studio和Visual Studio工具.

http://forums.asp.net/

针对您的问题.我建议您最好将其发布到asp.net论坛以获得更好的支持.

感谢您的理解.

最好的问候

肖湖


这篇关于帮助!我不知道同步文件实际上会删除它们!我正在尝试让aspx文件在IIS上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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