zoukankan      html  css  js  c++  java
  • 在sharepoint中部署aspx应当注意的问题

    新建一个文档库Docs

    将程序文件都放到Docs

    配置Web.Config

    设置允许执行aspx文件

        <SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">

          <PageParserPaths>

            <PageParserPath VirtualPath="/Documents/menu.aspx" CompilationMode="Always" AllowServerSideScript="true" />

         </PageParserPaths>

        </SafeMode>

    注册dll

        <SafeControls>

         <SafeControl Assembly="ZedGraph.Web, Version=5.1.2.880, Culture=neutral, PublicKeyToken=null" Namespace="ZedGraph.Web" TypeName="*" Safe="True" AllowRemoteDesigner="True" />

        </SafeControls>

    或将dll文件拷到C:"Inetpub"wwwroot"wss"VirtualDirectories"80"bin

    设置WebPart权限级别

        <trust level="Full" originUrl="" />

    表示完全信任

    配置ZedGraph.Web.DLL时要注意

    C:"Inetpub"wwwroot"wss"VirtualDirectories"80 新建 ZedGraphImages 文件夹,并设置安全为Everyone可完全控制。

    aspx中包含其它aspx的方法

        <% System.Web.HttpContext.Current.Server.Execute("menu.aspx");%>

  • 相关阅读:
    迷宫
    【NOIP2001普及组】最大公约数和最小公倍数问题
    latex online tool
    连续自然数和
    又是毕业季Ⅰ
    区间素数
    【AHOI2005】约数研究
    【NOIP2011提高组】计算系数
    【NOIP2012普及组】寻宝
    plsql 导出oracle数据库
  • 原文地址:https://www.cnblogs.com/liuzhengdao/p/1276840.html
Copyright © 2011-2022 走看看