Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

Created Unassigned: System.InvalidOperationException: Compiling less caused a scripting host error. [1832]

$
0
0
Hello,

I receive the error detailed below when running Composite C1 on my Windows 2012 x64 Server. I installed via the web platform installer, and dont appear to have any sort of theme because of this error.

I have tried uninstalling and reinstalling the Composite.Web.Css.Less package, after another user had an error with this same package (just a few days ago). This has not resolved the issue. I restarted IIS for this site afterwards just to make doubly sure.

If you email me (mark@ascended.com.au) I'd be happy to provide the website and console login details available as this is a test install.

Server Error in '/' Application.

Compiling less caused a scripting host error.
fs.js:666
return binding.lstat(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\'
at Object.fs.lstatSync (fs.js:666:18)
at start (fs.js:1206:10)
at Object.realpathSync (fs.js:1194:3)
at tryFile (module.js:137:15)
at Function.Module._findPath (module.js:176:18)
at Function.Module._resolveFilename (module.js:329:25)
at Function.Module._load (module.js:273:25)
at Function.Module.runMain (module.js:490:10)
at startup (node.js:123:16)
at node.js:1027:3

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Compiling less caused a scripting host error.
fs.js:666
return binding.lstat(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\'
at Object.fs.lstatSync (fs.js:666:18)
at start (fs.js:1206:10)
at Object.realpathSync (fs.js:1194:3)
at tryFile (module.js:137:15)
at Function.Module._findPath (module.js:176:18)
at Function.Module._resolveFilename (module.js:329:25)
at Function.Module._load (module.js:273:25)
at Function.Module.runMain (module.js:490:10)
at startup (node.js:123:16)
at node.js:1027:3


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Compiling less caused a scripting host error.
fs.js:666
return binding.lstat(pathModule._makeLong(path));
^
Error: EPERM, operation not permitted 'C:\'
at Object.fs.lstatSync (fs.js:666:18)
at start (fs.js:1206:10)
at Object.realpathSync (fs.js:1194:3)
at tryFile (module.js:137:15)
at Function.Module._findPath (module.js:176:18)
at Function.Module._resolveFilename (module.js:329:25)
at Function.Module._load (module.js:273:25)
at Function.Module.runMain (module.js:490:10)
at startup (node.js:123:16)
at node.js:1027:3
]
Composite.Web.Css.Less.CompressFiles.CompressLess(String lessFilePath, String cssFilePath, DateTime folderLastUpdatedUtc) +631
Composite.Web.Css.Less.CssCompilationHttpModule.context_BeginRequest(HttpContext context) +808
Composite.Web.Css.Less.<>c__DisplayClass1.<Init>b__0(Object a, EventArgs b) +70
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18056

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>