Sunday, May 20, 2012
Welcome!

Welcome to my little corner of the Internet!

Among other things, I'm exploring all that the DotNetNuke website framework has to offer.

You can email me at Larry@LarryDaniele.com.

My Other Sites

You can also visit CompanionSoftware.com - my business site and the home of the Metafile Companion utility for editing Windows metafiles. While you're there, check out my website development portfolio.

I would also encourage people interested in developing their own web site to look at DotNetNuke. It's what I'm using to create this site. Once it's set up, it's quite simple to add, edit and remove content over time.

Latest Blog Entries

How to solve the 'Access to the path '...\Portals\0\Repository' is denied" Repository module problem when changing domain names

Jun 27

Written by:
6/27/2008 8:11 AM  RssIcon

When I changed the domain name for a client's site from "burtcohen.com" to "burtcohen.net", the Repository module started reporting:

   A critical error has occurred.
   Access to the path 'C:\Inetpub\vhosts\burtcohen.com\httpdocs\Portals\0\Repository' is denied.

when all the other modules had no problem.

I did some spelunking in the SQL database and found the following entries in the ModuleSettings table:

   383   anonymouslocation   C:\Inetpub\vhosts\burtcohen.com\httpdocs\Portals\0\Repository
   383   folderlocation      C:\Inetpub\vhosts\burtcohen.com\httpdocs\Portals\0\Repository
   383   folderlocation      C:\Inetpub\vhosts\burtcohen.com\httpdocs\Portals\0\Repository

Note the ".com" in all these paths. This path no longer exists, so that is the cause of the problem. Simply updating them to ".net" fixed the problem.

I don't believe the Repository module should be saving absolute paths to its folders. I have submitted this as a DotNetNuke Repository module bug recommending that it saves relative paths such as:

   383   anonymouslocation   Portals\0\Repository
   383   folderlocation      Portals\0\Repository
   383   folderlocation      Portals\0\Repository

Tags:
Categories:
Location: Blogs Parent Separator Blogs
A Random Walk
Minimize
Enjoy a few random photos from my gallery!
Blooming Lilac
06. Tom strikes "gold"
It's Miine!
25. John Averill, our project foreman
815 - Bridges across the Charles
More photos...
Privacy Statement  |  Terms Of Use
Copyright 2007-2011 by Larry Daniele