初学VS.net,用C#做了一个asp.net的网站,如何发布到服务器上?
在windows2000服务器端安装了.net Framwork 1.1,将网站目录拷到服务器IIS根目录内,并设虚拟目录,添加ASPNET用户权限。在服务器上用IE打开http://localhost/test1/webform1.aspx很正常,但是在客户端输入http://192.168.1.2/test1/webform1.aspx就出现下面的错误信息:
Server Error in '/' Application.
--------------------------------------------------------------------------------
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested Url: /test/webform1.aspx
请问是什么原因?
另外请各位能不能介绍一下发布asp.net网站需要注意什么?