<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8006724255930921548</id><updated>2026-03-20T15:11:21.559+08:00</updated><category term="MOSS篇"/><category term="SharePoint"/><category term="ASP.NET篇"/><category term=".NET工具篇"/><category term="Window Forms篇"/><category term="Security"/><category term="SQL Server篇"/><category term="認證篇"/><category term="Office 365"/><category term="VSTS篇"/><category term="Office"/><category term="書籍篇"/><category term="ADO.NET"/><category term="HTML5"/><category term="Windows Azure"/><category term="C#篇"/><category term="WCF"/><category term="Azure"/><category term="Cat#篇"/><category term="Cloud"/><category term="RMS"/><category term="Silverlight"/><category term="VSTO"/><category term="Web Service"/><category term="Windows 8"/><category term="活動篇"/><title type='text'>遺忘技術的角落</title><subtitle type='html'>寬廣無際的技術翰海中，能遺忘的就把它遺忘掉吧~&#xa;無法遺忘的，總會有個角落，靜靜地等候著~</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>161</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-3399734259047377256</id><published>2018-07-18T01:47:00.001+08:00</published><updated>2018-07-18T01:52:05.783+08:00</updated><title type='text'>Multiple assemblies with equivalent identity have been imported 解決方式</title><content type='html'>最近為了開發測試一個功能，從NuGet上下載安裝了某一個package包，因為這個package包的說明書中指定要使用 .NET 4.6.2，我就先下載安裝了 .NET 4.6.2，並且建立專案，安裝 XXX NuGet，結果在 Compiler的時候，就出現了以下的錯誤訊息：&lt;span style=&quot;color: red;&quot;&gt;Multiple assemblies with equivalent identity have been imported&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit76KTDuW_LvGtmax9bz0ug8s1m9wmzVpIr7mw9fzFDrufDtHDr1MHQvbi1gf0BpOUNlb7D64WE0rTr5iH9hDlFgxNlFneB747lpegWVJDZv4Ri1Mcd5py_AwSTwKvam4TzU1XCVnYqT4/s1600/ERROR.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;143&quot; data-original-width=&quot;676&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit76KTDuW_LvGtmax9bz0ug8s1m9wmzVpIr7mw9fzFDrufDtHDr1MHQvbi1gf0BpOUNlb7D64WE0rTr5iH9hDlFgxNlFneB747lpegWVJDZv4Ri1Mcd5py_AwSTwKvam4TzU1XCVnYqT4/s1600/ERROR.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
上網一查，原來很多人都遇到這問題，紀錄一下解決方式：&lt;br /&gt;
1. 打開VS專案的 .csproj&lt;br /&gt;
2. 在 PropertyGroup 區段中，加入ImplicitlyExpandDesignTimeFacades 這個設定，並設定為 false：&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXk2slzmK7GykZvoFTfHvQoVbmKS_5gEDtvrHGO0f79Hat1eEQoOaf43T-a41yzIbqR_D5UMWOxPzCn0hKA7NkW6JJr6WEdQebYBoeP2KbDDvyBE-K4P0bayow7TDlqN74kSzwauWHUE/s1600/ERROR.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;365&quot; data-original-width=&quot;697&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrXk2slzmK7GykZvoFTfHvQoVbmKS_5gEDtvrHGO0f79Hat1eEQoOaf43T-a41yzIbqR_D5UMWOxPzCn0hKA7NkW6JJr6WEdQebYBoeP2KbDDvyBE-K4P0bayow7TDlqN74kSzwauWHUE/s1600/ERROR.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. 重新建置，就可以了!&lt;br /&gt;
相關參考連結：&lt;br /&gt;
https://github.com/dotnet/sdk/issues/1539&lt;br /&gt;
https://stackoverflow.com/questions/39252032/where-do-i-set-implicitlyexpanddesigntimefacades-to-false/44648397#44648397&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/3399734259047377256/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/3399734259047377256' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3399734259047377256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3399734259047377256'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2018/07/multiple-assemblies-with-equivalent.html' title='Multiple assemblies with equivalent identity have been imported 解決方式'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit76KTDuW_LvGtmax9bz0ug8s1m9wmzVpIr7mw9fzFDrufDtHDr1MHQvbi1gf0BpOUNlb7D64WE0rTr5iH9hDlFgxNlFneB747lpegWVJDZv4Ri1Mcd5py_AwSTwKvam4TzU1XCVnYqT4/s72-c/ERROR.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-8306742850313275368</id><published>2016-09-04T15:32:00.001+08:00</published><updated>2016-09-04T15:41:30.690+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="C#篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><title type='text'>Create Azure WebJob using C# (使用C#開發 Azure WebJob 執行背景工作)</title><content type='html'>&lt;p&gt;&lt;a href=&quot;https://azure.microsoft.com/zh-tw/documentation/articles/websites-webjobs-resources/&quot;&gt;WebJobs&lt;/a&gt; 是一項 Azure App Service 功能，可讓您在與 Web 應用程式、API 應用程式或行動應用程式相同的內容中執行程式或指令碼，舉個簡單例子來說，以往我們要排程一個簡單的exe應用程式，固定一段時間執行一次，或者是每隔10min執行一次，通常的做法會寫一個exe，然後在Windows上直接設定OS的排程去執行此應用程式，或者是在此應用程式中，自己寫Timer去控制執行某段功能的時間，但主要的EXE還是執行在您的機器上，有著諸多的限制。&lt;/p&gt;  &lt;p&gt;現在換一個想法，假設我們想要排程的應用程式可以放在雲端上，透過簡單的排程或是自己寫的邏輯，就可以達到這樣的效果，這樣不是很方便嗎? 沒錯Azure WebJob 就是這樣的一個服務，最簡單的方式就是把你的應用程式，例如：exe，包成zip檔，上傳到App Service Web ，然後設定一下就可以了，No Code的設定方式可參考以下Azure官方介紹：&lt;a title=&quot;https://azure.microsoft.com/zh-tw/documentation/articles/web-sites-create-web-jobs/&quot; href=&quot;https://azure.microsoft.com/zh-tw/documentation/articles/web-sites-create-web-jobs/&quot;&gt;https://azure.microsoft.com/zh-tw/documentation/articles/web-sites-create-web-jobs/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;但假設透過Azure上的排程器工作集合，免費的排程是有一些條件限制的，假設要比較多的排程功能，可能需要一些費用的產生，排程器工作集合有不同的收費等級。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpOwDr5-IEJlQ0FcTDf77JSmIgFp1mUWxwFeEU3Mj3aepcznbqlnGlPu3sZMPwJqHp2MdoMDPP0eBy14x95Gh4MUF3RBj3Fqb0Xlm1OxJYwbgqhLuW8jgBvdvfLps33QaYKxrfrL3D0-g/?imgmax=800&quot; width=&quot;377&quot; height=&quot;117&quot; /&gt;&lt;/p&gt;  &lt;p&gt;因此如果我們將程式部署上去之前，背景執行的執行相關工作由程式自行控制，那麼也不失是另一種折衷的方式，這時就要使用到 WebJob SDK。以下這段話是微軟官方的介紹：&lt;a href=&quot;https://azure.microsoft.com/zh-tw/documentation/articles/websites-webjobs-resources/&quot;&gt;WebJobs SDK&lt;/a&gt; 的目的是為了簡化您為 WebJob 可執行的一般工作 (例如影像處理、佇列處理、RSS 彙總、檔案維護及傳送電子郵件) 撰寫的程式碼。WebJobs SDK 具有內建功能，用於處理 Azure 儲存體和服務匯流排、工作排程和處理錯誤，以及許多其他常見案例。此外，它已被設計成可延伸。&lt;a href=&quot;https://github.com/Azure/azure-webjobs-sdk/&quot;&gt;WebJobs SDK 是開放原始碼&lt;/a&gt;，並且有&lt;a href=&quot;https://github.com/Azure/azure-webjobs-sdk-extensions/wiki/Binding-Extensions-Overview&quot;&gt;擴充功能的開放原始碼儲存機制&lt;/a&gt;。&lt;/p&gt;  &lt;p&gt;WebJobs SDK 包含下列元件：&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;strong&gt;NuGet 封裝：&lt;/strong&gt;新增至 Visual Studio 主控台應用程式專案的 NuGet 封裝，會利用 WebJobs SDK 屬性修飾方法，提供一個程式碼使用的架構。&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;strong&gt;儀表板：&lt;/strong&gt;Azure App Service 中包含部分的 WebJobs SDK，該部份項目可針對使用 NuGet 封裝的程式提供豐富的監控和診斷功能，無需撰寫程式碼就可以使用這些監視和診斷功能。&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;當針對WebJob SDK有些概念後，以下亞當斯就來介紹一下使用C#搭配WebJobs SDK開發WebJob的簡易方式和步驟：&lt;/p&gt;  &lt;p&gt;1.新增專案時，選取Azure WebJob專案範本：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIhEP8Be5PDIy3Wf2rLpHhkIu-vZZmUS7cft-AyU-3ZLFSqXRd7kNUqvxxM1QdYnppnDvfG3USi6bHaQ77ANOl396RPSztz0CbPgQhDJXahroR4L2WPzhjeBmDTfToifzEWK3TE631jmY/?imgmax=800&quot; width=&quot;543&quot; height=&quot;353&quot; /&gt;&lt;/p&gt;  &lt;p&gt;2.當專案建立完成時，在Program.cs中會自動加入JobHost的物件，JobHost 物件是一組背景功能的容器，JobHost 物件可監視功能、注意可觸發功能的事件，以及發生觸發事件時執行功能。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxTacgwYtKZjBFVuSenT15EGNOH-4PJVatiIbtj4f2qtyFZ_AaNt54TRsl5lNz75qcMFfzebHQlrdObkPUqstWIOTfmAEaHCEx4X8tA-aeZ1BU1EAn0XCoo031OUukJmWkWue_6CugfO0/?imgmax=800&quot; width=&quot;332&quot; height=&quot;199&quot; /&gt;&lt;/p&gt;  &lt;p&gt;3.在Functions.cs中加入以下這段我們想要自行定義的程式碼，宣告方法為非同步工作，並且在方法上加上：NoAutomaticTrigger的Attribute，程式中我們使用While搭配await Task.Delay(TimeSpan.FromSeconds(10))讓每10秒去重複執行一次。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKD7M19PQjz4i2hmLROa97_TfFoU2iXiIqMf-D98Ke95HR9XXFctIVUdlUuDd1U4owLem2BinjQVZlS789wfBn-9TUXGziYbMruF4QYqXXEg2eZDKurEtwKdn1UudbP7d9Km0ynjCxel4/?imgmax=800&quot; width=&quot;795&quot; height=&quot;315&quot; /&gt;&lt;/p&gt;  &lt;p&gt;4.當寫好我們預計要固定執行的方法之後，要回到Program.cs，針對指定的方法去呼叫，程式碼如下：&lt;/p&gt;  &lt;p&gt;var host = new JobHost();&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&lt;font color=&quot;#ff0000&quot;&gt;host.CallAsync(typeof(Functions).GetMethod(&amp;quot;ProcessMethod&amp;quot;));&lt;/font&gt;    &lt;br /&gt;host.RunAndBlock();&lt;/p&gt;  &lt;p&gt;5.最後再測試執行之前，我們要先設定好App.Config中的兩個連線字串，分別為：AzureWebJobsDashboard、AzureWebJobsStorage，將這兩個連線設定，指到雲端上的某一個儲存體即可!&lt;/p&gt;  &lt;p&gt;&amp;lt;add name=&amp;quot;&lt;font color=&quot;#ff0000&quot;&gt;AzureWebJobsDashboard&lt;/font&gt;&amp;quot; connectionString=&amp;quot;DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx /&amp;gt;    &lt;br /&gt;&amp;lt;add name=&amp;quot;&lt;font color=&quot;#ff0000&quot;&gt;AzureWebJobsStorage&lt;/font&gt;&amp;quot; connectionString=&amp;quot;DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx /&amp;gt;&lt;/p&gt;  &lt;p&gt;6. 最後，將專案Compiler,並且直接執行進行測試，可看到執行起來的結果如下，偵測到ProcessMethod方法開始執行，然後根據自訂邏輯每10秒執行一次功能，輸出counter到畫面中。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGcz-HDS2uAXPWG81VYB0W9SE6Jswp7-PJG_F3sA3VuO3JiLjxn3dPbVgqZFrRJ1DgGu3OmEiY9e8POeLJEmKL3fZR4L2r7VB_bG35rC_-2okjk-9Ybtkls7ykxw4Li3ItvJwGS2HSI8U/?imgmax=800&quot; width=&quot;669&quot; height=&quot;181&quot; /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/8306742850313275368/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/8306742850313275368' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/8306742850313275368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/8306742850313275368'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2016/09/create-azure-webjob-using-c-c-azure.html' title='Create Azure WebJob using C# (使用C#開發 Azure WebJob 執行背景工作)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpOwDr5-IEJlQ0FcTDf77JSmIgFp1mUWxwFeEU3Mj3aepcznbqlnGlPu3sZMPwJqHp2MdoMDPP0eBy14x95Gh4MUF3RBj3Fqb0Xlm1OxJYwbgqhLuW8jgBvdvfLps33QaYKxrfrL3D0-g/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-4020594795210226468</id><published>2015-09-04T00:01:00.001+08:00</published><updated>2015-09-04T00:01:16.379+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint 2103 Folder or File Limit Lenght (SharePoint文件庫中檔案或資料夾的長度限制)</title><content type='html'>&lt;p&gt;在SharePoint 2013的文件庫或是清單中，有一些比較常見的限制，例如：Item : 30,000,000 per list…等等，但是說明中並沒有列出文件庫的資料夾或是檔案的長度限制，而這邊實際測試的結果，當資料夾(包含巢狀式結構)的長度大於260的話，就無法繼續新增下去!&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;SPFolder&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;SPFolder&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEngdL81CnDEAiuVn7zUQZQRoTZcofYY9VfSOUle3_fw0rqG6M-mY8Ci9u_u24Lblc3DNUY62g7B-fiy8MoN9x-s0QcYGZxmu6D1yYDEkM9CtBpq6-LkudwIwkLhlfTl1OFE0TXK0rPQ/?imgmax=800&quot; width=&quot;502&quot; height=&quot;274&quot; /&gt;&lt;/p&gt;  &lt;p&gt;檔案同樣也是，在巢狀式結構中，檔案名稱所對應的路徑假設大於260的話&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;SPFile&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;SPFile&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgysyAc90VMJh48jPAUQ9W3dfHfP8Yly93yWkdpf9SvoNjodcy2Hz7aGA2orQAS_KsjyFCYnz5Gw2vIpbo6t1wju4frRc9RoF1voRPTcfxjBPc9a2nu3yUw4p8ELhKrB_jYbQCs540Hp2Y/?imgmax=800&quot; width=&quot;617&quot; height=&quot;433&quot; /&gt;&lt;/p&gt;  &lt;p&gt;參考資料：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://technet.microsoft.com/en-us/library/cc262787.aspx&quot;&gt;Software boundaries and limits for SharePoint 2013&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/4020594795210226468/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/4020594795210226468' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4020594795210226468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4020594795210226468'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/09/sharepoint-2103-folder-or-file-limit.html' title='SharePoint 2103 Folder or File Limit Lenght (SharePoint文件庫中檔案或資料夾的長度限制)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEngdL81CnDEAiuVn7zUQZQRoTZcofYY9VfSOUle3_fw0rqG6M-mY8Ci9u_u24Lblc3DNUY62g7B-fiy8MoN9x-s0QcYGZxmu6D1yYDEkM9CtBpq6-LkudwIwkLhlfTl1OFE0TXK0rPQ/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-753173011143592550</id><published>2015-09-02T11:40:00.001+08:00</published><updated>2015-09-02T11:40:45.110+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="RMS"/><title type='text'>Office使用RMS發生The operation being requested was not performed because the user has not been authenticated.</title><content type='html'>&lt;p&gt;當使用Office文件，嘗試使用Word 然後想要去使用RMS執行限制存取，可以在檔案--&amp;gt;資訊--&amp;gt;保護文件—&amp;gt;限制存取—&amp;gt;連線至數位版權管理伺服器&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8vU-6bxwKUMofL3iMZAIFefRnFu9pP1lMVhyLSKaV6O5IchZajwZ5DgeWMT88GlsaeCOrXExv-335hyphenhyphenlmjW7vxdXeJcPkOdAER4ONyQCXBHa76YnSOUcyh4y0ql2lOQNSP8J4jlhgxY/?imgmax=800&quot; width=&quot;598&quot; height=&quot;500&quot; /&gt;&lt;/p&gt;  &lt;p&gt;但發生了以下的錯誤訊息：The operation being requested was not performed because the user has not been authenticated.&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWJgDLo034CSMfugn8sKu0nAILNG76OPZGMfocjnMTrsD7WtAwFolQfBy8KEb3rZMmbtgAsfNeX603xkGnQcud63hARBtMFRrkCooT9ILh1VsWO7oL8M4n9m7bP35niSjnBcVuTjmx-lk/?imgmax=800&quot; width=&quot;443&quot; height=&quot;159&quot; /&gt;&lt;/p&gt;  &lt;p&gt;解決問題的方式為將此RMS的授權和驗證的WS路徑，加入到瀏覽器的Local Intranet Zone中即可!&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKR1MMl4j47KP3l0BR-Eiu9FfttrhjHeMXu_A0HGqzOqP858pOXqH1Z-jszhFlLhH3eTfBVTa7Y0GUWFlDpSso9FhAv3E5JIHt3fguZgyauLvSwvPBHJ-8mOrUBjtFN5DoUFHzPTCSXKw/?imgmax=800&quot; width=&quot;348&quot; height=&quot;306&quot; /&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/753173011143592550/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/753173011143592550' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/753173011143592550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/753173011143592550'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/09/officermsthe-operation-being-requested.html' title='Office使用RMS發生The operation being requested was not performed because the user has not been authenticated.'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY8vU-6bxwKUMofL3iMZAIFefRnFu9pP1lMVhyLSKaV6O5IchZajwZ5DgeWMT88GlsaeCOrXExv-335hyphenhyphenlmjW7vxdXeJcPkOdAER4ONyQCXBHa76YnSOUcyh4y0ql2lOQNSP8J4jlhgxY/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-8536482959918551488</id><published>2015-09-01T17:49:00.001+08:00</published><updated>2015-09-01T17:49:50.516+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint How to avoid restart Application pools when use Update-SPSolution (SharePoint 使用Update-SPSolution時避免啟動Application pools on IIS)</title><content type='html'>&lt;p&gt;開發好的SP客製化專案(以WebPart為例來說)，封裝完成為WSP，在SharePoint部署上去之後，假設需要更新的話，可以使用Update-SPSolution 指令來進行WebPart的更新，指令參考如下：&lt;/p&gt;  &lt;p&gt;Update-SPSolution -Identity MyWP.wsp -LiteralPath D:\MyWP.wsp –GACDeployment&lt;/p&gt;  &lt;p&gt;但是此時會遇到一個問題，假設我們一開始是把此WebPart部署到SharePoint-80這一個WebApplication，但是當執行Update-SPSolution時，系統並不會只是單純的SharePoint-80單一Web Application Restart，而是會預設將此Server上所有的Application Pool全部進行：停止—&amp;gt;啟用，如下圖所示：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSURqnw5qajdBX_okk-xbzuBgDIDC1laxSEJt5O-x3nHW5vFXw1aBjN7HLfnFFcCK4lBFoDbWhjZ_jxrOBjcAVZFt2_IrQRtxLvWJNjPvM7VUF0V5GFFDB_dHohpu_AR0IlujvyghhgwU/?imgmax=800&quot; width=&quot;335&quot; height=&quot;240&quot; /&gt;&lt;/p&gt;  &lt;p&gt;原因是因為所有預設開發專案並且封裝WSP時，有一個封裝屬性：ResetWebServerModeOnUpgrade預設值是：StartStop，此時將會影響所有此Server上的Web Application連帶影響其他的應用程式! &lt;/p&gt;  &lt;p&gt;那麼該如何來解決執行Update-SPSolution時避免去重新啟動所有的Application Pool呢? 執行步驟如下：&lt;/p&gt;  &lt;p&gt;1. 開啟客製化的專案，開啟專案中的Package.Template.xml&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjllX98-w00CJaRSapgEwwGtM53DVIuRKFtgbPxkKl1wehPpB101m1B9rfDsnyAtwdik0UrUw1WDom9xW7ps6FKlyzj-8V7DoAFQBJxOlo3GgPgE_cK97qBJz93NomYctVglDMil8br2wU/?imgmax=800&quot; width=&quot;214&quot; height=&quot;111&quot; /&gt;&lt;/p&gt;  &lt;p&gt;2. 設定以下三個屬性值：ResetWebServer=&amp;quot;FALSE&amp;quot; 、ResetWebServerModeOnUpgrade=&amp;quot;Recycle&amp;quot; 、DeploymentServerType=&amp;quot;WebFrontEnd&amp;quot;，如下圖所示：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhpN4SZZHep-4KlpH_A-Hw4nsK_H4uI7eem7UHF9ec9OLWdlQThAB4s3kaI4IeBwFk8YASd65c1kitmKghzlBAWMw87qjqSSWSYSlTJ-NW8j5qFJfFNnuu4Nze8yVtFoDzYTrGXcHBHPw/s1600-h/image9%25255B3%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgecKGL9fEOA36fbsrwYGJSm0ZEiVlOpRXH88bm3MPlr2k4XKQi0FMJK4uhMe6O2s2HVL3IrN-ouCJ5f6Q7DVK7W4ALaXIaK0uACYwBWIJhFT0FQb0909XXFXtl7NozluidhtqoKC9JpEM/?imgmax=800&quot; width=&quot;464&quot; height=&quot;146&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. 此時重新打包封裝，並且針對更新後的WSP進行部署! &lt;/p&gt;  &lt;p&gt;Update-SPSolution -Identity MyWP.wsp -LiteralPath D:\MyWP.wsp –GACDeployment&lt;/p&gt;  &lt;p&gt;此時就可以IIS檢視，可以發現執行Update-SPSolution並不會將Application Pool停止了! Good!&lt;/p&gt; &lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirLpOW14IWLg4okeqyPhcK8qkZky2zMmiX41f62BVnDKwoM7Vpfed41Gk3i0-vJUXpVTchfkk15w1chpyWLLTIgGz-DklbU3z2GlxZaQyMi2ieAW83VIX_XM_k6w4DxRVLctdJYbOIzuo/?imgmax=800&quot; width=&quot;338&quot; height=&quot;235&quot; /&gt;   &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;參考資料：&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;https://msdn.microsoft.com/en-us/library/ms412929.aspx&quot; href=&quot;https://msdn.microsoft.com/en-us/library/ms412929.aspx&quot;&gt;https://msdn.microsoft.com/en-us/library/ms412929.aspx&lt;/a&gt;     &lt;br /&gt;&lt;a title=&quot;http://blog.mastykarz.nl/optimizing-deploying-sharepoint-packages-minimize-impact-farm-availability/&quot; href=&quot;http://blog.mastykarz.nl/optimizing-deploying-sharepoint-packages-minimize-impact-farm-availability/&quot;&gt;http://blog.mastykarz.nl/optimizing-deploying-sharepoint-packages-minimize-impact-farm-availability/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/8536482959918551488/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/8536482959918551488' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/8536482959918551488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/8536482959918551488'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/09/sharepoint-how-to-avoid-restart.html' title='SharePoint How to avoid restart Application pools when use Update-SPSolution (SharePoint 使用Update-SPSolution時避免啟動Application pools on IIS)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSURqnw5qajdBX_okk-xbzuBgDIDC1laxSEJt5O-x3nHW5vFXw1aBjN7HLfnFFcCK4lBFoDbWhjZ_jxrOBjcAVZFt2_IrQRtxLvWJNjPvM7VUF0V5GFFDB_dHohpu_AR0IlujvyghhgwU/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-7747675560027706426</id><published>2015-08-13T16:46:00.001+08:00</published><updated>2015-08-13T16:46:00.411+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint 2013 Custom Search MySite Note (在SharePoint中搜尋MySite注意事項)</title><content type='html'>&lt;p&gt;這兩天在寫客製化Custom Search API，需求是去搜尋MySite的People資料，且Profile資料中有自訂的欄位，不過一直遇到一個問題就是：明明Profile欄位建立，也設定了Search的Metadata，但是結果就是搜尋不到!&lt;/p&gt;  &lt;p&gt;因此去查詢Search的編目紀錄檔，發現有一個Warning，點進去一看&lt;/p&gt;  &lt;p&gt;咦! MySite不在編目範圍中?? (註：開發環境是朋友建立的，因此一開始並不清楚預先的設定)&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHsGAzwcVyKYFnr_JO4rv_kxJd1U_kImAYAbdzkIbSeY27U2hF1eFJk_hi9O6M86X3zCN0xh-t2T-lHX8ArJ-CBW83aeaeDakNEdk29npQqqMRFjW-URQhtICQUU6IgMv2QDau1jDjduY/?imgmax=800&quot; width=&quot;587&quot; height=&quot;198&quot; /&gt;&lt;/p&gt;  &lt;p&gt;也就是說，MySite的SiteCollection下目前不在編目範圍中，因此回到MySite的網站設定—&amp;gt;搜尋—&amp;gt;搜尋與離線可用性&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiklP87V4Vgl9EKWT30uEaZjbOWlB7-3LhCQ8F2LmCW31LsV7HpgRqPjCIifDDjw6R5c9jCWNb5uw0k21jPvAHMu_oC2-xPhJb_cP1En93RPhmpIXLYhy03lArCs9cOYn7S98VAey1lpI8/?imgmax=800&quot; width=&quot;189&quot; height=&quot;170&quot; /&gt;&lt;/p&gt;  &lt;p&gt;將&amp;quot;是否允許此網站顯示在搜尋結果中&amp;quot;改設定為：是!! &lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglCqnezogFvEyZ_Iqmx5PiC_RGzUQDzCUBhaWqZJWJ4wLsI0sKDH84a3z29EythgOOBcAG0YipZRJJqijboo0Co5kO-cayeKewrFuB10PX8wvZznBPd29iB8onAwoCRkAcTSm_EdHp5bY/?imgmax=800&quot; width=&quot;521&quot; height=&quot;158&quot; /&gt;&lt;/p&gt;  &lt;p&gt;再回到Search重新Craw一次，上述的警示訊息就不見了，且搜尋的項目結果，也抓到了，雖然是一個小小的設定，但是因為是在MySite的網站中，所以大概稍微紀錄一下這次的Issue。&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXW9J5RVvodMlRImstItw4vtmcyg90mcM21Pe3iylCYq3Y3HZ8J6l-tvgKBlbd64rg6lOUc7qCvH_8MkF1DkVPacjzSrx0QuI25PUHNxH9QKswC_KFE-IqneCT3LCFnS4ZcZLo2HgRrA4/s1600-h/image%25255B24%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0LFwZiRQDloqARi-jrWb_NqTB_473XpPXs_AwIsNO1MGIWzZi_xDprKOKbop9Ezis5MN1qgcWXL2lUnECnIpsOI_gjcNYz2Hx2m1khaHGhGQnvZtGeJbR0ETxYY-ellM4YTrJ4Ug6104/?imgmax=800&quot; width=&quot;648&quot; height=&quot;309&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4S70vYAKBgLyl43xT_4jFiBeex8_zxjER7ZNUY8EoRpW9L8PrXBi5IJldrDNlTW-Et4rDzvYHQ9TFdx8CvKLE9Igfn5Na1MKiO7dkqM-EeLBI5SoHgunX5E-Lx743qGU7WReO7UBYsHs/s1600-h/image%25255B25%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVSEM2C-leQ-MolQBkk9WV3e4IO7x1riDrFP2JitNTLkddGTjXIz_9YBfZbbn7QMjZ-xk3feMZtULEy23olkrcLZhyiYKn6GTMge2Lh2JTGdoq9WtxEWp3UxFUlpwG4aGnVK3T4X3TM_E/?imgmax=800&quot; width=&quot;648&quot; height=&quot;309&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/7747675560027706426/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/7747675560027706426' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7747675560027706426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7747675560027706426'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/08/sharepoint-2013-custom-search-mysite.html' title='SharePoint 2013 Custom Search MySite Note (在SharePoint中搜尋MySite注意事項)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHsGAzwcVyKYFnr_JO4rv_kxJd1U_kImAYAbdzkIbSeY27U2hF1eFJk_hi9O6M86X3zCN0xh-t2T-lHX8ArJ-CBW83aeaeDakNEdk29npQqqMRFjW-URQhtICQUU6IgMv2QDau1jDjduY/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-693198535153670852</id><published>2015-06-17T14:52:00.000+08:00</published><updated>2015-07-20T02:52:58.008+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Adding a Feature Event Receiver and Deploying Debugging SP Projects(SharePoint新增Feature事件接收器以及進行專案偵錯)</title><content type='html'>&lt;p&gt;這一篇的內容主要是介紹在SharePoint的webpart專案中，在其Feature中加入事件接收器，並在這些事件中去撰寫程式去改變網站中的一些資訊，例如：title、logo之類的做法。&lt;/p&gt;  &lt;p&gt;另外，也介紹的如何針對SharePoint客製化專案進行程式碼的偵錯，就讓咱們的一起來複習一下囉!!!&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/iw8FkWF-xVM&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/693198535153670852/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/693198535153670852' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/693198535153670852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/693198535153670852'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/06/adding-feature-event-receiver-and.html' title='Adding a Feature Event Receiver and Deploying Debugging SP Projects(SharePoint新增Feature事件接收器以及進行專案偵錯)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/iw8FkWF-xVM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-6393050800758646279</id><published>2015-06-03T16:46:00.000+08:00</published><updated>2015-07-20T02:47:22.208+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Using Visual Studio to creating a SharePoint Project(使用vs.net建立sharepoint專案)</title><content type='html'>&lt;p&gt;基本上亞當斯教了這麼多年的SharePoint開發課程，從SharePoint 2003客製化開發，一直到現今的SharePoint 2013客製化開發，算一算玩微軟SharePoint這產品，已經正式邁入第十個年頭了。&lt;/p&gt;  &lt;p&gt;這麼多年來，幾乎每一年都有進行SharePoint客製化開發教學，事實上現在的網路資訊很發達，隨處可找到相關的資料，不過，如果是自學者可能會想說：是否有step by step的教學? 這樣學習是否更方便呢? &lt;/p&gt;  &lt;p&gt;沒錯，基於此想法，亞當斯將以往一些基礎的教學過程，曾經有部分錄製下來，接下來就在這個blog分享給有興趣的朋友，內容的話都是一些我曾經上課教過的東西，如果有曾經上過課的學員有看到這幾篇影片，也可以算是複習一下囉!!&lt;/p&gt;  &lt;p&gt;使用VS.NET 建立 sharepoint 開發專案：&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/0IPFnzn1dD8&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/6393050800758646279/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/6393050800758646279' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6393050800758646279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6393050800758646279'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/06/using-visual-studio-to-creating.html' title='Using Visual Studio to creating a SharePoint Project(使用vs.net建立sharepoint專案)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/0IPFnzn1dD8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-1736712114533142827</id><published>2015-05-20T18:05:00.000+08:00</published><updated>2015-07-20T03:06:12.716+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 10</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第十點的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;10. Failure to Restrict URL Access：應用程式敏感地區是被保護的Links或是URLs，而這些是不會提供給未被授權的使用者。這也容易讓攻擊者利用這項弱點進入，並進行未被授權的行為。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/q08FJTeHv5g&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/1736712114533142827/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/1736712114533142827' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/1736712114533142827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/1736712114533142827'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/05/owasp-top-10-demo-10.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 10'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/q08FJTeHv5g/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-4602475350903322696</id><published>2015-05-20T03:23:00.000+08:00</published><updated>2015-07-20T00:25:34.135+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Different User Can View Different Ribbon in SharePoint(SharePoint 根據不同的使用者權限檢視不同的Ribbon功能項)</title><content type='html'>&lt;p&gt;通常在實際的專案需求上，SharePoint Ribbon上的功能並不是全部都開放給全部的使用者可以操作，有時候因為不同權限的關係，或是公司內部ERP上的整合，甚至企業HR人事的架構不同，都希望可以每個不同的使用者進來瀏覽SharePoint 之後，可以有不同的Ribbon可以操作。&lt;/p&gt;  &lt;p&gt;但是預設SharePoint Ribbon是統一開放給使用者，因此若是想要根據不同的使用者權限檢視不同的Ribbon功能項的話，那麼該如何來設計了？以下為實作：&lt;/p&gt;  &lt;p&gt;1. 因為每一個Page的Ribbon控管可能都不同，因此這邊使用WebPart放置到頁面來啟用此效果，先建立一個視覺化的網頁組件：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image001&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image001&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6e19DZhk09A_ijg-ZKUJZaVX1gC86N7ZzbTY8TMc7vER1T2As7fkN4RcAqiZlAv8XqwTnt5HoIdjSNLblDQX5Q52IOpqQ5RHMoHRP1mjASmqvOZLLlGHNkbsIm3_96X_GlyGl-8uu5TA/?imgmax=800&quot; width=&quot;245&quot; height=&quot;262&quot; /&gt;&lt;/p&gt;  &lt;p&gt;2. 先來看一下&lt;a href=&quot;http://sharepoint/default.aspx&quot;&gt;http://sharepoint/default.aspx&lt;/a&gt;瀏覽的畫面，在Ribbon的部分如下圖所示，一般的使用者若是沒有特別的控管，那麼可以檢視以下的「編輯」和「管理」的功能：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image003&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image003&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu6rxLpnpKDfT2_UhRzWVNqaHjWvXwyAky9kwOkHwkcv8ksaF6Tw5OgOpKBSkSxD9hWUbH6s_0CU6Pyb4haj8YzrjTYcFD8kbDy8rT0y0BlZuaOx88bsgJChBOD-tB-QQhf_f95a8SBBM/?imgmax=800&quot; width=&quot;558&quot; height=&quot;189&quot; /&gt;&lt;/p&gt;  &lt;p&gt;3. 在RibbonWebPartUserControl.ascx.cs的Page_Load加入以下程式碼，透過SPRibbon取得目前的Ribbon物件之後，再透過叫用TrimById的方法將某些Ribbon控制項隱藏：&lt;/p&gt;  &lt;p&gt;protected void Page_Load(object sender, EventArgs e)   &lt;br /&gt;{    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; SPRibbon currentRibbon = SPRibbon.GetCurrent(this.Page);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; if (currentRibbon != null)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if (SPContext.Current.Web.CurrentUser.Name.ToLower() ==     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;quot;netdb\\administrator&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; currentRibbon.TrimById(&amp;quot;Ribbon.WebPartPage.Edit&amp;quot;);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; else if (SPContext.Current.Web.CurrentUser.Name.ToLower() ==     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;quot;netdb\\adams&amp;quot;)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; currentRibbon.TrimById(&amp;quot;Ribbon.WebPartPage.Manage&amp;quot;);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }    &lt;br /&gt;}&lt;/p&gt;  &lt;p&gt;4. 使用NETDB\Administrator登入&lt;a href=&quot;http://sharepoint/default.aspx&quot;&gt;http://sharepoint/default.aspx&lt;/a&gt;，點選頁面的Ribbon可得到以下的畫面：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image004&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image004&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgihVN2PFw-sqeNT88KjNwT_3y3QWqABFW5AHY7mG94hiMKKMCH-2TcmRpecVf_pup0guazO7zwzZ98VCLId9hjjjDn3GGic_0MRbXLaG74vSCjKmclBPVKxjnQAzmryNVydOqnz3bPdsw/?imgmax=800&quot; width=&quot;499&quot; height=&quot;215&quot; /&gt;&lt;/p&gt;  &lt;p&gt;5. 使用NETDB\Adams登入&lt;a href=&quot;http://sharepoint/default.aspx&quot;&gt;http://sharepoint/default.aspx&lt;/a&gt;，點選頁面的Ribbon可得到以下的畫面：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image005&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image005&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJNhRua7a_LIlnIwZbB-0DxLqVHJro7a1nXDokmDv0kyJIAX5xhZadsBLmjp4iweBYGt9n5-Zt3pVRdFarkarOQ5UIwSlOfmMevDE_qX7k9vef-hpYrhxcKqNO1iRqd-N1lDPnFD6c-aU/?imgmax=800&quot; width=&quot;524&quot; height=&quot;219&quot; /&gt;&lt;/p&gt;  &lt;p&gt;6. 比較第2步驟、第4步驟和第5步驟的畫面，可以得知根據不同的使用者在Ribbon控制項的功能會跟隨著異動，而有不同的顯示。&lt;/p&gt;  &lt;p&gt;最後，那麼在程式碼中SPRibbon的TrimById(“xxx”)方法中的參數到底要放哪一個值？這個才是重點，其實要放的值為Ribbon上那個控制項的ClientID，這些ID有非常的多，主要的依據要參考以下文件：C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML\CMDUI.XML中的定義，大概的XML結構如下(這邊只擷取部分畫面)：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image007&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image007&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhglSz-faO6T2FWIPWEX3AFHacGwMjyxsLFP932mayL_QL3qQDSUZ4J00Qwv3bwCP86R0rIJz0OMFov9MSdtFuiMaOMP83jobZgHHEeEMytxwTG-_Qx-LA4n6OpYz0HDtk7yPs58lMQ7L4/?imgmax=800&quot; width=&quot;554&quot; height=&quot;130&quot; /&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/4602475350903322696/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/4602475350903322696' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4602475350903322696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4602475350903322696'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/05/different-user-can-view-different.html' title='Different User Can View Different Ribbon in SharePoint(SharePoint 根據不同的使用者權限檢視不同的Ribbon功能項)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6e19DZhk09A_ijg-ZKUJZaVX1gC86N7ZzbTY8TMc7vER1T2As7fkN4RcAqiZlAv8XqwTnt5HoIdjSNLblDQX5Q52IOpqQ5RHMoHRP1mjASmqvOZLLlGHNkbsIm3_96X_GlyGl-8uu5TA/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-1542866338457120427</id><published>2015-04-10T01:36:00.000+08:00</published><updated>2015-07-20T01:36:33.134+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><title type='text'>ASP.NET ReportViewer Repeat Column Headers</title><content type='html'>&lt;p&gt;我們在前一篇文章中：&lt;a title=&quot;http://ms-net.blogspot.tw/2015/04/aspnet-using-reportviewer-control-to.html&quot; href=&quot;http://ms-net.blogspot.tw/2015/04/aspnet-using-reportviewer-control-to.html&quot;&gt;http://ms-net.blogspot.tw/2015/04/aspnet-using-reportviewer-control-to.html&lt;/a&gt; 有介紹到使用ReportViewer控制項設計報表的基本入門方式，剛好就有朋友另外問我有關頁首和頁尾的使用方式，因此我在這列出其中有兩項的解決方式：    &lt;br /&gt;1. 報表中加頁首和頁尾    &lt;br /&gt;2. 讓報表Table的欄位可以出現在每一頁的最上方&lt;/p&gt;  &lt;p&gt;請參考以下的做法：   &lt;br /&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/pndvLcWUQwg&quot; frameborder=&quot;0&quot; width=&quot;560&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/1542866338457120427/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/1542866338457120427' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/1542866338457120427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/1542866338457120427'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/04/aspnet-reportviewer-repeat-column.html' title='ASP.NET ReportViewer Repeat Column Headers'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/pndvLcWUQwg/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-7712874087735836423</id><published>2015-04-08T23:04:00.000+08:00</published><updated>2015-07-20T03:04:39.547+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 8</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第八點的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;8. Insecure Cryptographic Storage：網路應用程式很少正常使用cryptographic functions來保護資料，使得攻擊者有機可乘並冒用其他使用者身份，進行其他犯罪行為，如盜刷信用卡等。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/jtYDXVo87cg&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/7712874087735836423/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/7712874087735836423' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7712874087735836423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7712874087735836423'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/04/owasp-top-10-demo-8.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 8'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/jtYDXVo87cg/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-741903567479656618</id><published>2015-04-01T07:30:00.000+08:00</published><updated>2015-07-20T01:31:22.485+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><title type='text'>ASP.NET Using ReportViewer Control to Design Report(使用ASP.NET中的ReportViewer控制項設計報表)</title><content type='html'>&lt;p&gt;之前有朋友問我，要在asp.net上使用類似報表的方式在網頁上呈現料資料結果，到底是使用Crystal Report 或是自己寫程式使用GridView比較好? 事實上，端看需求而言，假設要做到像Crystal Report 這樣的功能，那麼自己刻UI畫面一定是比要累的，其實在ASP.NET中有一個ReportViewer控制項還蠻好用的。&lt;/p&gt;  &lt;p&gt;以下我將ReportViewer控制項有關Print的做法，寫成一個sample code範例，有興趣的朋友可以參考一下範例程式碼檔案，我放在以下網址：&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;https://www.dropbox.com/s/duonhayz0gz6xd9/PrintWeb.7z?dl=0&quot; href=&quot;https://www.dropbox.com/s/duonhayz0gz6xd9/PrintWeb.7z?dl=0&quot;&gt;https://www.dropbox.com/s/duonhayz0gz6xd9/PrintWeb.7z?dl=0&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;另外，我也把簡單的教學開發方式，錄製成步驟放在以下的URL：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=eMy0IhY_SNM&quot;&gt;https://www.youtube.com/watch?v=eMy0IhY_SNM&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/eMy0IhY_SNM&quot; frameborder=&quot;0&quot; width=&quot;560&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/741903567479656618/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/741903567479656618' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/741903567479656618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/741903567479656618'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/04/aspnet-using-reportviewer-control-to.html' title='ASP.NET Using ReportViewer Control to Design Report(使用ASP.NET中的ReportViewer控制項設計報表)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/eMy0IhY_SNM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-3450720220653938337</id><published>2015-03-31T03:01:00.000+08:00</published><updated>2015-07-20T03:01:57.478+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 7</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第七點的弱點，做一些簡單的說明和示範，這一個範例是亞當斯的前輩miles所提供的，所使用的方式就是使用c#自己寫HttpRequest去存取指定的網頁，並將利用程式取回的網頁內容HTML進行解譯，並取得一些特殊格式資料：&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/sgaFD0IkVv0&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/3450720220653938337/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/3450720220653938337' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3450720220653938337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3450720220653938337'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/03/owasp-top-10-demo-7.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 7'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/sgaFD0IkVv0/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-4925376885097459098</id><published>2015-03-25T02:56:00.000+08:00</published><updated>2015-07-20T02:57:29.551+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 6</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第六點的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;6. Information Leakage and Improper Error Handling：應用程式可能洩漏關於程式的configuration訊息，程式內部的運轉模式，或者透過多種應用問題違犯隱私。攻擊者利用這個程式弱點侵犯隱私，或者更進一步的攻擊。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/t_XS2m14mU4&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/4925376885097459098/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/4925376885097459098' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4925376885097459098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/4925376885097459098'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/03/owasp-top-10-demo-6.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 6'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/t_XS2m14mU4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-5110209044034773177</id><published>2015-03-20T18:34:00.000+08:00</published><updated>2015-07-20T02:34:32.341+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 5</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第五點的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;5. Cross Site Request Forgery（CSRF）：CSRF攻擊強迫受害者登入的瀏覽器傳輸pre-authenticated request 給有弱點的網路應用程式，接著強迫受害者瀏覽器執行對攻擊者有好處的的行為。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/E6TYok5dr8g&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/5110209044034773177/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/5110209044034773177' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/5110209044034773177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/5110209044034773177'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/03/owasp-top-10-demo-5.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 5'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/E6TYok5dr8g/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-506801458743588537</id><published>2015-03-20T01:17:00.000+08:00</published><updated>2015-07-20T01:18:59.166+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>How to Hidden OverwriteFile on DiscussionBoard Upload Page in SharePoint</title><content type='html'>&lt;p&gt;在SharePoint 的討論區清單中，當使用者新增一個討論主題的時候，可以在編輯內容時，使用Ribbon上的插入選項，新增欲上傳的檔案：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image002&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image002&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHd-2fcIwB_S_pKPwaE3BuOp5bCgRULMXxgp91Huz0w3-cCmTHfh62s7slTIZH9NGEkEu9gT8q4oxnbz0MMnzzIhbCLHK34PD6ewLi4hkdkz9jOtEcgHeXKrvVY0cPWyJNvGxz5w1sxp0/?imgmax=800&quot; width=&quot;554&quot; height=&quot;441&quot; /&gt;&lt;/p&gt;  &lt;p&gt;以下是按下上傳功能時的畫面，但是因為同一個網站中的所有討論區都可以讓使用者上傳文件至指定的清單，這時候會產生一個問題，當不同的討論區上傳檔案時，檔名為相同時就會預設將前一個使用者上傳的文件覆蓋掉。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image003&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image003&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCMp-qnf0aRn-fAPe2GKPVXBo5nN-LCULBZrzQ8KnbaAlXhDl5uV8_PradSZ1vAO_U5lw_FTl4W-EK7CuW9wUPYa9z8sh0GxtHd63vS4CqoxmsNOtaFAdG3xJfc2BcVMwqEFqCRwyUal8/?imgmax=800&quot; width=&quot;399&quot; height=&quot;206&quot; /&gt;&lt;/p&gt;  &lt;p&gt;舉個例子：不同的討論區中發表主題時，上傳同一個檔名至：網站資產，此時勾選「複寫現有的檔案」，就會將之前的檔案直接覆寫掉，並且在本文中持續加入新檔案參考：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image005&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image005&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5d9x4qensh7ROL1N8DEqs9YA9IGhVEuoPiU7O45pVQq_0yMYDPezrSdBfS1_muUN6vmX8O8g4E7PkjJcEZTMwyY1etE-SyTdoTxdzK7oRm9ON0ZLEzCYkSZBjDCc9cWy8x4P6gce15gs/?imgmax=800&quot; width=&quot;554&quot; height=&quot;440&quot; /&gt;&lt;/p&gt;  &lt;p&gt;那麼如果不勾選「複寫現有的檔案」，就會有以下的訊息提示使用者。&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image006&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image006&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKmfSI7H44t4nkKySRU3UpMEQ92x9f4Tcw3-1wu51-zu4lnkGP6Skjt0UMLaqJP__UDtV74xp4pN9jPs5RJdMyIeacP09bZBzLi05yc4SskXNa5bDfxnoXckoIJhgBAypJzHmNgucXnzo/?imgmax=800&quot; width=&quot;400&quot; height=&quot;209&quot; /&gt;&lt;/p&gt;  &lt;p&gt;有些情境因為考量到不讓使用者可以自行勾選「複寫現有的檔案」，因此必須將「複寫現有的檔案」選項設定為不顯示，並且預設是不勾選，該如何完成此需求呢? 執行步驟如下：&lt;/p&gt;  &lt;p&gt;1. 找到C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS下的RteUploadDialog.aspx&lt;/p&gt;  &lt;p&gt;2. 進入編輯模式，找到&lt;/p&gt;  &lt;p&gt;&amp;lt;asp:CheckBox id=&amp;quot;OverwriteFile&amp;quot; Checked=&amp;quot;true&amp;quot; Text=&amp;quot;&amp;lt;%$Resources:wss,upload_document_overwrite_file%&amp;gt;&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;3. 修改為以下的設定：&lt;/p&gt;  &lt;p&gt;&amp;lt;asp:CheckBox id=&amp;quot;OverwriteFile&amp;quot;&lt;b&gt; Checked=&amp;quot;&lt;font color=&quot;#ff0000&quot;&gt;false&lt;/font&gt;&amp;quot; Visible=&amp;quot;&lt;font color=&quot;#ff0000&quot;&gt;false&lt;/font&gt;&amp;quot;&lt;/b&gt; Text=&amp;quot;&amp;lt;%$Resources:wss,upload_document_overwrite_file%&amp;gt;&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;4. 重新新增討論主題並上傳文件，可以檢視畫面已被修改：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image003[7]&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image003[7]&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPtR9tQdyYF55riy4sxBDbu5Q6WM8fh6SoS7Gx4mmujhF6SNN2K1KHFfZToOZBu4k5tMcsthyphenhyphenUuGwTHEtnQ8lvIy7zH-J1KJG6ISmX__UJWqvSGXtVnNHAz_6jSnuv3kZAVkE0OGPZEz4/?imgmax=800&quot; width=&quot;400&quot; height=&quot;185&quot; /&gt;&lt;/p&gt;  &lt;p&gt;5. 針對相同的清單上傳已存在名稱的文件時，將預設會判斷已存在，不得重複上傳，如下圖所示：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;clip_image004&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;clip_image004&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQlaPwEskwxrWeIMNve6NgcDp1yLmP4W2CjjRcccmkKF1U9mw5bYSh7VM4L7IEQJrEu8JilPkxdUHcNGzluITerWOgIYM6KkTLE9XNh7WdD80F8X6xv0HUFIQrcASTqCVEQ1VvH5_YP_E/?imgmax=800&quot; width=&quot;400&quot; height=&quot;188&quot; /&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/506801458743588537/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/506801458743588537' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/506801458743588537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/506801458743588537'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/03/how-to-hidden-overwritefile-on.html' title='How to Hidden OverwriteFile on DiscussionBoard Upload Page in SharePoint'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHd-2fcIwB_S_pKPwaE3BuOp5bCgRULMXxgp91Huz0w3-cCmTHfh62s7slTIZH9NGEkEu9gT8q4oxnbz0MMnzzIhbCLHK34PD6ewLi4hkdkz9jOtEcgHeXKrvVY0cPWyJNvGxz5w1sxp0/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-7240719588122854430</id><published>2015-02-27T22:31:00.000+08:00</published><updated>2015-07-20T02:33:05.052+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 4</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對第四點的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;4. Insecure Direct Object Reference：Direct object reference發生的原因是因為開發者暴露了reference to an internal implementation object，像是檔案、檔案夾、或資料庫的record，或是key，來作為URL或是Form的參數。攻擊者可藉由操作這些references擅自進入其他objects中。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/R31wSD7QWAE&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/7240719588122854430/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/7240719588122854430' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7240719588122854430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/7240719588122854430'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/02/owasp-top-10-demo-4.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 4'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/R31wSD7QWAE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-5753940576398214706</id><published>2015-02-20T02:30:00.000+08:00</published><updated>2015-07-20T02:31:09.411+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 3</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對各種不同的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;3. Insecure Remote File Include：有弱點的程式碼讓攻擊者可附加惡意程式及資料，甚至導致毀滅性的攻擊，例如整個伺服器被入侵。   &lt;br /&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/sbdALhnkFK4&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/5753940576398214706/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/5753940576398214706' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/5753940576398214706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/5753940576398214706'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/02/owasp-top-10-demo-3.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 3'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/sbdALhnkFK4/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-6633472938192682629</id><published>2015-02-13T02:29:00.000+08:00</published><updated>2015-07-20T02:29:30.196+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 2</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對各種不同的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;2. Injection Flaws ：在網路應用程式，SQL Injection裡很常見。Injection之所以會發生，是因為使用者提供的資料傳輸到一個interpreter，此被當成指令（Command）或是查詢（Query）。攻擊者就能用惡意的資料欺騙interpreter，而達到執行指令或是竄改資料的目的。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/hq6kixeBh0Q&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/6633472938192682629/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/6633472938192682629' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6633472938192682629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6633472938192682629'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/02/owasp-top-10-demo-2.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 2'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/hq6kixeBh0Q/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-3528467686476862043</id><published>2015-02-06T02:27:00.000+08:00</published><updated>2015-07-20T02:27:36.500+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><category scheme="http://www.blogger.com/atom/ns#" term="Security"/><title type='text'>OWASP TOP 10 十大網路應用系統安全弱點 Demo 1</title><content type='html'>&lt;p&gt;OWASP Top 10 主要目的，是將最常見的網路應用系統安全弱點列出，並提供基本的方法保護防止這些弱點，是軟體開發安全計劃最好的開始。&lt;/p&gt;  &lt;p&gt;以下針對各種不同的弱點，做一些簡單的說明和示範：&lt;/p&gt;  &lt;p&gt;1. Cross Site Scripting（XSS）：當應用程式未將使用者提供的資料先審核或進行內容編碼，就直接將資料傳輸到網路瀏覽器，即可能發生XSS問題。XSS能讓攻擊者直接在受害者的網路瀏覽器上執行Script，攻擊者便可以hijack user sessions、或竄改網站內容等。&lt;/p&gt;  &lt;p&gt;&lt;iframe height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/7AlvXd1OfkQ&quot; frameborder=&quot;0&quot; width=&quot;420&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/3528467686476862043/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/3528467686476862043' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3528467686476862043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3528467686476862043'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/02/owasp-top-10-demo-1.html' title='OWASP TOP 10 十大網路應用系統安全弱點 Demo 1'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/7AlvXd1OfkQ/default.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-996828647638735991</id><published>2015-01-23T19:10:00.000+08:00</published><updated>2015-07-16T19:14:31.883+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET篇"/><title type='text'>.NET Call SAP/RFC by Visual Basic &amp;amp; VS.NET(sample code)</title><content type='html'>&lt;p&gt;多年前寫了一篇文章： &lt;a href=&quot;http://ms-net.blogspot.tw/2010/02/net-call-saprfc-by-visual-basic-vs2010.html&quot;&gt;.NET Call SAP/RFC by Visual Basic &amp;amp; VS2010&lt;/a&gt; ，使用.net code去跟sap連結&lt;/p&gt;  &lt;p&gt;因為當初寫完並沒有提供sample code，因此在留言的地方有很多朋友可能都會遇到一些問題，剛好最近在整理NB裡面的資料，因此就把當初所寫的範例程式碼分享出來，希望對需要的朋友有所幫助，當初是使用VS2010開發的，但目前來說應該是沒啥影響!! &lt;/p&gt;  &lt;p&gt;以下是sample code download的超連結，分別有c#版和vb版! &lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;https://www.dropbox.com/s/jwe4oeue6gd8x8m/DemoSAP.7z?dl=0&quot; href=&quot;https://www.dropbox.com/s/jwe4oeue6gd8x8m/DemoSAP.7z?dl=0&quot;&gt;https://www.dropbox.com/s/jwe4oeue6gd8x8m/DemoSAP.7z?dl=0&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;檔案解壓縮密碼是：sap&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/996828647638735991/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/996828647638735991' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/996828647638735991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/996828647638735991'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2015/01/net-call-saprfc-by-visual-basic.html' title='.NET Call SAP/RFC by Visual Basic &amp;amp; VS.NET(sample code)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-3976899776800053733</id><published>2014-10-22T01:41:00.001+08:00</published><updated>2014-10-22T01:41:26.538+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>有關Sandboxed Solution在單機開發環境上的錯誤-An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0</title><content type='html'>&lt;p&gt;先說明一下，遇到這問題的情況，因為最近在準備新的課程教材，因此安裝設定一個SharePoint 2013的開發環境，而這個環境是所謂的All-in-One開發環境，也就是：Windows 2012 + DC +&amp;#160; IIS +SharePoint 2013 + SQL Server 2012 + VS2012… 全部都安裝在同一個VM上。&lt;/p&gt;  &lt;p&gt;理論上來說這些不同的Service在正式SharePoint環境上其實都是分開機器安裝的 ，因此，在測試Sandboxed Solution的時候，單純的新增一個WebPart，然後選擇使用Sandboxed Solution部署，部署完成之後，當此WebPart要加入至網頁中，就出現了以下的錯誤訊息：An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiekMt-hdHdm8nQT8UlqWenVLPQSml_Pyahklnh84YpQ2M7LhE0ZgQGG4VMvOc5UBEVuQ3veLM8iYhIHIsv5_FHMKCWPX_59v_Rqkcxu1IXAF6f_kz6p0vtONkQzNM5nc55lMuQTcxVVfg/?imgmax=800&quot; width=&quot;469&quot; height=&quot;164&quot; /&gt;&lt;/p&gt;  &lt;p&gt;針對這個問題，查了ULS LOG，也上網找了一些相關的討論，目前得到的結果是：在Windows 2012環境上假設將DC 和 SharePoint 等服務全部裝在一起的話，Sandboxed Solution就不Support.&lt;/p&gt;  &lt;p&gt;不過，高手還是很多的，以下有找到一篇文章有暫時的解決方案，原文在此：&lt;a title=&quot;http://spvee.wordpress.com/2013/08/14/sandboxed-solution-on-sharepoint-2013-with-domain-controller-worked/&quot; href=&quot;http://spvee.wordpress.com/2013/08/14/sandboxed-solution-on-sharepoint-2013-with-domain-controller-worked/&quot;&gt;http://spvee.wordpress.com/2013/08/14/sandboxed-solution-on-sharepoint-2013-with-domain-controller-worked/&lt;/a&gt; ，&lt;font color=&quot;#ff0000&quot;&gt;重點：設定Sandboxed Code Service Log 啟用Verbose. &lt;/font&gt;不過印象中假設OS是Windows 2008 R2就沒有這問題。對我來說，因為這種All-In-One的環境本來就是開發測試用的，不大有機會拿來當客戶的正式機使用，因此以下的解決方式就可以解決使用Sandboxed Solution的專案了!!!!&lt;/p&gt;  &lt;p&gt;設定步驟如下：&lt;/p&gt;  &lt;p&gt;1. 首先至管理中心 –&amp;gt; Monitoring –&amp;gt; Configure diagnostic logging&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfR3DeI8U34xey_ySfJ-30DQZFBL2HPlGTFKfwqeyYTFEkd2ARCi8LK7yD0NTzg7XyBHnJcAafX_LgglcSPepaEQ2kcx56X6iHSdYU5_l1PcHPdVpcGs46lIUcwKWSAogkDJ7sWrtUPww/?imgmax=800&quot; width=&quot;686&quot; height=&quot;265&quot; /&gt;&lt;/p&gt;  &lt;p&gt;2. 找到SharePoint Foundation下的Sandboxed Code Service，勾選Sandboxed Code Service之後，畫面移至下方，然後Least critical event to report to the trace log這個選項，選擇：Verbose，按下OK!!&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg58DQIql4voRkOvVUl2JXKtDgNt60sYUBK1f6HwvpgXTJDFzSZl6S8AaELhFWtdM3NnaWlKA7IJaVdxdGYxEiqSyr24brGa0EXGZNhedQPv2tXUEm6JpkmJaxagyDQhfW0FCpSST45fns/?imgmax=800&quot; width=&quot;287&quot; height=&quot;106&quot; /&gt;&lt;/p&gt;  &lt;p&gt;3. Sandboxed Code Service 其 Trace Level設定為Verbose.&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr6XzgcCjtl4YEmmQdTjU5tzHi3cXMLyYuqnyv21CIaraLICbPAc6D-2MatSRiiwZ6kS7nm9CZgJy4H-jOzqIQrb6MnR8dbzeG50nZS54zidw7D9k7dFMp0LSfUUOj9tVB_UeeT8bexbg/s1600-h/image%25255B29%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmQs7n48i4dUoRqzB3odFank2Wyx2CcHv7rddSkJn2iVk9qgC9IGB00LPGvOd3aNMpysIwWyBJl-_CWp1OCc8RVvTvLFZfofN5NpDHyqTe4Z76A0ArZORQHV4noC4puCHxiM19b0OWsuQ/?imgmax=800&quot; width=&quot;599&quot; height=&quot;30&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. 回到網頁，將Sandboxed 的WebPaer重新加入網頁中，成功了!!&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZkUZphcJOuuVhPcgJo2cYtmm9r8WF6Yr_U7qCwC8fGvtJFiJ3xxVQqfS1m1zQ4yOZKkYiVtyZz8nd5jN3DZRiSexDbOB6ro1Wz5wW9xnFfjTL7lS4i5o0B4LNSOMrVa82p4A4icKrbtI/s1600-h/image%25255B34%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY6drlzbLwOSGuLqKhVFY8eM8-5ynzsE4lvczNN-ZBQx4yf_m0pA9PKWGAGaB5jG5p29LD1NSjPYzYrkKAJm7UK7EsWxZBIa-uugqziJx63L4rCISN2isXvWa2kjFzNmWOwmEy2sZ9YKY/?imgmax=800&quot; width=&quot;309&quot; height=&quot;83&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;以上唯一要擔心的是，因為log是設定為Verbose，因此所有Sandboxed 的全部資訊都會記錄至Log中，對硬碟的空間耗用會比較大，因此Log的使用就要稍微小心一些唷!&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/3976899776800053733/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/3976899776800053733' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3976899776800053733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/3976899776800053733'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2014/10/sandboxed-solution-unknown-exception.html' title='有關Sandboxed Solution在單機開發環境上的錯誤-An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiekMt-hdHdm8nQT8UlqWenVLPQSml_Pyahklnh84YpQ2M7LhE0ZgQGG4VMvOc5UBEVuQ3veLM8iYhIHIsv5_FHMKCWPX_59v_Rqkcxu1IXAF6f_kz6p0vtONkQzNM5nc55lMuQTcxVVfg/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-6859876700323593172</id><published>2014-09-28T15:11:00.001+08:00</published><updated>2014-09-28T15:11:07.867+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint 2013 JavaScript Runtime Error – RegisterSod is undefined</title><content type='html'>&lt;p&gt;開發這麼久的SharePoint 昨天第一次遇到這個錯誤訊息：SharePoint 2013 JavaScript Runtime Error – &#39;RegisterSod&#39; is undefined，錯誤的畫面如下：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdbDDf2-ge12hk38upXhQSqLbUO9Jb4Zq4_7fyOW9RY2z8wdT6UzMCR7UiBVjL7mHSyXld4sWsorjFsvG8RNTZxvyhob2yoOrgkBaYbIUyIBSuwbhZfSiOitICYbZLcAFEvIvTdXtjBNQ/s1600-h/image%25255B36%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlT24IV9KX-vXZ1TzRpAwSO0HkS465MIteSFItbyavjfa4C0t_ms0TmEPb3tRALbtcUf3lYza9hrSnapy06fhKuRlgGiwe_jG4OLiEgv5jpmpYN2LwrFnpxrBbCCHz9KTtIF-y9I3-m7o/?imgmax=800&quot; width=&quot;557&quot; height=&quot;316&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;先來說說我的開發步驟，其實步驟是很單純的：&lt;/p&gt;  &lt;p&gt;1. 使用VS2012建立一個App的專案，然後設定欲部署的Site Url，如下：&lt;a href=&quot;http://xxxxxx/sites/appHost&quot;&gt;http://xxxxxx/sites/appHost&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibYx0PMF5QwXM_fnNarmLc2py9wKTScCm7pQ3IppRoB5CPr8i8kR2IndpMp4710JG_4UCrz8q26GGqL-wJXM14bWaVqWu0aQkKw7Yf6eGfJ-fdQzvweoCbjDpc0TxCsAs7aeGGsHdfyOs/s1600-h/image%25255B39%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Kut53t4TeoGQVvf-L7wCPl08RkgZDYnmTfqTdg8zri7ZjDTHx_3uNYZQKD5V5i61MQT2XS9q3vAaIJpkddHjYk7CTnZ-WDuBZbxZ37GZFguSAr9PYG6L0vrObXG5RQOP1vEWWJ-W0RU/?imgmax=800&quot; width=&quot;371&quot; height=&quot;250&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. 然後…就直接F5部署啦! 這時就出現了以上的錯誤訊息：JavaScript Runtime Error – RegisterSod is undefined&lt;/p&gt;  &lt;p&gt;那麼問題到底在哪? &lt;font color=&quot;#ff0000&quot;&gt;答案就&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;是SharePoint 2013上Site Collection可能尚未設定 “根路徑Site Collection (Root Site Collection)”。&lt;/font&gt;&lt;/p&gt; &lt;font color=&quot;#ff0000&quot;&gt;&lt;/font&gt;  &lt;p&gt;以下是我目前的環境上的Site Collection，我在建置Site Collection時是直接使用sites路徑建立的，因此並未建立所謂的根路徑Site Collection：&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhos3zO2utTdziEAVAfjqOkf7punQ4lUPCeBdautxnuyR6jM_4ysvXYMKbKBU28rQrAEmHMr8wNvF45mvL__ZrOd0VaNXugKRmDGSI2P0tPGDI-XWAPIHlJYSFIrpAducbz8a3puqDyj7w/s1600-h/image%25255B43%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA2QsbB1GDuMf4SFu_LyXSHLtG_o9o3ZWaqkbewsru0B8aqG36pIPQYaY_cBZUIJKu0f7w_Y9bqAIuieWsNQQRpZJIu1UArmNuwxYA6W1aBVhYP8OZG0sfHNS0UUBPa21IIRTNHfBVecs/?imgmax=800&quot; width=&quot;372&quot; height=&quot;253&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;在SharePoint 2010以往的開發部署過程中，並不需要去考量Site Collection的設定以及建置關聯，因為在SharePoint 2010是開發Server OM，因此直接部署就可以WORK! 但是在SharePoint 2013 App卻不行，SharePoint 2013 App 會用到大量的Client Script，因此在執行時會預先載入一堆的Client Script，而此時路徑相對的就很重要。&lt;/p&gt;  &lt;p&gt;因此&lt;font color=&quot;#ff0000&quot;&gt;解決的方式就是先直接建立一個根路徑Site Collection，以下畫面中的 / 就是建立根路徑的Site Collection&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHeSo24w4ZwJHnwuhXI8Hwk9_aOj94sZ6XO8wmOsTTZ0PuJRwja0qP6mdhDd-eIjs4YeYNEVayoLRqUxHNBh_QNB56vU-X-fNr1WdESHNMWOmcNMUhkKQIWWwYuWyS-ZBLeiFGAvtNomw/s1600-h/image%25255B47%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKGHNbWVKua7jK06tt2jtL0UM2GGUSVyRJ3seoev33ttg-3YlyI68YdTMMGnCgjxZGzxfuZTdYWZ5R8Y9PLSI6vm3wOqQnxt_rNsxCrSyp_Nt9KRNbO-IIM5kHy6bSNN4_51eKhmH0CHs/?imgmax=800&quot; width=&quot;376&quot; height=&quot;273&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;然後我們在部署一次APP看看!!成功了!!&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfzuA22QUPCkMQwY8VOBjMiibApQaMt3EcXS4Q2gi5u4WPwcbiO2oeNRZFHC9hTjbSF9Twtgxe2ZISZzwBtt6so8tHaC-yXGcIbyyVClSAfp5r32ueQyNKulH9Bz9O1Kr-WEbYoH8faKo/s1600-h/image%25255B50%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdIh9ALZZka4PTxLNLnBIC9BLcOVgxHymI7uV4-05Du5A1rSQa2Fx66VTxfey2g4H7NN_v9qoPJ3wzgBb2IosXjG4cPVAi5V2QIPe5UXSP22xkIWSGWygQ4aM6HlpjINwLrSo412q85y4/?imgmax=800&quot; width=&quot;368&quot; height=&quot;207&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;其實Google了一下，發現有很多人都遇到相同的問題! MSDN論壇上也有很多人在討論，以下有相關問題說明：   &lt;br /&gt;&lt;a title=&quot;http://algrandi.azurewebsites.net/index.php/sharepoint-2013-error-registersod-is-undefined/&quot; href=&quot;http://algrandi.azurewebsites.net/index.php/sharepoint-2013-error-registersod-is-undefined/&quot;&gt;http://algrandi.azurewebsites.net/index.php/sharepoint-2013-error-registersod-is-undefined/&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/6859876700323593172/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/6859876700323593172' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6859876700323593172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/6859876700323593172'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2014/09/sharepoint-2013-javascript-runtime.html' title='SharePoint 2013 JavaScript Runtime Error – RegisterSod is undefined'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlT24IV9KX-vXZ1TzRpAwSO0HkS465MIteSFItbyavjfa4C0t_ms0TmEPb3tRALbtcUf3lYza9hrSnapy06fhKuRlgGiwe_jG4OLiEgv5jpmpYN2LwrFnpxrBbCCHz9KTtIF-y9I3-m7o/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8006724255930921548.post-9071601951155742858</id><published>2013-11-11T14:38:00.000+08:00</published><updated>2014-03-31T14:39:56.990+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>Custom Access SharePoint User Profile Service Application (客製化存取ShaePoint的User Profile Service Application)</title><content type='html'>&lt;p&gt;SharePoint有一個User Profile Service Application服務，用來識別帳戶的相關資訊，當安裝SharePoint時，假設帳戶是來自AD的話，那麼也可以將AD中所設定的帳戶資料，直接同步至SharePoint 的User Profile Service Application中，後續使用者就可以直接在SharePoint中編輯這些資訊。&lt;/p&gt;  &lt;p&gt;那麼，假設我們想要設計一些維護介面，或是客製化應用程式去存取User Profile Service Application的話，該怎麼做了? 以下步驟說明開發方式：&lt;/p&gt;  &lt;p&gt;1. 首先我們先建立一個SharePoint專案，接著在此專案中加入對應的dll組件&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;1&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;1&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5g5QzUvfzvVopTPrSSi9Ee2AdCrz3SD9ruvSuPaKNjJf8QETrrKi5wOTBAvRtMrFqrnOMMSzBfKpNH3AsQvLfAGi2DGEF1rT2lMx2sAgVMjQErVBxuYi8AcLgSDEY_oC9tzoe4QZo_JY/?imgmax=800&quot; width=&quot;468&quot; height=&quot;383&quot; /&gt;&lt;/p&gt;  &lt;p&gt;2. 新增一個ApplicationPage.aspx用來測試功能，新加入控制項：一個按鈕；一個ListBox&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;3&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;3&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZVFZbjT7KfNmMijOfnMxFfWr7qhn72EZb-w6GPwQB15UrXaMBWQ8eNAtVudBdlboPyItI02a8kyy2QOiWrsk2VLiiDsFmhxav5il40SlwaT3KqgX22QHM9o22hpoAInuKJpSTsmLnc-4/?imgmax=800&quot; width=&quot;597&quot; height=&quot;84&quot; /&gt;&lt;/p&gt;  &lt;p&gt;3. 切換至.cs中，先匯入欲使用的Namespace&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;2&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;2&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijn8Iar20G2Q_FdXhaNH7LGnFPPeRhgCMG_C_Onqsm9fUp6Dze-HqdMZ1ahiEFErIItNW0sIo2YYBccPB4uh3K4-84CDU5xAJOa9tr1j84Jh38pEhz7vVKIoMabR4XRhnqZbjs3ygv2Wk/?imgmax=800&quot; width=&quot;306&quot; height=&quot;65&quot; /&gt;&lt;/p&gt;  &lt;p&gt;4. 在Page_Load中使用UserProfileManager物件載入相對應的Profile，並且我們取出AccountName、WorkEMail、PersonalSpace等屬性資料呈現：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;4&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;4&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYBAecBL6l9zmeNv_LgbCofUP19VkhbQqHhmCSXwU-cuhJ536PwxyxxaI35nFhZrUlIz3XJJ8jiDr50GKhdVWUx3-6SMBiBUUwIM3WSGcbN02M-rVSjm6prZdHWmpgEV8ZIbdOule6c8A/?imgmax=800&quot; width=&quot;537&quot; height=&quot;389&quot; /&gt;&lt;/p&gt;  &lt;p&gt;5. 先看一下執行的結果，如下圖所示，在ListBox中會寫出目前在網站中有使用Profile的資料：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;7&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;7&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiJA9srXjduzzXGkGjy0iJ-tXGaMbb5XWN3cR-oszMx9GpGrpqp1q6lKx55KV6MywPbljD0a3uJ_nVJ18SOFJb6UmI6lHfNX5xPsw3oEJq4E89iuOpkOmoiAcs-g75xjJB0tHj9QCt8hs/?imgmax=800&quot; width=&quot;446&quot; height=&quot;91&quot; /&gt;&lt;/p&gt;  &lt;p&gt;6. 取出Profile資料後，接著我們亦可撰寫更新Profile的程式碼，在按鈕的Click事件中，撰寫如下的程式碼，透過Web.CurrentUser.LoginName取得目前登入的使用者帳號，然後當作參數丟給UserProfileManager的GetUserProfile方法，即可取得目前登入者的Profile物件，最後更新Profile時記得要呼叫Commit方法：&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;5&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;5&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi03mTCXKZv_tu5XBGX2nXQ6RAKurGF0z0lcTE-n15r7koM1_eloIU0ELq0vGo1TCvlL6Ty_vd2B6sCropYxdxVMlaFakHvaWtgS4g8e0N_GA3HavY8dg_4CYKzIWPxXUH1xvuJUcv7iGQ/?imgmax=800&quot; width=&quot;479&quot; height=&quot;228&quot; /&gt;&lt;/p&gt;  &lt;p&gt;7. 執行結果，使用LauraG登入，且按下按鈕後，EMail就會被更新了&lt;/p&gt;  &lt;p&gt;&lt;img title=&quot;7&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;7&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbSM5POKq8SPE3gV2KPzUIFP9nPFiz0xM_CWdsiwLi9RO0dkciA3h__-uKy_KLXUaW_7Z44iI-p2yRvdJVBUPlBNvSP1jnLwsovbjoy8At1a1rNVYR0XnLotW7nzB4FYoL2gziMOP88yQ/?imgmax=800&quot; width=&quot;446&quot; height=&quot;91&quot; /&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://ms-net.blogspot.com/feeds/9071601951155742858/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8006724255930921548/9071601951155742858' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/9071601951155742858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8006724255930921548/posts/default/9071601951155742858'/><link rel='alternate' type='text/html' href='http://ms-net.blogspot.com/2013/11/custom-access-sharepoint-user-profile.html' title='Custom Access SharePoint User Profile Service Application (客製化存取ShaePoint的User Profile Service Application)'/><author><name>亞當斯(Adams)</name><uri>http://www.blogger.com/profile/09679007289731771586</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='20' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjma8MxdbNFxqK9lU7qljoGkVpgRNnWqGp0-P0hsoVVl6m8ZBw9Wjkm2Aycg53sO1ydPwKhW_nxcy4p8wThleSXgx1gAT6WH__1eHNgIfPciFm41BoIbYKtkTz1u9ewACw/s220/MVPLogo.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5g5QzUvfzvVopTPrSSi9Ee2AdCrz3SD9ruvSuPaKNjJf8QETrrKi5wOTBAvRtMrFqrnOMMSzBfKpNH3AsQvLfAGi2DGEF1rT2lMx2sAgVMjQErVBxuYi8AcLgSDEY_oC9tzoe4QZo_JY/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry></feed>