+ -
当前位置:首页 → 问答吧 → 在GoDaddy美国主机上,出现DotNetTextBox错误

在GoDaddy美国主机上,出现DotNetTextBox错误

时间:2011-03-21

来源:互联网

Server Error in '/www/zjroulung' Application.
--------------------------------------------------------------------------------

Security Exception 
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.

Source Error: 


Line 127: </td>
Line 128: <td class="td_top_edit">
Line 129: <DNTB:WebEditor ID="txtContent" runat="server" systemFolder="system_dntb/" PathType="AbsoluteRoot"
Line 130: Skin="skin/xp/" MenuConfig="all_3row.config" Width="99%" Height="350px" />
Line 131: <asp:RequiredFieldValidator ID="rfvContent" runat="server" ErrorMessage="内容不能为空。"
 

Source File: d:\hosting\7440414\html\www\zjroulung\Admins\Articles\Edit.aspx Line: 129 

Stack Trace: 


[SecurityException: That assembly does not allow partially trusted callers.]
  ASP.admins_articles_edit_aspx.__BuildControltxtContent() in d:\hosting\7440414\html\www\zjroulung\Admins\Articles\Edit.aspx:129
  ASP.admins_articles_edit_aspx.__BuildControlContent4(Control __ctrl) in d:\hosting\7440414\html\www\zjroulung\Admins\Articles\Edit.aspx:17
  System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
  ASP.admins_masterpage_master.__BuildControlContentPlaceHolder1() in d:\hosting\7440414\html\www\zjroulung\Admins\MasterPage.master:116
  ASP.admins_masterpage_master.__BuildControlform1() in d:\hosting\7440414\html\www\zjroulung\Admins\MasterPage.master:104
  ASP.admins_masterpage_master.__BuildControlTree(admins_masterpage_master __ctrl) in d:\hosting\7440414\html\www\zjroulung\Admins\MasterPage.master:1
  ASP.admins_masterpage_master.FrameworkInitialize() in d:\hosting\7440414\html\www\zjroulung\Admins\MasterPage.master.cs:912308
  System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
  System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8669427
  System.Web.UI.Page.get_Master() +51
  System.Web.UI.Page.ApplyMasterPage() +15
  System.Web.UI.Page.PerformPreInit() +45
  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.admins_articles_edit_aspx.ProcessRequest(HttpContext context) in App_Web_gb3typq9.2.cs:0
  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.4206; ASP.NET Version:2.0.50727.4016 


我用的编译器是VS2008
有知道的麻烦告诉下,谢谢了。

作者: lfoy112   发布时间: 2011-03-21

GODADDY错误的话,发英文邮件咨询一下他们吧。呵呵,好象GOD有中文部,对中国大陆地区的。现在不是支持淘宝支付了吗。应该也有对应的中文技术咨询服务站点!

作者: falizixun2   发布时间: 2011-03-22