<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_青松阳光</title><subtitle type="text">关注.NET平台及SharePoint产品</subtitle><id>http://feed.cnblogs.com/blog/u/19860/rss</id><updated>2011-09-16T02:25:04Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/19860/rss"/><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2011/09/16/2178260.html</id><title type="text">2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) 提供下载</title><summary type="text">微软在9月13号发布了新的SharePoint 2010 SP1 评估虚拟机，包括以下内容Virtual machine “a” contains the following pre-configured software:Windows Server 2008 R2 SP1 Standard Evaluation Edition, running as an Active Directory Domain Controller for the “CONTOSO.COM” domain with DNS and WINSMicrosoft SQL Server 2008 R2 Enterp..</summary><published>2011-09-16T01:08:00Z</published><updated>2011-09-16T01:08:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/16/2178260.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/16/2178260.html"/><content type="html">&lt;p&gt;微软在9月13号发布了新的SharePoint 2010 SP1 评估&lt;a&gt;&lt;/a&gt;&lt;a&gt;虚拟机&lt;/a&gt;&lt;a&gt;&lt;/a&gt;，包括以下内容&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;Virtual machine &amp;#8220;a&amp;#8221; contains the following pre-configured software:&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Windows Server 2008 R2 SP1 Standard Evaluation Edition, running as an Active  Directory Domain Controller for the &amp;#8220;CONTOSO.COM&amp;#8221; domain with DNS and WINS&lt;/li&gt;&lt;li&gt;Microsoft SQL Server 2008 R2 Enterprise Edition with Analysis, Notification,  and Reporting Services&lt;/li&gt;&lt;li&gt;Microsoft Visual Studio 2010&lt;/li&gt;&lt;li&gt;Microsoft SharePoint Server 2010 SP1 Enterprise Edition&lt;/li&gt;&lt;li&gt;Microsoft Office Web Applications SP1&lt;/li&gt;&lt;li&gt;Microsoft FAST Search for SharePoint 2010 SP1&lt;/li&gt;&lt;li&gt;Microsoft Project Server 2010 SP1&lt;/li&gt;&lt;li&gt;Microsoft Office Professional Plus 2010 SP1&lt;/li&gt;&lt;li&gt;Microsoft Visio 2010 SP1&lt;/li&gt;&lt;li&gt;Microsoft Project 2010 SP1&lt;/li&gt;&lt;li&gt;Microsoft Lync 2010&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Virtual machine &amp;#8220;b&amp;#8221; contains the  following pre-configured software:&lt;br /&gt; &lt;ol&gt;&lt;li&gt;Windows Server 2008 R2 SP1 Standard Evaluation Edition, joined to the  &amp;#8220;CONTOSO.COM&amp;#8221; domain&lt;/li&gt;&lt;li&gt;Microsoft Exchange Server 2010 SP1&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Virtual machine &amp;#8220;c&amp;#8221;  contains the following pre-configured software:&lt;br /&gt; &lt;ol&gt;&lt;li&gt;Windows Server 2008 R2 SP1 Standard Evaluation Edition, joined to the  &amp;#8220;CONTOSO.COM&amp;#8221; domain&lt;/li&gt;&lt;li&gt;Microsoft Lync Server 2010&lt;/li&gt;&lt;/ol&gt;请在&lt;a target="_blank" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=27417"&gt;这里&lt;/a&gt;下载。&lt;/div&gt;&amp;nbsp;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/2178260.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/16/2178260.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2011/09/15/2177332.html</id><title type="text">使用XSLT和XML创建Excel</title><summary type="text">在做SharePoint开发时，有时候会要求将SPGridView或者用表格(System.Web.UI.WebControls.Table)展示的数据导出为Excel。 如果使用SPGridView且不分页我们可以轻松得将其展示数据导出为Excel，具体做法参考这里。如果SPGridView做在了Web部件里，就很难使用这样的技术了，因为我们无法去重载Web部件所在的Page的VerifyRenderingInServerForm以防止导出时产生异常。另外如果我们用代码自己画出来的稍微复杂的报表要求导出为Excel时就很难借助SPGridView了。使用XSLT和XML来创建Excel可以满</summary><published>2011-09-15T04:37:00Z</published><updated>2011-09-15T04:37:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/15/2177332.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/15/2177332.html"/><content type="html">&lt;span style=" font-family:宋体;"&gt;在做SharePoint开发时，有时候会要求将SPGridView或者用表格(System.Web.UI.WebControls.Table)展示的数据导出为Excel。 如果使用SPGridView且不分页我们可以轻松得将其展示数据导出为Excel，&lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:宋体;Times New Roman&amp;quot;;"&gt;具体做法参考&lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;Times New Roman&amp;quot;;"&gt;&lt;a target="_blank" href="http://geekswithblogs.net/azamsharp/archive/2005/12/21/63843.aspx"&gt;&lt;a href="http://geekswithblogs.net/azamsharp/archive/2005/12/21/63843.aspx"&gt;&lt;span style="font-family:宋体;"&gt;这里&lt;/span&gt;&lt;/a&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:10.5pt;font-family:宋体;Times New Roman&amp;quot;;"&gt;。如果SPGridView做在了Web部件里，就很难使用这样的技术了，因为我们无法去重载Web部件所在的Page的VerifyRenderingInServerForm以防止导出时产生异常。另外如果我们用代码自己画出来的稍微复杂的报表要求导出为Excel时就很难借助SPGridView了。使用XSLT和XML来创建Excel可以满足灵活的表格展现样式，&lt;/span&gt;我写了个&lt;a target="_blank" href="http://files.cnblogs.com/happyhzs2000/%E4%BD%BF%E7%94%A8XSLT%E5%92%8CXML%E5%88%9B%E5%BB%BAExcel.zip"&gt;文档&lt;/a&gt;详细介绍了开发步骤，希望能给大家带来帮助。&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/2177332.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2011/09/15/2177332.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2011/08/18/2144343.html</id><title type="text">在SharePoint中服务器端使用Word编程模型转换PDF遇到的问题以及解决方法</title><summary type="text">在项目中需要将Word文档转行成PDF，其中一个解决方案是在SharePoint服务器上装上Office 2007及以上版本，服务器端代码引用Microsfot.Office.Interop.Word dll用Office编程模型调用转行API接口实现。但是在代码执行到实例化 Microsoft.Office.Interop.Word.Application时出现了异常，见一下截图：因为代码提升了权限，是在应用池配置的标识权限下操作word的，应用程序标识配置如下：标识是一个普通的域账号，因此需要配置相应的DCOM启动和激活权限，我们需要打开comexp.msc进行配置，注意，如果服务器上装的</summary><published>2011-08-18T06:02:00Z</published><updated>2011-08-18T06:02:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2011/08/18/2144343.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2011/08/18/2144343.html"/><content type="html">&lt;p&gt;&lt;span style="font-family: Arial"&gt;在项目中需要将&lt;/span&gt;&lt;span style="font-family: Arial"&gt;Word&lt;/span&gt;&lt;span style="font-family: Arial"&gt;文档转行成&lt;/span&gt;&lt;span style="font-family: Arial"&gt;PDF&lt;/span&gt;&lt;span style="font-family: Arial"&gt;，其中一个解决方案是在&lt;/span&gt;&lt;span style="font-family: Arial"&gt;SharePoint&lt;/span&gt;&lt;span style="font-family: Arial"&gt;服务器上装上&lt;/span&gt;&lt;span style="font-family: Arial"&gt;Office 2007&lt;/span&gt;&lt;span style="font-family: Arial"&gt;及以上版本，服务器端代码引用&lt;/span&gt;&lt;span style="font-family: Arial"&gt;Microsfot.Office.Interop.Word dll&lt;/span&gt;&lt;span style="font-family: Arial"&gt;用&lt;/span&gt;&lt;span style="font-family: Arial"&gt;Office&lt;/span&gt;&lt;span style="font-family: Arial"&gt;编程模型调用转行&lt;/span&gt;&lt;span style="font-family: Arial"&gt;API&lt;/span&gt;&lt;span style="font-family: Arial"&gt;接口实现。&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="font-family: Arial"&gt;但是在代码执行到实例化&lt;/span&gt;&lt;span style="font-family: Arial"&gt; Microsoft.Office.Interop.Word.Application&lt;/span&gt;&lt;span style="font-family: Arial"&gt;时出现了异常，见一下截图：&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="font-family: Arial"&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/AcessDenyError.png" height="350" border="0" width="1154" /&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p style="margin: 0cm 0cm 0pt" &gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;因为代码提升了权限，是在应用池配置的标识权限下操作&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;font face="Calibri"&gt;word&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;的，应用程序标识配置如下：&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/appPoolIdentity.png" height="90" border="0" width="606" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;标识是一个普通的域账号，因此需要配置相应的&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;DCOM&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;启动和激活权限，我们需要打开&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;comexp.msc&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;进行配置，注意，如果服务器上装的是&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;32&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;位版本，而服务器是&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;64&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;位的，需要用以下方式打开&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;DCOM&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;配置窗口，&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/openComexp.png" height="111" border="0" width="438" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p style="margin: 0cm 0cm 0pt" &gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;因为我们还会遇到第二个问题，后文会提到。&lt;/span&gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;见以下截图，配置标识的权限&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/set1.png" border="0" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/set2.png" border="0" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;配置完之后继续运行代码，发现实例化&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;Microsoft.Office.Interop.Word.Application&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;通过了，但是在返回&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;Document&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;对象时却返回了&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;NULL,&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/NullError.png" border="0" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;我们还需要设置一下，在&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;DOCM&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;配置窗口中找到&lt;/span&gt;&lt;span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang="EN-US"&gt;Word&lt;/span&gt;&lt;span style="font-family: 宋体; font-size: 10.5pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"&gt;一项配置为&amp;#8220;交互式用户&amp;#8221;。这样就不会出错了&lt;/span&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/finalSet.png" height="429" border="0" width="715" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p style="margin: 0cm 0cm 0pt" &gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;希望这篇博客能给大家带来帮助。此解决方案同样适用于&lt;/span&gt;&lt;span lang="EN-US"&gt;&lt;font face="Calibri"&gt;ASP.NET&lt;/font&gt;&lt;/span&gt;&lt;span style="font-family: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin"&gt;应用程序。&lt;/span&gt; 相关权限设置请下载&lt;a href="http://files.cnblogs.com/happyhzs2000/SharePoint%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E9%80%9A%E8%BF%87Word%E7%BC%96%E7%A8%8B%E6%A8%A1%E5%9E%8B%E6%93%8D%E4%BD%9C%E6%9D%83%E9%99%90%E8%AE%BE%E7%BD%AE.zip"&gt;文档&lt;/a&gt;。&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/2144343.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2011/08/18/2144343.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2011/01/07/1929655.html</id><title type="text">Thinkpad T410 安装Windows Server 2008 R2 启用Hyper-v蓝屏故障解决方法</title><summary type="text">为了开发SharePoint 2010项目，我自己吐血买了个高配本子, Thinkpad T410，把内存升级到了8个G，很兴奋的装了Windows Server 2008 R2系统，然后启用了Hyper-v服务，把从微软官方下载的demo虚拟机加入Hyper-v后，点击启动却报了错误，说是需要把CPU相关的虚拟化特性启动。我重启机子进入BIOS，好不容易找到了相关的配置，相关的两项启用后再次启动机子突然蓝屏并有乱码，当把虚拟特性关掉后系统又可以正常的启动起来，但是使用不了Hyper-v。经过多方查询，终于知道了结果，原来我的机子显卡NVIDIA的，但是它的驱动和Hyper-v有冲突，导致系统</summary><published>2011-01-07T05:31:00Z</published><updated>2011-01-07T05:31:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2011/01/07/1929655.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2011/01/07/1929655.html"/><content type="html">&lt;p&gt;为了开发SharePoint 2010项目，我自己吐血买了个高配本子, Thinkpad T410，把内存升级到了8个G，很兴奋的装了Windows Server 2008 R2系统，然后启用了Hyper-v服务，把从微软官方下载的demo虚拟机加入Hyper-v后，点击启动却报了错误，说是需要把CPU相关的虚拟化特性启动。我重启机子进入BIOS，好不容易找到了相关的配置，相关的两项启用后再次启动机子突然蓝屏并有乱码，当把虚拟特性关掉后系统又可以正常的启动起来，但是使用不了Hyper-v。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;经过多方查询，终于知道了结果，原来我的机子显卡NVIDIA的，但是它的驱动和Hyper-v有冲突，导致系统蓝屏。解决方案需要有两步：首先安装Windows Server 2008 R2 SP1补丁（之后再启用Hyper-V），现在是RC版本，安装之后，针对T410还需要注意的一点是，需要禁掉 Intel Turbo Boost，打开设备管理器，找到Intel Turbo Boost，禁用此驱动即可。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;希望此贴能给大家带来些帮助。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1929655.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2011/01/07/1929655.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/12/21/1912281.html</id><title type="text">Visual Studio 2008 Extensions for Windows SharePoint Services 3.0（VSeWSS） 1.3版本发布</title><summary type="text">相信在MOSS 2007开发当中大家都用过VSeWSS这个扩展插件，这个组件本以为微软不会再进行版本升级了。但是今天从博客得悉 VSeWSS 1.3版本发布，发布日期是2010.12.16，请大家在这里查看详情，在这里下载。</summary><published>2010-12-21T01:30:00Z</published><updated>2010-12-21T01:30:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/21/1912281.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/21/1912281.html"/><content type="html">相信在MOSS 2007开发当中大家都用过VSeWSS这个扩展插件，这个组件本以为微软不会再进行版本升级了。但是今天从博客得悉 VSeWSS 1.3版本发布，发布日期是2010.12.16，请大家在&lt;a href="http://blogs.msdn.com/b/pandrew/archive/2010/12/20/visual-studio-2008-extensions-for-windows-sharepoint-services-vsewss-v1-3-released.aspx" target="_blank"&gt;这里&lt;/a&gt;查看详情，在&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=d87523da-b5bc-4296-be8a-8e3785c8f181" target="_blank"&gt;这里&lt;/a&gt;下载。 &lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1912281.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/21/1912281.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/12/14/1905226.html</id><title type="text">SPDisposeCheck 工具新版本发布</title><summary type="text">相信在MOSS开发中大家都用过SPDisposeCheck工具，用它可以检测出我们写的代码是否正确销毁掉诸如SPSite或者SPWeb之类的“资源消耗大户”, 现在刚从相关的blog得知，这个工具有了新的版本（v14.0.4762.1000），支持WSS3.0， SharePoint2007, SharePoint Foundation 2010和SharePoint Server 2010的代码检测，详细信息请查看这里。另外附上MSDN上关于正确使用可Disposable的SharePoint的对象，请看这里。</summary><published>2010-12-14T01:34:00Z</published><updated>2010-12-14T01:34:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/14/1905226.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/14/1905226.html"/><content type="html">相信在MOSS开发中大家都用过SPDisposeCheck工具，用它可以检测出我们写的代码是否正确销毁掉诸如SPSite或者SPWeb之类的&amp;#8220;资源消耗大户&amp;#8221;, 现在刚从相关的blog得知，这个工具有了新的版本（v14.0.4762.1000），支持WSS3.0， SharePoint2007, SharePoint Foundation 2010和SharePoint Server 2010的代码检测，详细信息请查看&lt;a target="_blank" href="http://blogs.msdn.com/b/pandrew/archive/2010/12/13/new-spdisposecheck-release-available.aspx"&gt;这里&lt;/a&gt;。另外附上MSDN上关于正确使用可Disposable的SharePoint的对象，请看&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/aa973248.aspx"&gt;这里&lt;/a&gt;。&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1905226.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/12/14/1905226.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/10/30/1865311.html</id><title type="text">SharePoint 2010 Dialog Framework 基本操作</title><summary type="text">1. 弹出窗体2. Js关闭窗体方法3. 窗体Server端代码关闭方法</summary><published>2010-10-30T14:06:00Z</published><updated>2010-10-30T14:06:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/10/30/1865311.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/10/30/1865311.html"/><content type="html">&lt;p&gt;1. 弹出窗体&lt;/p&gt;&lt;p&gt;&lt;div align="center"&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/1.png" width="890" height="527" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;2. Js关闭窗体方法&lt;/p&gt;&lt;p&gt;&lt;div align="center"&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/2.png" width="903" height="435" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3. 窗体Server端代码关闭方法 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;div align="center"&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/happyhzs2000/3.png" width="926" height="445" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1865311.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/10/30/1865311.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/09/29/1838081.html</id><title type="text">ASP.NET 安全漏洞更新补丁已经提供下载</title><summary type="text">ASP.NET最近暴露的安全漏洞，微软已经发布了安全补丁，请大家参看这里。如果大家有面向公网的ASP.NET站点或者SharePoint站点，请立即按照相关提示安装补丁。之前提出的暂时的解决方案可以撤销。</summary><published>2010-09-29T00:54:00Z</published><updated>2010-09-29T00:54:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/29/1838081.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/29/1838081.html"/><content type="html">&lt;p&gt;ASP.NET最近暴露的安全漏洞，微软已经发布了安全补丁，请大家参看&lt;a href="http://weblogs.asp.net/scottgu/archive/2010/09/28/asp-net-security-update-now-available.aspx" target="_blank"&gt;这里&lt;/a&gt;。如果大家有面向公网的ASP.NET站点或者SharePoint站点，请立即按照相关提示安装补丁。之前提出的暂时的解决方案可以撤销。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1838081.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/29/1838081.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/09/21/1832503.html</id><title type="text">ASP.NET 被暴露存在一个严重的安全缺陷，同时也会影响到SharePoint</title><summary type="text">微软开发部经理 Scott Guthrie 于9月18日的博客中，提出ASP.NET各个版本（1.0，1.1，2.0，3.5，3.5SP1,4.0）均存在同样的缺陷，不怀好意者可以利用此缺陷拿到像站点的配置文件(web.config)这样的敏感信息:An attacker using this vulnerability can request and download files within ...</summary><published>2010-09-21T05:28:00Z</published><updated>2010-09-21T05:28:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/21/1832503.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/21/1832503.html"/><content type="html">&lt;p&gt;微软开发部经理 Scott Guthrie 于9月18日的博客中，提出ASP.NET各个版本（1.0，1.1，2.0，3.5，3.5SP1,4.0）均存在同样的缺陷，不怀好意者可以利用此缺陷拿到像站点的配置文件(web.config)这样的敏感信息:&lt;/p&gt;&lt;p&gt;An attacker using this vulnerability can request and download files within an  ASP.NET Application like the web.config file (which often contains sensitive  data).&amp;nbsp;&lt;/p&gt;&lt;p&gt;目前暂时没有发布更新补丁，但是提出了一个暂时解决的办法，请大家看考&lt;a target="_blank" href="http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspx"&gt;这里&lt;/a&gt;和&lt;a target="_blank" href="http://weblogs.asp.net/scottgu/archive/2010/09/24/update-on-asp-net-vulnerability.aspx"&gt;这里&lt;/a&gt;，因为SharePoint是架构在ASP.NET之上的，因此也会受此影响，请大家参看&lt;a target="_blank" href="http://blogs.msdn.com/b/sharepoint/archive/2010/09/21/security-advisory-2416728-vulnerability-in-asp-net-and-sharepoint.aspx"&gt;这里&lt;/a&gt;。&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1832503.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/21/1832503.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/happyhzs2000/archive/2010/09/11/1823779.html</id><title type="text">SharePoint 2010 SDK 发布了更新版本(2011.4)可下载</title><summary type="text">微软的 SharePoint 2010 SDK 于2011年4月1日发布了更新版本，如果已经安装了之前版本的sdk, 需要先在控制面板里卸载掉。请在这里和这里下载。</summary><published>2010-09-11T01:24:00Z</published><updated>2010-09-11T01:24:00Z</updated><author><name>青松阳光</name><uri>http://www.cnblogs.com/happyhzs2000/</uri></author><link rel="alternate" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/11/1823779.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/11/1823779.html"/><content type="html">&lt;p&gt;微软的 SharePoint 2010 SDK 于2011年4月1日发布了更新版本，如果已经安装了之前版本的sdk, 需要先在控制面板里卸载掉。&lt;/p&gt;&#xD;
&lt;p&gt;请在&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c8cf1631-0f48-4a02-a18d-54b04eb7f0a7&amp;amp;displaylang=en" target="_blank"&gt;这里&lt;/a&gt;和&lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3629425d-1505-456e-89e2-ede95f75ffe5&amp;amp;displaylang=en" target="_blank"&gt;这里&lt;/a&gt;下载。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/happyhzs2000/aggbug/1823779.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/happyhzs2000/archive/2010/09/11/1823779.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
