如何在服务器上创建一个ASP.Net的工程?(100分相送!♫♫♫♫♫♫♫♫♫)
想在服务器上创建一个ASP.Net工程,供开发团队的人员使用。但在本机(windows 2000 server+sp3)用VS.Net创建服务器(Windows 2000 server + sp3)工程时报如下错误:
The default Web access mode for this project is set to file share,but the project folder at 'http://172.23.224.43/WebApplication2' cannot be opened with the path "\\IBM-SERVER\wwwroot$\webApplication2".The error returned was:
Unable to open Web project 'WebApplication2'.The Web 'WebApplication2' located on server 'http://172.23.224.43' does not exit.
What would you like to do ?
1.Retry using a different file share path
Location: \\IBM-SERVER\wwwroot$\WebApplication2
2.Try to open project with FrontPage Server Extension
3.Work offline
将Location中的机器名改为IP地址则可以创建项目但报如下几个错误:
对话框1
The Web was created successfully,but an error occured when trying to configure the application root for this web.Web projects may not operate correctly without an application root.The returned error was: Active Directory Services cannot find the web server.A possible cause for this is an incopatibility between versions of Internet Information Server(IIS) on the client and the server.The usual cause for this error is creating Web projects on a Windows 2000 or newer server from a Windows NT 4.0 client.
You can manually configure the application root using the Internet Services Manager.
对话框2
Unable to set the permissions on the 'bin' folder to restrict browse access.Active Directory Services cannot find the web server.A possible cause for this is an incapatiblity between versions of IIS on the client and the server.The usual cause for this error is creating web project on Windows 2000 or newer server from a Windows NT 4.0 client.
You can manually restrict browse access to this folder using the Internet Services Manager.
在弹出两个对话框后,项目创建完成。
对自动生成的Webform1.aspx点右键,选择Build and Browse出现如下错误:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
请问那位高人能解决此问题?如果在服务器端创建项目的问题得到解决,其他用户又如何通过VS.Net连接到此创建的项目上?