产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

Godaddy的免费空间可以用这里的模板么? [复制链接]

1#
Godaddy送了10G的windows系统的免费空间,支持asp.net2.0/3.0/3.5。 带ACCESS,MYSQL,还送邮箱。感觉比国内的都好。所以想用这个空间学习网页。

可是我把模板上传后,无法访问。显示页面不存在。输入www.xxx.com/install/index.aspx可以显示第一步用户须知,点同意第二部选数据库类型后点确定就显示错误了。
Access to the path 'd:\hosting\hby84\web.Config' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'd:\hosting\hby84\web.Config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  


直接输入www.xxx.com/index.aspx就显示下面的错误信息:
Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
分享 转发
TOP
2#

'd:\hosting\hby84\web.Config' is denied. 表示主机没有修改这个文件的权限

国外主机默认不支持index.aspx的解决方法:
http://bbs.pageadmin.net/showtopic-6181.aspx
TOP
3#

谢谢版主。我已经修改了写入权限。可以访问了。
TOP
发新话题 回复该主题