嗨 有人可以帮我。 我有一个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发布网站问题。
发布评论