change site extensi...
 
Notifications
Clear all

change site extensions to another PHP version IO Error

2 Posts
2 Users
0 Reactions
777 Views
Posts: 40
Topic starter
(@hamada6004)
Eminent Member
Joined: 6 years ago

hi

I'm have issue when try change PHP version give me error file is used by other process .

try restart server but same problem .

try stop site before change but same problem

try log out from  remote desk top before change same problem

try change Portal site with stable version same error

WEB_SITE ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: The process cannot access the file because another process has locked a portion of the file. (Exception from HRESULT: 0x80070021)
at Microsoft.Web.Administration.Interop.IAppHostElementCollection.Clear()
at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Clear()
at SolidCP.Providers.Web.Handlers.HandlersModuleService.CopyInheritedHandlers(String siteName, String vDirPath)
at SolidCP.Providers.Web.IIs70.FillIISObjectFromAppVirtualDirectoryRest(WebAppVirtualDirectory virtualDir)
at SolidCP.Providers.Web.IIs70.UpdateSite(WebSite site)
at SolidCP.Server.WebServer.UpdateSite(WebSite site)
--- End of inner exception stack trace ---

who can  I solve this problem  . I'm try find this process to stop it . but can't find it .

thank you

1 Reply
Posts: 1967
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

File locked is really an issue with Windows/  IIS it self, you could try a iisreset to free up the lock you could stop the app pool + site and do an iisreset which should free up the locked file normally.

Regards,

Marco

Reply
Share: