Skip to end of banner
Go to start of banner

CSMART Extensions Troubleshooting

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Version History

« Previous Version 4 Next »

A list of issues seen setting up the 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

Right click the MarineLMSExtensions.Web.Main in the solution explorer and attempt to reload the project.

If the following error is seen in the Output window:

C:\coredev\src\MarineLMSExtensions.Web.Main\MarineLMSExtensions.Web.Main.csproj : error  : The imported project "C:\coredev\src\packages\Microsoft.Bcl.Build.1.0.8\tools\Microsoft.Bcl.Build.targets" was not found. Confirm that the expression in the Import declaration "..\packages\Microsoft.Bcl.Build.1.0.8\tools\Microsoft.Bcl.Build.targets" is correct, and that the file exists on disk.  C:\coredev\src\MarineLMSExtensions.Web.Main\MarineLMSExtensions.Web.Main.csproj

Place the following zip in your C:\coredev\src\packages\ folder:

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\node_modules\webpack* and \src\MarineLMSExtensions.Web.Main\node_modules\@webpack-cli
    Alternatively, remove the whole folder \src\MarineLMSExtensions.Web.Main\node_modules

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

  3. Execute npm update

  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.

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.