ASP.NET ASMX Web 服务
我有一个在 IIS 7.0 中发布的网站,它运行得很好。我只是想添加一些我创建的功能。当我用新版本替换 IIS 文件时,它没有更新文件,仍然显示旧服务。新服务应该在服务器上就位,但这不起作用。
我发布时使用了相同的程序,但我不知道出了什么问题。
I have a website published in IIS 7.0 which works perfectly. I just wanted to add a few more functions that I have created. When I replaced the IIS files with the new version, it didn't update the files and still showed the old services. The new services should be in place at the server but this is not working.
I used the same procedure when I published but I don't know what's wrong.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
停止您的服务,然后重新启动。我还建议您在 IIS 中为您的应用程序创建一个自定义应用程序池,因为它将拥有自己的处置区域并且不会干扰任何其他应用程序。
您还可以尝试停止该服务,删除该文件夹的内容,然后上传您重新发布的代码并重新启动应用程序。
Stop your service, and restart. I also suggest that you create a custom Application Pool in IIS for your application as it will have it's own disposal area and not interfere with any other application.
You can also try to stop the service, delete the contents of the folder, and then upload your republished code and restart the application.