Forum Discussion

noorulahmed's avatar
noorulahmed
Copper Contributor
Sep 27, 2023
Solved

Does Sharepoint Server Subscription Edition Support Managed Modules

Hi,

I am trying to add a managed module to Sharepoint Application in IIS using the link "Add Managed Module". However, I am receiving the following error when I try to add or modify managed modules.

 

---------------------------
Add Managed Module
---------------------------
There was an error while performing this operation.

Details:

Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\57ae2802\38a0cd2e\2ppklip5.cmdline".

 

Any idea if managed modules are supported by Sharepoint server. If it is then how can I add to the SP site.

Thanks

  • Hi noorulahmed,

    Yes, SharePoint Server Subscription Edition supports managed modules. However, there are a few things to keep in mind:

    • Managed modules can only be added to SharePoint web applications that are running in .NET Framework 4.6.1 or higher.
    • Managed modules cannot be added to SharePoint central administration.
    • Some managed modules may not be compatible with SharePoint Server Subscription Edition. It is important to test any managed modules before adding them to your production environment.
     
     

    To troubleshoot the error message "Cannot execute a program. The command being executed was 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe' /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\57ae2802\38a0cd2e\2ppklip5.cmdline'", you can try the following steps:

    1. Make sure that the managed module is compatible with SharePoint Server Subscription Edition. You can check the compatibility of the managed module by checking the documentation for the managed module.
    2. Make sure that the managed module is compatible with the .NET Framework version that is running on your SharePoint server. Managed modules can only be added to SharePoint web applications that are running in .NET Framework 4.6.1 or higher.
    3. Try restarting your SharePoint server. This can sometimes resolve minor issues with managed modules.
    4. Try adding the managed module using a different user account. If you are using a non-administrator account, try adding the managed module using an administrator account.
    5. Try adding the managed module to a different SharePoint web application. If you are able to add the managed module to a different SharePoint web application, then the issue may be with the original web application.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

3 Replies

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi noorulahmed,

    Yes, SharePoint Server Subscription Edition supports managed modules. However, there are a few things to keep in mind:

    • Managed modules can only be added to SharePoint web applications that are running in .NET Framework 4.6.1 or higher.
    • Managed modules cannot be added to SharePoint central administration.
    • Some managed modules may not be compatible with SharePoint Server Subscription Edition. It is important to test any managed modules before adding them to your production environment.
     
     

    To troubleshoot the error message "Cannot execute a program. The command being executed was 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe' /noconfig /fullpaths @"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\57ae2802\38a0cd2e\2ppklip5.cmdline'", you can try the following steps:

    1. Make sure that the managed module is compatible with SharePoint Server Subscription Edition. You can check the compatibility of the managed module by checking the documentation for the managed module.
    2. Make sure that the managed module is compatible with the .NET Framework version that is running on your SharePoint server. Managed modules can only be added to SharePoint web applications that are running in .NET Framework 4.6.1 or higher.
    3. Try restarting your SharePoint server. This can sometimes resolve minor issues with managed modules.
    4. Try adding the managed module using a different user account. If you are using a non-administrator account, try adding the managed module using an administrator account.
    5. Try adding the managed module to a different SharePoint web application. If you are able to add the managed module to a different SharePoint web application, then the issue may be with the original web application.


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

    • noorulahmed's avatar
      noorulahmed
      Copper Contributor

      Hi LeonPavesic 

      At this stage, I have not specified any module yet. I am going to the IIS and simply clicking "Add Managed Module" on the Sharepoint site link and it is giving me this error:

       

       

      I have the latest .NET version installed.

       

      When I try to add it to non-sharepoint sites, it works fine.

       

      Thanks

      • LeonPavesic's avatar
        LeonPavesic
        Silver Contributor

        Hi noorulahmed,

        This error message can occur for a number of reasons, but the most common reason is that the managed module is not compatible with SharePoint Server Subscription Edition.

        It is also possible that the managed module is not compatible with the .NET Framework version that is running on the SharePoint server.

        To troubleshoot this error message, please try the following steps:

        1. Make sure that the managed module is compatible with SharePoint Server Subscription Edition. You can check the compatibility of the managed module by checking the documentation for the managed module.
        2. Make sure that the managed module is compatible with the .NET Framework version that is running on the SharePoint server. Managed modules can only be added to SharePoint web applications that are running in .NET Framework 4.6.1 or higher.
        3. Try restarting the SharePoint server. This can sometimes resolve minor issues with managed modules.
        4. Try adding the managed module using a different user account. If you are using a non-administrator account, try adding the managed module using an administrator account.
        5. Try adding the managed module to a different SharePoint web application. If you are able to add the managed module to a different SharePoint web application, then the issue may be with the original web application.


        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.


        If the post was useful in other ways, please consider giving it Like.


        Kindest regards,


        Leon Pavesic
        (LinkedIn)

Resources