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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryError in Uploading The Patch for The Gallery ModuleError in Uploading The Patch for The Gallery Module
Previous
 
Next
New Post
5/23/2007 10:18 PM
 

Hi,

My site runs on version 4.3.4, and I am trying to upload the patch for the Gallery module downloaded  from http://www.jegers.com/DNN/Default.aspx?tabid=133

Before uploading the patch, I deleted the gallery module using the Host/ Module Definitions. Then I upload the  downloaded zip file.  Below is the error from the Resource Upload Logs.  Someone please tell me what I missed? 

I read all the posts that have James Jegers (the patch's owner)' response, but couldn't find a solution. Is there anyone getting this error and what did you do to fix it? Would you share your experience. Any advice would be appreciated.

 

StartJob Begin Sql execution
Info Executing 04.00.00.SqlDataProvider
StartJob Start Sql execution: 04.00.00.SqlDataProvider file
EndJob End Sql execution: 04.00.00.SqlDataProvider file
 
EndJob Finished Sql execution
 
StartJob Creating files
StartJob Expanding Resource file
EndJob Resource Files created
 
Info Created C:\Inetpub\DotNetNuke434_sourceCode\Website\bin\Gallery.Exif.dll
Info Created C:\Inetpub\DotNetNuke434_sourceCode\Website\DesktopModules\Gallery\Providers\DataProviders\SqlDataProvider\04.00.00.SqlDataProvider
Info Created C:\Inetpub\DotNetNuke434_sourceCode\Website\DesktopModules\Gallery\04.00.00.txt
Failure ExceptionSystem.Configuration.ConfigurationErrorsException: Unable to save config to file 'C:\Inetpub\DotNetNuke434_sourceCode\Website\web.config'. at System.Configuration.Internal.WriteFileContext.ReplaceFile(String Source, String Target) at System.Configuration.Internal.WriteFileContext.Complete(String filename, Boolean success) at System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) at System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) at System.Configuration.UpdateConfigHost.WriteCompleted(String streamName, Boolean success, Object writeContext) 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) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\Shared\Config.vb:line 62 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 196 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 173 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 450 at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install() in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\ResourceInstaller\PaInstaller.vb:line 76
 
New Post
5/24/2007 12:21 AM
 

Given the error message:

ExceptionSystem.Configuration.ConfigurationErrorsException: Unable to save config to file 'C:\Inetpub\DotNetNuke434_sourceCode\Website\web.config'.

My guess would be that the asp.net user id (the one running IIS/DNN) does not have access to write to your web.config file... Or maybe you have it open in an editor or something that has it locked...?

Check your permissions.

 
New Post
5/24/2007 8:22 AM
 

James,

 
I appreciate your quick response. You are absolutely right; it was the permission related problem. My asp.net user id had the write permission and I thought that it was all it needs.  I added the modify permission, and life is good. 

Again thank you for the work you contribute to the project and especially for your quick response

 
New Post
5/24/2007 11:36 AM
 

Hi James,

One more issue, and hopefully this will be the final one in applying the new patch. 

In adding the new gallery module to the page, I got and exception error of system.Exception: Could not load type 'DotNetNuke.Modules.Gallery.Container'.

I searched but couldn't find an applicable answer. Please help!

Below is the error log

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> DotNetNuke.Services.Exceptions.ModuleLoadException: Error: Gallery is currently unavailable. ---> System.Web.HttpParseException: Could not load type 'DotNetNuke.Modules.Gallery.Container'. ---> System.Exception: Could not load type 'DotNetNuke.Modules.Gallery.Container'. ---> System.Exception: Could not load type 'DotNetNuke.Modules.Gallery.Container'. ---> System.Web.HttpException: Could not load type 'DotNetNuke.Modules.Gallery.Container'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() 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) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\Skins\Skin.vb:line 446 --- End of inner exception stack trace --- at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, PortalModuleBase ctrlModule, Exception exc, Boolean DisplayErrorMessage) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\Exceptions\Exceptions.vb:line 86 at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\Exceptions\Exceptions.vb:line 121 at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) in C:\Inetpub\DotNetNuke434_sourceCode\Library\Components\Skins\Skin.vb:line 478 --- End of inner exception stack trace ---

 
New Post
5/24/2007 11:59 AM
 

My only thought is that you still have something wrong with your install.  Or because of your previous permissions problem the install didn't go through correctly.  My suggestion would be to uninstall the gallery module, and then reinstall it. 

In particular make sure you have a file:

...yourdnninstalldir.../desktopmodules/gallery/container.ascx  (and container.ascx.vb)    I'm guessing you are missing one of them.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryError in Uploading The Patch for The Gallery ModuleError in Uploading The Patch for The Gallery Module


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