Posts

Learning GIT

Setting up a repository Version Controlling with Git in Visual Studio Code and Azure DevOps

Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list

In my project, I use the newest Net Core 2.2, but I got the error: HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list My Web.Config <?xml version="1.0" encoding="utf-8"?> <configuration>   <location path="." inheritInChildApplications="false">     <system.webServer>       <handlers>         <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule V2 " resourceType="Unspecified" />       </handlers>       <aspNetCore processPath=".\xxx.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout">         <environmentVariables>           <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />         </environmentVariables>       </asp...

Quick Start: NVDA

Common Keys Start NVDA: Ctrl+Alt+n or Start Menu/NVDAc NVDA key: Insert or Caps Lock NVDA Menu: NVDA + n Quit NVDA: NVDA + q Stop speech: Control Pause Speech: Shift Read current line: NVDA + Up Arrow Read next line: NVDA + Down Arrow Toggle browse/focus modes: NVDA + space Single Letter Navigation: h: heading 1 to 6: headings at levels 1 to 6 respectively Browse mode elements list (show available action list): NVDA + F7 https://www.nvaccess.org/files/nvda/documentation/userGuide.html?#LaunchingNVDA Known Issues "Clickable Clickable Clickable …" Please note that NVDA has a well known issue or bug: Sometimes you might hear a lot of repeated speech “Clickable Clickable Clickable …”, very annoying: This is by design of NVDA. So good solution so far. You can turned of by pressing NVDA+n/Preferences/Settings/Document Formattting/Uncheck “Clickable”. For details, please refer to: User Group discussion: https://nvda.groups.io/g/nvda/topic/stopping_the...

My Tool: Using Gulp and Powershell to Automate File Uploading and Approval for SharePoint 2010

Usges Automate uploading all changed files to SharePoint c:\dev\wan\MyProject\gulp default or c:\dev\wan\MyProject\gulp spdefault Automate appoving all files in SharePoint c:\dev\wan\MyProject\gulp approveall Automate checking in all files in SharePoint c:\dev\wan\MyProject\gulp checkinall Automate checking out all files in SharePoint c:\dev\wan\MyProject\gulp checkoutall Note Please ensure Powershell version must be at least 4 ! ($PSVersionTable.PSVersion) To Map Network Drive, WebDAV must be installed (Server Feature/Desktop Experience/Restart Server, enable WebClient service) if the mapped drive Z: is not recognized in powershell or command line, please "net use Z: http://pre.dev.com " instead Please login to Z: first else copying will fail due to no access  Content of c:/dev/wan/MyProject/gulpfile.js // https://www.spdavid.com/use-gulp-and-npm-to-automate-2/ // For SP2013 and SP 2016: https://www.definitivelogic.com/2017/02/21/legacy-sharepoin...

SharePoint 2016: My Issues and Solutions

Image
Windows Server 2016: Fails to Ping Localhost Issue: ping localhost fails (ipv6 message were seen). Solution: Our system administrator ran Microsoft Fix to give preference to IPv4 over IPv6 https://support.microsoft.com/en-ca/help/929852/guidance-for-configuring-ipv6-in-windows-for-advanced-users SQL Server 2017: Fail to Open Configuration Manager Issue: Cannot connect to WMI provider Solution:  http://tritoneco.com/2014/05/15/fix-sql-configuration-manager-cannot-connect-to-wmi-provider The following command must be run as Administrator (140 is for SQL Server 2017): C:\Program Files (x86)\Microsoft SQL Server\140\Shared> mofcomp sqlmgmproviderxpsp2up.mof SharePoint 2016: Unable to Upload Multiple Documents Issue: When directly working on SP 2016 Server, no response when clicking on "Upload files using Windows Explorer instead" Solution: 1. Try to upload files on a client computer where WebClient service is available 2. If working on the SP Server, ple...

SharePoint 2016: Provider Hosted (High Trust) Development Environment Setup

Image
1. Setup of the Development Environment I mainly followed  Configure an environment to run your provider-hosted high trust apps in SharePoint 2013 , the best tutorial for beginners! Domains SharePoint Server: ssrpdap03 App domain (IIS site): ssrpdap03apps.com Test app site: myapp.ssrpdap03apps.com   DNS Primary Zone: ssrpdap03 (no need to set as it's already in corporate's DNS server) Primary Zone: ssrpdap03apps.com Host A record: Name=empty, IP=127.0.0.1 Alias CName record: Name=*, FQDN=ssrpdap03apps.com Preferred DNS Server for IPv4: 127.0.0.1 (no need to set 8.8.8.8.8 as Forwarders as corporate has default DNS Servers setting in Root Hints) Create SharePoint website https://ssrpdap03 Use Publishing site template Neither Developer site template nor side loading feature were necessarily installed Certificates https://ssrpdap03 I used C:\Users\wj\AppData\Local\Programs\Fiddler\makecert.exe makecert -n "C...

SharePoint 2016: Some Helpful Posts

Provider Hosted Configure an environment to run your provider-hosted high trust apps in SharePoint 2013 http://www.appzinside.com/2015/03/13/configure-an-environment-to-run-your-provider-hosted-high-trust-apps-in-sharepoint-2013/ Creating SharePoint Add-ins that use high-trust authorization https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/creating-sharepoint-add-ins-that-use-high-trust-authorization#RootAuthorities Apps in SharePoint https://blog.trigent.com/apps-in-sharepoint/   SharePoint2016 On Prem -SPFx HelloWorld App deployed to App Catalog but not appearing under "Apps You Can Add" #331 https://github.com/SharePoint/sp-dev-fx-webparts/issues/331 Dive into Sharepoint Caca   http://spcaca.blogspot.com/2013/10/create-on-premise-high-trust-provider.html  How to Create Host Named Site Collections in SharePoint 2013? http://www.sharepointdiary.com/2014/06/create-host-named-site-collections-in-sharepoint-2013.html Set up an on...