Visual Studio 2005 ASP NET 2.0发布网站问题。

编程入门 行业动态 更新时间:2024-10-16 02:30:59
本文介绍了Visual Studio 2005 ASP NET 2.0发布网站问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨 有人可以帮我。 我有一个ASP NET 2.0网站,网页超过10个(aspx )。 当我调试时,任何工作正常。 然后我发布,它也很好,我上传到服务器。 我的aspx中预编译项目有很多错误。 然后我再次重新发布而不检查复选框 - >允许这个预编译的网站是可更新。 现在一切正常。 检查或取消选中此选项,有什么问题?

解决方案

嗨 有人可以帮我。 我有一个ASP NET 2.0网站,网页超过10个(aspx)。 当我调试时,一切正常。 然后我发布,它也很好,我上传到服务器。 我的aspx中预编译项目有很多错误。 然后我再次重新发布而不检查复选框 - >允许这个预编译的网站可以更新。 现在一切正常。 检查或取消选中此选项,有什么问题?

对我来说似乎是一个奇怪的问题。一切都应该正常工作而不允许网站更新。 当您发布网站并允许它更新时,您的源代码将被复制到发布目的地。如果取消选中此选项,Visual Studio将执行编译,并且不包含代码的对象将复制到目标。 选中或取消选中此选项不会对网站的运作方式产生影响。 -Frinny

这不是这个游戏的工作方式。 您的网站必须安装/发布到它将要运行的地方。 IIS服务器必须知道它,它必须知道如何运行后端。 发布应该上传到你的服务器。

好​​吧困扰我的是然后我把它上传到我的服务器。 发布应该上传到您的服务器。

我从来没有能够正常工作......我一直不得不发布网站并手动将其移至我的服务器。我从来没有遇到过任何问题,但是我再一次设置的网络服务器与我的开发服务器完全相同。 你如何让它工作? ?

Hi Hi someone can help me please. I have a ASP NET 2.0 website with more than 10 web page (aspx). When I do debug, anything working fine. Then I publish, it is fine too, and I upload to server. It is many error about precompiled items in my aspx. Then I re-publish again WITHOUT CHECK the checkbox ->allow this precompiled site to be updatable. Anything working fine now. CHECK or UNCHECK this option, what is the concern?

解决方案

Hi Hi someone can help me please. I have a ASP NET 2.0 website with more than 10 web page (aspx). When I do debug, anything working fine. Then I publish, it is fine too, and I upload to server. It is many error about precompiled items in my aspx. Then I re-publish again WITHOUT CHECK the checkbox ->allow this precompiled site to be updatable. Anything working fine now. CHECK or UNCHECK this option, what is the concern?

Seems like a strange problem to me. Everything should work fine without allowing the site to be updateable. When you publish the site and allow the it to be updatable your source code is copied to the publish destination. If you uncheck this option, Visual Studio does a compile and objects that do not contain your code are copied to the destination. Checking or un-checking this option should not make a difference to how your website works. -Frinny

Well what bothers me is the "then i upload it to my server". That''s not how this game works. Your website must be installed/published to the place where it''s going to be running. The IIS server has to know about it and it has to know how to run the backend. The "Publish" should be doing the uploading to your server.

Well what bothers me is the "then i upload it to my server". The "Publish" should be doing the uploading to your server.

I''ve never been able to get this to work properly..I''ve always had to publish the website and the move it to my server manually. I''ve never had any problems, but then again I''ve always set up the web server exactly the same as my development server. How do you get this to work??

更多推荐

Visual Studio 2005 ASP NET 2.0发布网站问题。

本文发布于:2023-11-06 20:32:28,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1564600.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   Studio   Visual   NET   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!