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 ...4.3.5 upgrade issue4.3.5 upgrade issue
Previous
 
Next
New Post
9/16/2006 1:07 PM
 

Hi

I just upgraded from 4.3.3. to 4.3.5 which so far has been mostly successful.

The upgrade status report came up with the following error message:

00:00:07.609 - Installing Module File D:\Data\websites\mainportal\Website\Install\Module\Reports_4.3.1_Source.zip:  Error!

Is there some log that will show me the full detail of the error? (can't seem to find any).

Many Thanks

Alex



Alex Shirley


 
New Post
9/17/2006 6:12 PM
 

Well I tried to upload and install Reports_4.3.1_Source.zip manually from the installation, the log below is what I got.

It looks like a permissions issue, but I've checked and double checked the permissions. NETWORK SERVICE is propogated down (full permissions), and I never had any issues with the other modules. MachineKey settings seem fine as well (which I edited before the upgrade).

I'm stumped! Any help would be very much appreciated... (Anybody else got this?)

Cheers

Alex

---->

StartJob Starting Installation
StartJob Reading files
Info Loading ViewReports.ascx.vb
Info File ViewReports.ascx.vb read successfully
Info Loading ReportInfo.vb
Info File ReportInfo.vb read successfully
Info Loading Reports.dnn
Info File Reports.dnn read successfully
Info Loading ReportsController.vb
Info File ReportsController.vb read successfully
Info Loading Settings.ascx
Info File Settings.ascx read successfully
Info Loading Settings.ascx.resx
Info File Settings.ascx.resx read successfully
Info Loading Settings.ascx.vb
Info File Settings.ascx.vb read successfully
Info Loading ViewReports.ascx
Info File ViewReports.ascx read successfully
Info Loading ViewReports.ascx.resx
Info File ViewReports.ascx.resx read successfully
EndJob Reading files done.
 
StartJob Reading DNN file
Info DNN file is in valid 3.0 format.
Info xml loaded.
Info Loading files info
Info Found valid path (App_LocalResources) for ViewReports.ascx.resx.
Info Found valid path (App_LocalResources) for Settings.ascx.resx.
Info Found valid path ([app_code]) for ReportsController.vb.
Info Found valid path ([app_code]) for ReportInfo.vb.
Info Loading Modules info
Info Loading Control info for 'Reports' module
EndJob Dnn load finished successfully
 
StartJob Begin Sql execution
EndJob Finished Sql execution
 
StartJob Creating files
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\ViewReports.ascx
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\ViewReports.ascx.vb
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\Settings.ascx
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\Settings.ascx.vb
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\App_LocalResources\ViewReports.ascx.resx
Info Created D:\Data\websites\mainportal\Website\DesktopModules\Reports\App_LocalResources\Settings.ascx.resx
Failure ExceptionSystem.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config) ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() 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, FileShare share) at System.Configuration.Internal.InternalConfigHost.StaticOpenStreamForRead(String streamName) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName, Boolean assertPermissions) at System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.OpenStreamForRead(String streamName) at System.Configuration.Internal.DelegatingConfigHost.OpenStreamForRead(String streamName) at System.Configuration.UpdateConfigHost.OpenStreamForRead(String streamName) at System.Configuration.BaseConfigurationRecord.InitConfigFromFile() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace --- at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams) at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle) at System.Web.Configuration.WebConfigurationManager.OpenWebConfigurationImpl(WebLevel webLevel, ConfigurationFileMap fileMap, String path, String site, String locationSubPath, String server, String userName, String password, IntPtr userToken) at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path) at DotNetNuke.Common.Utilities.Config.AddCodeSubDirectory(String name) in D:\Data\websites\mainportal\Library\Components\Shared\Config.vb:line 49 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) in D:\Data\websites\mainportal\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 196 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) in D:\Data\websites\mainportal\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 173 at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) in D:\Data\websites\mainportal\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb:line 450 at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install() in D:\Data\websites\mainportal\Library\Components\ResourceInstaller\PaInstaller.vb:line 76



Alex Shirley


 
New Post
9/17/2006 6:26 PM
 

OK I found out what the problem was.

As I was running development.config as web.config, I temporarily had to remove:

<trust level="Medium" originUrl="http://localhost/.*"/>

Then it worked fine.

Is this the expected behaviour?
(it seems odd that all the other modules install correctly, except the reports module when trust level is set as medium).

Cheers!

Alex



Alex Shirley


 
New Post
9/19/2006 11:19 AM
 
The problem with Reports is that it is a .NET 2 module, and on installation we have to write a <codeSubDirectory> node to the web.config.

Now this should be ok in Medium Trust as long as we stay within the App Domain, but for some reason the code seems to be trying to open a web.config outside of the App Domain.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.3.5 upgrade issue4.3.5 upgrade issue


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