Host không hỗ trợ Friendly Url

Lỗi:

Khi ASP.NET Web server không hỗ trợ chế độ FriendlyUrl

Khắc phục:

Comment tất cả các dòng trong RegisterRoutes(…) phương thức của lớp RouteConfig.cs

public static class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
//var settings = new FriendlyUrlSettings();
//settings.AutoRedirectMode = RedirectMode.Permanent;
//routes.EnableFriendlyUrls(settings);
}
}

Advertisements

Cannot execute a program. The command being executed was \roslyn\csc.exe

Gặp lỗi

Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
.
Parser Error Message: Cannot execute a program. The command being executed was “G:\PleskVhosts\website.com\httpdocs\bin\roslyn\csc.exe” /shared /keepalive:”10″ /noconfig  /fullpaths @”C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\4a4c810d\6d29243e\slpxwrhm.cmdline”.
Khắc phục
A simple solution for this issue is that removing Roslyn compiler plugin from your project and using old compiler. In order to remove Roslyn:
  1. Follow “Tools > NuGet Package Manager > Manage NuGet Packages for Solution” in Visual Studio
  2. Find “DotNetCompilerPlatform” and uninstall it

Error with Presenter 11 output HTML

Error with Presenter 11 output HTML

Please find the patch for Presenter 11 and Office 2016 HTML5 issue:

  • Download the zip file from drop box, unzip it and save the extracted Presenter.js file on your system.
  • https://www.dropbox.com/s/d3nsibl7kvdof6i/presenter.zip?dl=0
  • Now go to Presenter installation folder on your system depending upon the OS and PowerPoint architecture:
    • If your OS is 64-bit and PowerPoint is 64-bit, go to  “C:\Program Files\Adobe\Adobe Presenter 11.0\Templates\html”
    • If your OS is 64-bit and PowerPoint is 32-bit, go to  “C:\Program Files (x86)\Adobe\Adobe Presenter 11.0\Templates\html”
    • If your OS is 32-bit and PowerPoint is 32-bit, go to  “C:\Program Files\Adobe\Adobe Presenter 11.0\Templates\html”
  • Rename the existing Presenter.js file on your system to some other name like Presenter_old.js
  • Paste the newly extracted Presenter.js which you copied on your system in to the above mentioned respective location on your
    system.
  • Re-launch Presenter and again publish the courses you were facing issues with. Issue should be resolved

Source: https://forums.adobe.com/thread/2095706