We are currently migrating our web application in .Net Framework 4.8 to Azure. While running the code assessment we get the issue “Windows local system usage detected” in Aspose.Cells.dll. Is it possible to use Aspose.Cells without accessing the windows registry libraries? How to remediate this issue?
When migrating your web application to Azure and encountering the “Windows local system usage detected” issue with Aspose.Cells.dll, it’s important to note that Aspose.Cells is designed to be compatible with Azure environments. Users have successfully run Aspose.Cells in Azure Functions without encountering errors.
To address the specific concern about accessing Windows registry libraries, you should ensure that your application does not rely on any Windows-specific features or libraries that may not be available in the Azure environment. Here are some steps you can take to remediate the issue:
-
Review Dependencies: Check your project for any dependencies that might be accessing the Windows registry. Ensure that all libraries used are compatible with Azure.
-
Use Azure-Compatible Libraries: If you find that Aspose.Cells is indeed accessing Windows-specific features, consider using alternative libraries or methods that are designed to work in cloud environments.
-
Testing in Azure: Create a simple Azure Function or Web App to test the functionality of Aspose.Cells. This can help you identify if the issue is specific to your application or a broader compatibility issue.
-
Sample Code: If possible, share a minimal reproducible example of your code that triggers the issue. This can help in diagnosing the problem more effectively.
If you continue to face challenges, consider reaching out to Aspose support with detailed information about your implementation and the specific errors encountered.
Sources:
[1]: Compatibility of Aspose.cells with Azure AppServices