分享

写回答

发帖

[提问] 换IP后无法打开文件

回答|共 28 个

ltbao

发表于 2011-5-5 09:48:47 | 显示全部楼层

多谢! 建好好内容怎么放进去呢?是保存为文本格式再上传上去吗?

lwbo1987

发表于 2011-5-5 09:54:55 | 显示全部楼层

用TXT文本打开,然后复制godaddy给你提供的代码,上传到godaddy的根目录下即可

ltbao

发表于 2011-5-5 10:03:47 | 显示全部楼层

回复 11# 的帖子

谢谢,只是文件上传后整个网站都打不开了,500错误,以前只是打开产品才会出现这样的错误,又把文件删了也没恢复,是Godaddy的原因呢,还是网站的原因?但之前一直好好的,就从Godaddy换了IP才这样的

ltbao

发表于 2011-5-5 15:21:44 | 显示全部楼层

gadaddy回复说让我tracert,结果如下,有朋友能看懂有什么问题吗?
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>tracert hy

Tracing route to hysen-tech.com [50.63.250.114]
over a maximum of 30 hops:

  1    27 ms    31 ms    31 ms  183.37.48.1
  2    31 ms    30 ms    31 ms  113.106.44.97
  3    31 ms    30 ms    31 ms  119.145.45.29
  4    30 ms    31 ms    31 ms  119.145.45.177
  5    31 ms    30 ms    31 ms  202.97.34.209
  6    31 ms    31 ms     *     202.97.60.66
  7   249 ms   249 ms   249 ms  202.97.51.226
  8   218 ms   218 ms   218 ms  202.97.49.118
  9   218 ms   233 ms   218 ms  218.30.54.174
10   217 ms   218 ms   218 ms  xe-2-3-0.cr1.lax11

11   234 ms   234 ms   233 ms  xe-0-1-0.mpr3.phx2
12   234 ms   234 ms   233 ms  64.124.196.38.allo
]
13   234 ms   234 ms   234 ms  ip-208-109-112-153
112.153]
14   234 ms   234 ms   234 ms  ip-208-109-112-142
112.142]
15   234 ms   234 ms   233 ms  ip-216-69-188-77.i
.77]
16   234 ms   234 ms   234 ms  ip-97-74-255-129.i
129]
17   265 ms   265 ms   265 ms  ip-50-63-250-114.i
114]

Trace complete.

C:\Documents and Settings\Administrator>

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>tracert hysen-tech.com

Tracing route to hysen-tech.com [50.63.250.114]
over a maximum of 30 hops:

  1    27 ms    31 ms    31 ms  183.37.48.1
  2    31 ms    30 ms    31 ms  113.106.44.97
  3    31 ms    30 ms    31 ms  119.145.45.29
  4    30 ms    31 ms    31 ms  119.145.45.177
  5    31 ms    30 ms    31 ms  202.97.34.209
  6    31 ms    31 ms     *     202.97.60.66
  7   249 ms   249 ms   249 ms  202.97.51.226
  8   218 ms   218 ms   218 ms  202.97.49.118
  9   218 ms   233 ms   218 ms  218.30.54.174
10   217 ms   218 ms   218 ms  xe-2-3-0.cr1.lax112.us.above.net [64.125.31.190]

11   234 ms   234 ms   233 ms  xe-0-1-0.mpr3.phx2.us.above.net [64.125.28.69]
12   234 ms   234 ms   233 ms  64.124.196.38.allocated.above.net [64.124.196.38
]
13   234 ms   234 ms   234 ms  ip-208-109-112-153.ip.secureserver.net [208.109.
112.153]
14   234 ms   234 ms   234 ms  ip-208-109-112-142.ip.secureserver.net [208.109.
112.142]
15   234 ms   234 ms   233 ms  ip-216-69-188-77.ip.secureserver.net [216.69.188
.77]
16   234 ms   234 ms   234 ms  ip-97-74-255-129.ip.secureserver.net [97.74.255.
129]
17   265 ms   265 ms   265 ms  ip-50-63-250-114.ip.secureserver.net [50.63.250.
114]

Trace complete.

lwbo1987

发表于 2011-5-5 15:25:26 | 显示全部楼层

将这个结果发给godaddy看看!这个上面好像在202.97.60.66出现了问题

ltbao

发表于 2011-5-6 12:42:46 | 显示全部楼层

回复 15# 的帖子

Godaddy回复说是权限设置的原因,但我已经设过了,还是不行啊,能不能帮我看一下?多谢了
Thanks for your response.  I have reviewed this matter and your Access database is currently located on the root directory of the server.  This directory is not writable and this is the reason you are been given the error on your site.  To resolve this,  move the Access database to a folder within your hosting plan, you will have to update your site scripts to point at this folder.  Once this is done you will need to ensure the folder is writable by updating its permissions.  This can be done in the File Manager.

To modify Windows permissions using the File Manager:

1. Log in to your Account Manager.
2. In the My Products section, select Hosting.
3. Next to the hosting account you want to modify, click Launch.
4. In the Content section, click File Manager.
5. Select the directory or directories for which you'd like to set permissions.
6. Click the Permissions icon.
7. Select the permissions for the selected files.

Read:
Selecting "Read" enables anonymous users to view files in the directory through a Web browser.
Deselecting "Read" presents users of your Web site that reference files in the directory with a security challenge. To view the files, users must authenticate into the hosting account by entering the FTP user name and password.
NOTE: You must select the "Anonymous Access" setting in the IIS Settings for a page in the directory to be viewable through a Web browser.

Write:
Selecting "Write" enables anonymous users to use your site's applications to modify the contents of a directory. Select "Write" only if your site's applications create files or write to files in the directory.

Inherit:
Selecting "Inherit" removes the explicit "Read" and "Write" permissions on a directory, so it inherits its parent directory's permissions. When a directory inherits permissions from its parent, the directory's permissions are dynamically updated when the parent's permissions are updated. Deselecting "Inherit" applies the explicit "Read" and "Write" permissions to the directory. When a directory does not inherit permissions from its parent, the directory's permissions are unaffected by updates to the parent's permissions.

Reset all children to inherit:
Selecting "Reset all children to inherit" causes the "Inherit" setting to be cascaded to all of the subdirectories below the directory. This condition has the affect of removing any explicit permissions that may have been set.

8. Click OK.

lwbo1987

发表于 2011-5-6 13:43:10 | 显示全部楼层

回复 16# 的帖子

godaddy说你的文件在根目录不能设置读写权限,需要移动到子目录下,然后再设置读写权限

ltbao

发表于 2011-5-6 14:36:01 | 显示全部楼层

但我的根目录(root)里面什么也没有,双击没任何反映.倒有个文件Access database 在IIS management 那里,是要从那里移出来吗?
QQ截图未命名.jpg

ltbao

发表于 2011-5-6 14:37:05 | 显示全部楼层

回复 17# 的帖子

但我的根目录(root)里面什么也没有,双击没任何反映.倒有个文件Access database 在IIS management 那里,是要从那里移出来吗?

lwbo1987

发表于 2011-5-6 14:41:51 | 显示全部楼层

To resolve this,  move the Access database to a folder within your hosting plan, you will have to update your site scripts to point at this folder
应该就是让你移动到其他文件夹下
您需要登录后才可以回帖 登录 | 注册

本版积分规则