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");%>

  • 相关阅读:
    Java中String、StringBuffer和StringBuilder的区别
    Map集合学习
    Set集合学习
    List集合学习
    常用集合类简介及线程安全和非线程安全的集合对象
    JQuery入门
    原生Ajax使用
    JavaScript闭包
    Demo:servlet实现图片的上传
    Android Handler 内存泄漏问题
  • 原文地址:https://www.cnblogs.com/liuzhengdao/p/1276840.html
Copyright © 2011-2022 走看看