Taritsyn / LibSassHost

.NET wrapper around the LibSass library with the ability to support a virtual file system.
Apache License 2.0
82 stars 11 forks source link

Conflict of using multiple sites in one application pool #30

Closed khourshed closed 5 years ago

khourshed commented 6 years ago

hi! I use libsasshost as handler for .scss files. It workes fine until I deployed second website in the same application pool (integrated mode). After 5-10 minutes, or when I change one of the partial .scss file (from "import" section of main .scss file), I get following error:

Object reference not set to an instance of an object.

2018-08-14 2 53 07

When I set second website to different app pool, everything is ok.

I use Custom descendant of VirtualPathProvider for website filesystem.

Architecture of our system assumes of using one app pool for multiple sites. Is there any solution for our problem?

Taritsyn commented 6 years ago

Hello!

Thanks for information! This problem will require serious research.

Taritsyn commented 6 years ago

Hello!

Try to upgrade to version 1.2.0 Beta 1.

Taritsyn commented 5 years ago

Hello!

In version 1.2.0 fixed this error.

khourshed commented 5 years ago

Hi! Thank you! It works.