Administration and Deployment

Installing and maintaining your SAS environment
BookmarkSubscribeRSS Feed
TimR
Fluorite | Level 6

Hi all,

 

I attempted to migrate from SAS 9.4 M6 to SAS 9.4 M8.  The update dialogue hit a brick wall when attempting to update Base SAS 64-bit English.  The error log showed the complaint of "sashost.dll The process cannot access the file because it is being used by another process".  This was odd in that I rebooted the system just prior to initiating the upgrade, and I did no SAS work between the reboot and initiating the upgrade.  I tried it multiple times with the same bad result.  I also installed Windows systernals ProcMon to check if there was any obvious SAS modules in memory that might be causing the block -- I did not see any.  I've opened a ticket with SAS and, based on my research, am proposing two things to implement during my "preboot" before my next attempt:

 

1) Turn off endpoint/anti-virus scanning to ensure it doesn't grab the dll and hold it

2) Temporarily set all of the SAS services to 'Manual' so they do not summon or load any modules that might be branching to and locking sashost.dll

 

Can y'all think of any others?

 

Thanks!

TimR

5 REPLIES 5
picardda
Calcite | Level 5

I've had this issue when uninstalling SAS 9.4 on desktop pc. I renamed sashost.dll and was able to delete it. Not sure why I was able to renamed but this worked for me.

TimR
Fluorite | Level 6

Thanks picardda -- it's weird that would work, but I will put that in my "to try" list! 

 

Any other ideas out there on a Monday morning?

 

Thanks!

TimR  

TimR
Fluorite | Level 6

Hi picardda -- Did you rename sashost.dll, reboot, and then start the install or did you just rename sashost.dll and jump right into the install?

ronf_sas
SAS Employee

You don't need to reboot.  Just rename the file and hit Retry on the SAS Deployment Wizard.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1018 views
  • 4 likes
  • 4 in conversation