DotNetNuke.Services.Exceptions.ModuleLoadException: vbc : (0): error BC30138: Unable to create temp file in path 'C:\DOCUME~1\NCLEE\ASPNET\LOCALS~1\Temp\': Access is denied. ---> System.Web.HttpCompileException: vbc : (0): error BC30138: Unable to create temp file in path 'C:\DOCUME~1\NCLEE\ASPNET\LOCALS~1\Temp\': Access is denied. at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
HISTORY:
sirs, this error has been bugging me for 3 days now. I have a custom module. even if I commented everything up, it works, even printing out session variables that I got from parameters passed by a main portal. BUT, it occassionally fails! Module Load Warning....BUT sometimes it works! its like a kid playing peek-a-boo with me!!!
my module, automatically logs in a user from a previous portal and it works sooo fine (fooberichu thanks). and then, I added this module quizzing by markus warnking. after installing the module (the long messages stating success of loads of the different parts of the module), I click on 'return' and then guess what... a freakin' compilation error came out. and as I remember, it is the same as this one BC30138: Unable to create temp file in path 'C:\DOCUME~1\ASPNET\LOCALS~1\Temp\': Access is denied. then I added the module anyway into the page and it works well. and then, the succeeding times already rendered an error on the loading of my module... and another thing, my session variables are not printed anymore as expected....
any hunches? pls dont redirect me to warnking, I messaged him already and I'm looking for a good solution to this error. I've tried putting modify permissions to the ASPNET account in the TEMP folder as I saw in the net but nothing happened.... again it fluctuates, one time its ok, the next its not...please help!
John