分享

写回答

发帖

[提问] 接他人问题再次请教版主大侠...godaddy支持.net程序问题

GoDaddy GoDaddy 2718 人阅读 | 2 人回复

发表于 2010-10-19 17:15:42 | 显示全部楼层 |阅读模式

之前搜到了这个问题
http://bbs.idcspy.com/thread-118131-1-1.html

安装的这个淘东东得程序。 它是。net2.0的

根据版主们提供的信息,去进行了默认.net版本1.1升级到支持2.0版本了。 权限也都加上可读写了。

还是安装的这个程序,第一步 它的安装有个环境监测,点击监测之后还是提示这样:
QQ截图未命名.png


点击下一步可以继续。在按提示修改完数据库目录、数据库名称、后台地址(为了安全因素)之后,点击下一步,提示安装成功:
QQ截图未命名1.png

QQ截图未命名2.png

然后就是登陆后台页了,结果出现了这个错误:

Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>


按照提示在 web.config文件里加了一句 <customErrors mode="Off"/> 之后 再登陆后台地址 就呈现出下面的问题了。    是不是godaddy不能解决了。。。
返回这个提示:

QQ截图未命名8.png

Server Error in '/mydomain' 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: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

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:

[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Web.UI.PageParser.GetCompiledPageInstance(String virtualPath, String inputFile, HttpContext context) +46
   URLRewriter.Rewrite**ctoryHandler.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +682
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155



是不是就是彻底的不支持这款程序了啊???????

[ 本帖最后由 ggbd2009 于 2010-10-19 05:22 PM 编辑 ]
QQ截图未命名2.png
QQ截图未命名8.png

回答|共 2 个

add.c

发表于 2010-10-19 17:20:17 | 显示全部楼层

不能安装了.
看到后面的错误提示就杯具

kid

发表于 2010-10-19 18:19:41 | 显示全部楼层

典型的Trust Levels问题,http://msdn.microsoft.com/en-us/library/wyts434y.aspx


国内的很多程序是在Full Trust Level下运行的,而GD只能是Medium Trust Level.所以N多东西跑不起来,
您需要登录后才可以回帖 登录 | 注册

本版积分规则