帐号
注册
密码
登录
只需一步,快速开始
关闭
安全选项
找回密码
记住我
我的中心
登录或注册新用户,开通自己的个人中心
切换到窄版
快速搜索
帖子标题
作者
版块
PageAdmin网站内容管理系统(CMS)交流论坛
»
PageAdmin使用区
»
安装及使用交流
»
请问安装在国外的空间出现Server Error in '/' Application.怎么...
PageAdmin使用区
安装及使用交流
案例交流及展示
系统改进和发展建议
系统发布及下载
用户交流区
网站技术资源区
网站营运交流
广告灌水专区
返回列表
查看:
8270
|
回复:
6
请问安装在国外的空间出现Server Error in '/' Application.怎么...
[复制链接]
发送短消息
UID
2989
精华
0
查看公共资料
搜索主题
搜索帖子
Buyeah
组别
PageAdmin新手
生日
帖子
28
积分
59
性别
注册时间
2009-08-07
1
#
字体大小:
t
T
发表于
2009-09-02 19:27
|
只看楼主
Server Error in '/' Application.
Access to the path 'D:\inetpub\vhosts\wdemo.tongsite.com\httpdocs\web.Config' is denied.
Description:
Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.
Exception Details:
System.UnauthorizedAccessException: Access to the path 'D:\inetpub\vhosts\wdemo.tongsite.com\httpdocs\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 requestidentity. ASP.NET has a base process identity (typically{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used ifthe application is not impersonating. If the application isimpersonating via <identity impers/>, the identitywill be the anonymous user (typically IUSR_MACHINENAME) or theauthenticated request user.
To grant ASP.NET access to a file, right-click the file inExplorer, 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 thecurrent web request. Information regarding the origin and location ofthe exception can be identified using the exception stack trace below.
Stack Trace:
[UnauthorizedAccessException: Access to the path 'D:\inetpub\vhosts\wdemo.tongsite.com\httpdocs\web.Config' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714255
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) +1162
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66
System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) +37
System.Xml.XmlDocument.Save(String filename) +77
PageAdmin.Install.Update_Config() +733
PageAdmin.Install.Next_2(Object src, EventArgs e) +13
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information:
Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
分享
转发
TOP
发送短消息
UID
17
精华
1
查看公共资料
搜索主题
搜索帖子
apple
组别
版主
生日
帖子
1239
积分
3334
性别
注册时间
2008-11-26
2
#
字体大小:
t
T
发表于
2009-09-02 19:37
|
只看该用户
目录没有写权限导致的,找主机商设置一下就可以了
http://bbs.pageadmin.net/showtopic-1978.aspx
TOP
发送短消息
UID
2989
精华
0
查看公共资料
搜索主题
搜索帖子
Buyeah
组别
PageAdmin新手
生日
帖子
28
积分
59
性别
注册时间
2009-08-07
3
#
字体大小:
t
T
发表于
2009-09-02 19:38
|
只看楼主
安装到第第二步出现的.
win2003的主机应该没有权限问题的
TOP
发送短消息
UID
2989
精华
0
查看公共资料
搜索主题
搜索帖子
Buyeah
组别
PageAdmin新手
生日
帖子
28
积分
59
性别
注册时间
2009-08-07
4
#
字体大小:
t
T
发表于
2009-09-02 19:46
|
只看楼主
赋予权限之后出现这个
Server Error in '/' Application.
Validationof viewstate MAC failed. If this application is hosted by a Web Farm orcluster, ensure that <machineKey> configuration specifies thesame validationKey and validation algorithm. AutoGenerate cannot beused in a cluster.
Description:
Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.
Exception Details:
System.Web.HttpException:Validation of viewstate MAC failed. If this application is hosted by aWeb Farm or cluster, ensure that <machineKey> configurationspecifies the same validationKey and validation algorithm. AutoGeneratecannot be used in a cluster.
Source Error:
The source code that generated this unhandled exception can only beshown when compiled in debug mode. To enable this, please follow one ofthe below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a givenapplication to be compiled in debug mode. The first technique willcause only that particular file to be compiled in debug mode.
Important:Running applications in debug mode does incur a memory/performanceoverhead. You should make sure that an application has debuggingdisabled before deploying into production scenario.
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +289
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +140
[ViewStateException: Invalid viewstate.
Client IP: 113.67.9.162
Port: 57142
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
ViewState: /wEPDwUKMTU3NzM1MjM2Mw9kFgICAQ9kFgQCAQ8PFgIeB1Zpc2libGVoZGQCAw8PFgIfAGdkFgQCAQ8QDxYCHgdDaGVja2VkZ2RkZGQCAw8QDxYCHwFoZGRkZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAwUHUmFkaW9fMQUHUmFkaW9fMgUHUmFkaW9fMqOlx79TmMdhO+P3v27fmvUju3Sd
Referer:
http://wdemo.tongsite.com/install/Index.aspx?setup=2
Path: /install/Index.aspx]
[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106
System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +242
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +207
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.install_index_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Version Information:
Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
TOP
发送短消息
UID
2989
精华
0
查看公共资料
搜索主题
搜索帖子
Buyeah
组别
PageAdmin新手
生日
帖子
28
积分
59
性别
注册时间
2009-08-07
5
#
字体大小:
t
T
发表于
2009-09-02 19:51
|
只看楼主
已经可以进入第三步.但是又出现下面这个
Server Error in '/' Application.
Operation must use an updateable query.
Description:
Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror 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 thecurrent web request. Information regarding the origin and location ofthe exception can be identified using the exception stack trace below.
Stack Trace:
[OleDbException (0x80004005): Operation must use an updateable query.]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1003520
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +113
PageAdmin.Install.Update_Login() +268
PageAdmin.Install.Next_3(Object src, EventArgs e) +21
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information:
Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
TOP
发送短消息
UID
100
精华
0
查看公共资料
搜索主题
搜索帖子
shengge
组别
版主
生日
帖子
355
积分
887
性别
注册时间
2008-12-15
6
#
字体大小:
t
T
发表于
2009-09-02 19:57
|
只看该用户
Operation must use an updateable query
翻译就是:操作必须是一个可更新的查询,数据库写不进去就出这个错误,直接给httpdocs整个目录加个写权限就完事了
TOP
发送短消息
UID
2989
精华
0
查看公共资料
搜索主题
搜索帖子
Buyeah
组别
PageAdmin新手
生日
帖子
28
积分
59
性别
注册时间
2009-08-07
7
#
字体大小:
t
T
发表于
2009-09-02 20:13
|
只看楼主
总算是装上去了.但是后台更换风格的时候忽然又出错.前面更换几个没问题的.
Server Error in '/' Application.
Validationof viewstate MAC failed. If this application is hosted by a Web Farm orcluster, ensure that <machineKey> configuration specifies thesame validationKey and validation algorithm. AutoGenerate cannot beused in a cluster.
Description:
Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.
Exception Details:
System.Web.HttpException:Validation of viewstate MAC failed. If this application is hosted by aWeb Farm or cluster, ensure that <machineKey> configurationspecifies the same validationKey and validation algorithm. AutoGeneratecannot be used in a cluster.
Source Error:
The source code that generated this unhandled exception can only beshown when compiled in debug mode. To enable this, please follow one ofthe below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a givenapplication to be compiled in debug mode. The first technique willcause only that particular file to be compiled in debug mode.
Important:Running applications in debug mode does incur a memory/performanceoverhead. You should make sure that an application has debuggingdisabled before deploying into production scenario.
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +289
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +140
[ViewStateException: Invalid viewstate.
Client IP: 113.67.9.162
Port: 57367
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
ViewState: /wEPDwULLTExOTA3MzI5MDMPFgIeBmNvbnN0cgVwUHJvdmlkZXI9TWljcm9zb2Z0LkpldC5PTEVEQi40LjA7RGF0YSBTb3VyY2U9RDpcaW5ldHB1Ylx2aG9zdHNcd2RlbW8udG9uZ3NpdGUuY29tXGh0dHBkb2NzXGRhdGFiYXNlXGRhdGEyMDA5Lm1kYhYCAgIPZBYEAgEPEA8WAh4HRW5hYmxlZGhkZBYBZmQCBQ8QZBAVDhvor7fpgInmi6nkuIDkuKrpo47moLzmqKHmnb8EZGl5NgdzdHlsZTAxB3N0eWxlMDIHc3R5bGUwMwdzdHlsZTA0B3N0eWxlMDUHc3R5bGUwNgdzdHlsZTA3B3N0eWxlMDgHc3R5bGUwOQdzdHlsZTEwB3N0eWxlMTEHc3R5bGUxMhUOAA4vdGVtcGxhdGUvZGl5NhEvdGVtcGxhdGUvc3R5bGUwMREvdGVtcGxhdGUvc3R5bGUwMhEvdGVtcGxhdGUvc3R5bGUwMxEvdGVtcGxhdGUvc3R5bGUwNBEvdGVtcGxhdGUvc3R5bGUwNREvdGVtcGxhdGUvc3R5bGUwNhEvdGVtcGxhdGUvc3R5bGUwNxEvdGVtcGxhdGUvc3R5bGUwOBEvdGVtcGxhdGUvc3R5bGUwOREvdGVtcGxhdGUvc3R5bGUxMBEvdGVtcGxhdGUvc3R5bGUxMREvdGVtcGxhdGUvc3R5bGUxMhQrAw5nZ2dnZ2dnZ2dnZ2dnZ2RkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYDBQ13el9sb2dvX3NpdGUxBQ13el9sb2dvX3NpdGUyBQ13el9sb2dvX3NpdGUySJaG...]
[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106
System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +242
System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +207
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.master_set_1_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Version Information:
Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
TOP
上一主题
|
下一主题
返回列表
高级编辑器
B
Color
Image
Link
Quote
Code
Smilies
默认表情
你需要登录后才可以发帖
登录
|
注册
发表回复
查看背景广告
隐藏
发新主题
PageAdmin使用区
安装及使用交流
案例交流及展示
系统改进和发展建议
系统发布及下载
用户交流区
网站技术资源区
网站营运交流
广告灌水专区
TOP
设置头像
个人资料
更改密码
用户组
收藏夹
积分
Default