leiren01 - 2009/5/11 22:43:00
错误:请将网站放在根目录下再运行。
pfreestar - 2009/5/11 23:30:00
要把网站文件放到iis(或域名)指定到的目录下,才是这里所说的根目录,而不是平常所说的c盘、d盘下的根目录。
pfreestar - 2009/5/11 23:31:00
leiren01 - 2009/5/11 23:32:00
我FTP上传到虚拟空间的^
leiren01 - 2009/5/11 23:34:00
嗯,我想到个问题,先在本修改配置,再上传,是不是就没这个问题了?
pfreestar - 2009/5/11 23:39:00
不要把整个Web文件夹放空间根目录下,而把web下的文件和文件夹放到空间根目录
leiren01 - 2009/5/12 0:01:00
是这样的啊,我就是打开web文件夹,然后把里面的东西全部上传
还有,我本地机也不行^
我晕
Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
leiren01 - 2009/5/12 0:06:00
楼上大大,再次请教!非常感谢你能帮我!
pfreestar - 2009/5/12 0:42:00
有些服务没有启动,应该先装iis后装.NetFramework2.0,您可能把顺序搞反了,参考下贴
http://bbs.pageadmin.net/showtopic-951.aspx
leiren01 - 2009/5/12 1:45:00
大大,你好历害,这么晚没睡^
我快不行了,要回去睡了,谢谢你的帮忙,刚那个问题已搞定了,
不过下一步到了配置数据库时,又出错了^
帮我看下哈!我要先去睡了 ^ 万分感谢+五体投地!
Server Error in '/' Application.
Access to the path 'D:\web\site\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:\web\site\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 impers/>, 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. |
Stack Trace:
[UnauthorizedAccessException: Access to the path 'D:\web\site\web.Config' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014451 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114 System.Xml.XmlDocument.Save(String filename) +87 PageAdmin.Install.Update_Config() +754 PageAdmin.Install.Next_2(Object src, EventArgs e) +10 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +104 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5617 |
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
pfreestar - 2009/5/12 8:53:00
:Z
网站文件夹没有授权,
再不明白就看看这个吧,第五步
http://bbs.pageadmin.net/showtopic-51.aspx 建议楼主有空多多浏览论坛贴子,磨刀不误砍材工,安装配置其实很简单,您却花两天时间了还没搞定:)
leiren01 - 2009/5/12 9:13:00
太谢谢了!
IIS配置我会配置,但是那个软件安装还规定次序我还真不知道,
然后昨晚删了重装,就可以进了,
出现后面这个原因是因为EVERYONE的权限点到了,没确定^
然后就没写入权限^
哎,都是小事情惹的祸,
害我整了一晚上^
实在太谢谢您了!
lo_pop - 2009/5/15 21:22:00
我就是不想把它放在根目录,放子目录不行吗?
pfreestar - 2009/5/16 1:09:00
原帖由 lo_pop 于 2009-5-15 21:22:00 发表 我就是不想把它放在根目录,放子目录不行吗? |
它就是不能放在子目录,放根目录不行吗?
要不就购买支持子目录的空间。一般比普通空间贵