zoukankan      html  css  js  c++  java
  • 关于QuickHTML的开发(3)

    可惜,每天只能抽出这么少的时间来玩这个VSeWSS 1.1

    在 windows2003R2+SQL2005+Visual Studio2005 + Vmware + VSeWSS 1.1 环境里

    时不时,会出现以下错误
    The feature name xxx already exists in SharePoint. You need to rename the feature before solution deployment can succeed.

    试过N多方法,都无济于事。
    最后,到features目录下,把xxx目录删除才搞定。太古怪了,(^o^)

    是不是 VSeWSS 1.1 的问题?

    在 windows2003R2+SQL2008+Visual Studio2008+VPC +VSeWSS 1.2 环境里
    还是会出现同样的错误。
    所以,应该不是VSeWSS 的问题。

    在Visual Studio 2008 环境中,有时还会出现另外一个错误
    The language-neutral solution package was not found.

    相当莫名其妙。

    解决的方法居然是:重起visual studio 2008。  

    第一个小测试程序 (使用empty 及 module模版) 

    <%@ Page Language="VB" %>
    <%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c"%>

    <%@ Import Namespace="Microsoft.SharePoint" %>
    <%@ Import Namespace="Microsoft.SharePoint.WebControls" %>


    <%
       
        'System Content Type is the root
        Dim SPSite As SPSite = SPControl.GetContextSite(Context)
        Dim SPweb As SPWeb = SPSite.OpenWeb()
      
        Response.Write("Site's URL is " + SPweb.Url.ToString() + "<br>")
        Response.Write("Site's Name is " + SPweb.Name.ToString())
       
        Response.End()
       
        SPweb.Close()
        SPSite.Close()
       
    %>

    quickHTML这个名字太严肃,要找一个有趣一点的。


  • 相关阅读:
    Mac Finder 里新建文本
    SourceTree 无法查看组织仓库
    Android Gradle 指定 Module 打包
    Mac 下安装安卓 apk 文件
    Android 瘦身之道 ---- so文件
    Android Google AdMob 广告接入示例
    Java 垃圾回收(GC) 泛读
    [麻雀虽小]记 简易Markdown阅读器 开发全过程
    Git 版本回滚
    线程与进程的区别及其通信方式
  • 原文地址:https://www.cnblogs.com/by1455/p/1326328.html
Copyright © 2011-2022 走看看