DotNetNuke Install should have better error reporting.

I am using “Publish web Site” which copies almast all content of the development site including Portals\0\portal.css file.

Then when DNN Installer  tries to create a new portal, it fails with

“Error: The file 'C:\inetpub\wwwroot\DNNWebOpac\Portals\0\portal.css' already exists.“
and doesn't create portal alias.

Any attempts to open the site failed with
[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo)

The code actually tries to delete content of the new portal via call to DeleteFolderRecursive,

but all delete errors are catched silently - not a good way to investigate the problem.

The actual reason was that I didn't add write permissins to NETWORK_SERVICES. Error should hint about this.

I've added in Components\Shared\Globals.vb  DeleteFolderRecursive function reporting errors to Trace

Diagnostics.Trace.WriteLine("DeleteFolderRecursive file " & strFile & " " & ex.ToString())

Iv'e logged a suggestion to DNN Support

posted @ Tuesday, February 14, 2006 1:54 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 4 and 4 and type the answer here:
 

Live Comment Preview:

 
«December»
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910