[英]Finding the correct application path for IIS
I have created a HelloWorld WEbService and wanted to define it for IIS. 我创建了一个HelloWorld WEbService,并想为IIS定义它。 So I right clicked on IIS and said Create New Application which gave me the dialog below.
因此,我右键单击IIS,然后说“创建新应用程序”,这给了我下面的对话框。 But what is the correct path I should point it to?
但是我应该指出的正确路径是什么? I tried bin folder and the main WebSerivce folder I had and both failed in Test Connection
我尝试了bin文件夹和我拥有的主要WebSerivce文件夹,但都在测试连接中失败了
The way I've always done it is to right-click on Default Web Site
, select Add Virtual Directory
. 我一直做的方法是右键单击“
Default Web Site
,选择“ Add Virtual Directory
。 Once you successfully add the correct directory, you can then right-click on it and select something like Convert to Application
. 成功添加正确的目录后,可以右键单击该目录,然后选择“
Convert to Application
。 And your going to want to point it to wherever your default.aspx
or index.html
or its equivalent is. 您将想要将其指向您的
default.aspx
或index.html
或其等效位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.