raksmart活动促销

分享

写回答

发帖

急急..谁能帮我 汉->英 十分感谢

英文翻译专版 英文翻译专版 1546 人阅读 | 1 人回复

发表于 2008-12-6 10:29:33 | 显示全部楼层 |阅读模式

Windows主机。
现在在本地可以正常访问,按照如下手顺进行了操作,但是无法访问,显示了404页面。
[手顺]
使用Plesk进行管理。
1.将需要发布的所有aspx,dll等文件上传到/httpdocs中。
2.点击“Databases”,
3.点击“Add New Database”。
4.输入Database name: test
          Database server:Microsoft SQL Server
点击OK按钮。
5.选择刚刚创建的test。
6.点击Database Backup Repository,再点击Upload Backup File
7.Database backup file选择本地a.mdf文件.点击OK。
8.为test添加一个用户te,密码为111111。
9.修改connectionstring为c
10.点击WebAdmin,察看数据库test中表。发现a.mdf中的表并没有,所以我认为我Attach的不正确,导致显示了404页面。

首先请帮助判断,我网站的发布是否正确,
其次,如果Attach不正确的话,我应该如何进行Attach呢,希望给出详细的手顺。
以上,先谢了。

回答|共 1 个

WANGLI

发表于 2008-12-6 14:37:15 | 显示全部楼层

不懂你的主机,直接翻译了。

Windows server

It can be visited locally with no problem, but there is no access manually, which indicates the 404 error massage.

See the following sequence.

Go with plesk management.

1, upload all aspx and dll files to /httpdos.

2, click databases

3, add new database

4, enter name and server, click ok.

5, select Test already created .

6, click database ...., then upload the backup file.

7, choose the local file a.mdf, ok.

8, add a user te, password 11111.

9, modify connectionstring into c

10, check the table of database after clicking webadmin. no table is existing in a.mdf. so I believe this Attach is not proper, which causes the 404 error.


Please review, and determine whether the publishing of my site is right or not.

plus, if Attach is wrong, what i can do for it? could you list the detailed process?

thanks.

评分

参与人数 1威望 +2 金币 +1 收起 理由
Derek_Chan + 2 + 1 助人为乐

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则