问题描述
我正在尝试在IIS上运行我的Web项目.
我已经安装了IIS并创建了虚拟目录.我只是尝试通过两种方式运行应用程序.
注意:这里我使用了一个ActiveX控件
1] http://localhost//virtualdirectoryname/default.aspx
2] http://ipaddress//virtualdirectoryname/default.aspx
第一个链接正常工作,但插入了"localhost",在第二种情况下,我只使用了"ipaddress".
实际上两者相同,但是第二个链接不起作用.我必须在IIS或项目中设置任何属性吗?
请对此提供帮助或建议我...
谢谢....
I am trying to run my web project on IIS.
I have installed IIS and created virtual directory. I just tried to run application by two ways.
Note :Here I have used one ActiveX control
1] http://localhost//virtualdirectoryname/default.aspx
2] http://ipaddress//virtualdirectoryname/default.aspx
1st link is working properly but insted of "localhost", I just used "ipaddress" in the second case.
Actually both are same but second link is not working. Is there any property that I have to set in IIS or in my project?
Please help on this or suggest me...
Thanks....
推荐答案
这篇关于Web应用程序通过Visual Studio工作,但不能在IIS服务器中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!