在win2000server上怎么建立一个aspx网站?

xinchen_zh 2005-09-19 02:32:25
我现在在win2000server上装了net framework,但不知道该怎么建立aspx站点,用IIS信息服务的方式建立了虚拟目录,却发现index.aspx文件根本打不开,但其它asp虚拟目录是正常的。

是不是.net方式下建站跟建立普通的asp站点有什么不同?请高手指教
...全文
136 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
谢谢各位,我发现应该是mdac的问题,装了2.7版本的mdac后可以显示主页了,其它网页还有问题,但应该是其它原因了。

yeskele 2005-09-19
  • 打赏
  • 举报
回复
你在IIS的应用程序设定那个地方看看应用程序扩展名里有没有ASPX。没有的话用新增删除windows元件的application server里把asp.net勾上
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

我已经运行过
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
设置代理时前面还有以下返回信息的:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the 172.21.89.21 home page, and then look for links to the information you want.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the 172.21.89.21 home page.
10061 - Connection refused
Internet Security and Acceleration Server
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
刚才是IE设置了代理时的反馈(为了上外网),如果不设置代理,则如下

The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

If you typed the page address in the Address bar, make sure that it is spelled correctly.

To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
If your Network Administrator has enabled it, Microsoft Windows can examine your network and automatically discover network connection settings.
If you would like Windows to try and discover them,
click Detect Network Settings
Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
Click the Back button to try another link.



Cannot find server or DNS Error
Internet Explorer
cuike519 2005-09-19
  • 打赏
  • 举报
回复
正确的顺序是:先安装IIS再安装.NET框架。
如果顺序颠倒可以运行WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i注册即可。

打不开具体是什么症状?还可以看看IIS的日志(日志通常在\WINNT\system32\LogFiles下面)是否有问题?
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
有bin目录和dll相关文件的。
xinchen_zh 2005-09-19
  • 打赏
  • 举报
回复
Technical Information (for support personnel)

Background:
The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.

ISA Server: hzisa2.cn.utstarcom.com
Via: 1.0 HZISA1

Time: 2005-9-19 6:47:34 GMT

这是反馈的信息,谢谢大家!
nicemood 2005-09-19
  • 打赏
  • 举报
回复
没有什么区别,
提示什么错误信息呢?
GDNPC 2005-09-19
  • 打赏
  • 举报
回复
一样的,一个完整的asp.net程序应该包括一个bin文件夹,里面包括该程序的已编译好的dll,另外就是对应的aspx文件
du9232 2005-09-19
  • 打赏
  • 举报
回复
有bin目录么?

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧