HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepositoryUnable to upgradeUnable to upgrade
Previous
 
Next
New Post
10/14/2008 11:57 AM
 

I have successfully downloaded the latest version of the repository module (3.01.15) to replace the version I currently have (3.01.14). However, when I try to install it on my DNN site I keep getting:

ExceptionSystem.IO.IOException: The process cannot access the file 'D:\DNN Projects\ASC-Site\bin\DotNetNuke.Modules.Repository.dll' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 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) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFile(String FullFileName, Byte[] Buffer) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateBinFile(PaFile File) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()

What am I doing wrong?
TIA

 
New Post
10/14/2008 12:12 PM
 

How are you installing the module? are you using the Host->Module Definitions page?  What version of DNN? Do have the site open in Visual Studio? Maybe you have another browser open with the site open? The error is pretty clear, some other process has the .dll open so the OS can't overwrite it with the new version.





 
New Post
10/14/2008 12:34 PM
 

Thanks for the quick reply.

I am using the Host -> Module Definitions page to do the install. My version of DNN is 4.08.

I closed pretty much everything on my machine except for 1 IE window and tried again, got the same error.

Since I have the module installed on my site and files loaded w/in the module, isn't DNN the 1 that has the DLL occupied?

 
New Post
10/14/2008 1:05 PM
 

Any chance of rebooting the machine? there is definately another process that has the .dll loaded. You should have IE open with the site loaded in order to install the module upgrade, that's how it's designed to work. Is this a local dev environment? You could also look at Task Manager to see if there is some other process (IE or VS ) that wasn't unloaded. Sometimes, especially after any crashes, processes remain loaded in memory. I would suggest rebooting as the first thing to try though.





 
New Post
10/14/2008 1:43 PM
 

Steve -

It is my dev machine and I did reboot. After rebooting, I closed just about every process I could find running that didn't need to be running (except SharePoint). Just for grins I downloaded Process Explorer to see what would have a hold of the DLL. I tried installing the upgrade again and got the same error. Process Explorer shows w3wp.exe and "<Non-existent Process>" as having a hold of the DLL. w3wp and the other process appear to have the same ID.

Thanks.

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepositoryUnable to upgradeUnable to upgrade


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke DNN Hosting
Exact Target Exec Alert
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.