Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error installing custom module in DNN 4.3.3Error installing custom module in DNN 4.3.3
Previous
 
Next
New Post
7/22/2006 12:56 AM
 

When installing any custom modules that will write files to [app_code] folder in the DNN 4.3.3 enviroment, I got the error below.  The same program can be installed without error on the DNN 4.3.2.  I verified that the Network Services account has full permission to the DotNetNuke folder.  Has anyone come accross this issue?

Thanks for reading this post.

ExceptionSystem.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Access to the path 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\kzo5dc8k.tmp' is denied. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config) ---> System.UnauthorizedAccessException: Access to the path 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\kzo5dc8k.tmp' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated() at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile) at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension) at System.Configuration.Internal.WriteFileContext..ctor(String filename, String templateFilename) at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext) at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext) at System.Configuration.UpdateConfigHost.OpenStreamForWrite(String streamName, String templateStreamName, Object& writeContext) at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll) --- End of inner exception stack trace --- at System.Configuration.MgmtConfigurationRecord.SaveAs(String filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll) at System.Configuration.Configuration.SaveAsImpl(String filename, ConfigurationSaveMode saveMode, Boolean forceSaveAll) at System.Configuration.Configuration.Save() at DotNetNuke.Common.Utilities.Config.AddCodeSubDirectory(String name) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()


Robert Tango
www.workcontrol.com
Custom Modules: UserManager|UserDirectory|UserImport|PortalSSO
 
New Post
7/22/2006 12:24 PM
 

It looks like a permissions issue not with any of the DotNetNuke folders, but with the folders required by aspnet.  Here is some relevant material to review:

http://forums.asp.net/thread/1007521.aspx

http://support.microsoft.com/kb/815153/en-us

Basically you're just making sure the account asp.net is running under has the appropriate access to the folders it needs, and at a minimum the folder specified in the error message doesn't have the necessary permissions.



Shane Miller
Call Centers 24x7
 
New Post
7/24/2006 11:15 PM
 
Im getting the same error. Worked under 4.3.2 but not under 4.3.3
 
New Post
7/31/2006 7:10 PM
 

I'm getting the same issues with a C++ third party module as well on a DNN 4.3.3 installation on one of my my local servers. Never had the issue before with C++ modules (but then again it wasn't DNN 4.3.3).

This is the module:
http://amitleibov.info/DNNModules/AnnouncementsMarquee/tabid/60/Default.aspx

And is my issue (like yours):
http://amitleibov.info/Forums/tabid/61/ptid/389/page/2147483647/threadid/4/forumtype/posts/Default.aspx

See this post for a similar issue:
http://dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/136/threadid/56001/threadpage/1/scope/posts/Default.aspx

Cheers

Alex



Alex Shirley


 
New Post
7/31/2006 7:32 PM
 
cc24x7 wrote

It looks like a permissions issue not with any of the DotNetNuke folders, but with the folders required by aspnet.  Here is some relevant material to review:

http://forums.asp.net/thread/1007521.aspx

http://support.microsoft.com/kb/815153/en-us

Basically you're just making sure the account asp.net is running under has the appropriate access to the folders it needs, and at a minimum the folder specified in the error message doesn't have the necessary permissions.



I would be surprised if I could give access to those directories in a shared hosting environment? Any idea what changed between 4.3.2 and 4.3.3 to introduce this access requirement?

ver 4.3.1 (to 8 July 2006) ver 4.3.2 (to 20 July 2006) ver 4.3.3 (to 5 Aug 2006) ver 4.3.4 (to 20 Sep 2006) ver 4.3.5 (to 25 Dec 2006) ver 4.4.0 (to date)
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error installing custom module in DNN 4.3.3Error installing custom module in DNN 4.3.3


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out