Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A list of issues seen setting up the CSmart CSMART extension project.

Project will not load in Visual Studio

If the MarineLMSExtensions.Web.Main project does not load, open the Output window: View > Output or Ctrl + Alt + o

...

Reload the project again in the solution explorer to resolve.

Deploy-app.bat Fails and Closes the cmd Prompt

Sometimes, running src\MarineLMSExtensions.Web.Main\Support\deploy-app.bat fails and closes the cmd prompt window.

Follow the steps below to fix that:

  1. Delete all folders \src\MarineLMSExtensions.Web.Main\App\csmartv4\node_modules\webpack* and \src\MarineLMSExtensions.Web.Main\App\csmartv4\node_modules\@webpack-cli
    Alternatively, remove the whole folder \src\MarineLMSExtensions.Web.Main\App\csmartv4\node_modules

  2. Open a new cmd prompt (run as admin) and switch to folder src\MarineLMSExtensions.Web.Main

  3. Execute npm update inside \src\MarineLMSExtensions.Web.Main\App\csmartv4\ folder

  4. Rerun src\MarineLMSExtensions.Web.Main\Support\deploy-app.bat

Extensions Service won’t start

There could be a number of reasons your extensions service won’t start. Check Application in the Event Viewer for errors.

IoCSetup::Shutdown[MarineLMS-Ext-Service] - Error: Service registration failed for address

Open a command prompt as Administrator and run the following command:

sc.exe config NetTcpPortSharing start= demand

Try again to start the extensions service.