Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Update to 5.2.8 fails
Last Post 09/09/2010 5:12 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Bruce M
New Member
New Member
Posts:22


--
09/07/2010 2:21 AM

I am currently running 5.2.7 and am trying to get up to date.  I am attempting to install 5.2.8 and I get the following installation error:

Info Creating backup of previous version - Uninstall.SqlDataProvider
 
Failure Exception - Access to the path 'D:\myfolder\myapp\DesktopModules\Bring2mind\DMX\Uninstall.SqlDataProvider' is denied.
 

At first I thought it might be the properties of the folders, so I checked and they were read only so I unset that across the whole chain beginning at "myfolder", but I still get the same error.

I've done several updates in the past and never encountered this.  I looked to see if Uninstall.SqlDataProvider exists in my existing installation and it does, so I am not sure what this message is trying to tell me.

Bruce

Bruce M
New Member
New Member
Posts:22


--
09/07/2010 5:10 PM

Here are some more details about how I got to this point.

I installed DMX early this year, and kept it updated through version 5.2.7.  At that point, I had to create several demonstration instances of our product that uses DMX as its file repository.  To create those, I backed up then restored my database (including all my tables, etc. and all data from 3rd party modules that we are using such as DMX) to a new schema/new dbo.

I copied all files from my web site to another location and set up a directory under IIS so that I could reference the new copy as its own unique instance.

All that worked fine, giving my demonstration versions an exact copy of what my development environment looked like as of that point in time.

Now I want to update my development version and the demo versions to the latest DMX.  The development site updates fine, but any demo site gets the error I noted above and the installation halts.  It seems as though DMX "knows" where it was installed initially and my derivative versions can't be updated.

So, what do I need to do to make these environments able to be updated?

Many thanks,

Bruce

Bruce M
New Member
New Member
Posts:22


--
09/07/2010 6:09 PM

I spoke too soon.  The development environment, though the install "worked", now fails to loads its home page, geting a message from the compiler that I am missing 

Reference required to assembly 'App_Code.n7fk-ufc, Version=5.2.0.237,' blah blah blah..."containing the base class DotNetNuke.Common.Global". Add one to your project.

 

This happens from with a temp file .vb file.  I am not much of a .net code exprt, so I don't really know what to make of it.  

Note that when I went back to my previous web.config, the error did not occur, so it would seem to be related to one of the new entries in we.config for 5.2.8.

Bruce

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/09/2010 5:12 PM
Hi Bruce,

This is actually quite a common case. What has happened is that you copied/moved files and the permissions are no longer correct. The installer, like the rest of DNN, runs under the identity of the application pool. This is normally NETWORK SERVICE and is a local account to the server. If you move stuff around or recreate from backup etc, chances are that the files of the installation no longer allow NETWORK SERVICE to read/write/delete content. So the installer breaks as it tries to install the module as it wanted to replace the mentioned file.

To ALL: note that the error message is a give-away here. Whenever you see "access to the path xyz denied" you have a disk permissions issue. Make sure the worker process has adequate permissions. That's all.

Peter
You are not authorized to post a reply.