Search code examples
c#asp.net-mvcentity-frameworkfilezilla

EntityFramework.dll failed to copy to web server using FileZilla


while hosting .NET MVC Web Project in somee.com, i get below error in FileZilla Client, i am trying to copy EntityFramework.dll and EntityFramework.xml files to my project bin folder in web server, hosting first time , Any advise would be greatly appreciated.

Thank You.

Error Shown in File Zilla Client :

Command: STOR EntityFramework.dll

Response: 550 The process cannot access the file because it is being used by another process.

Error: Critical file transfer error

Status: Disconnected from server

Command: STOR EntityFramework.xml

Response: 550 The process cannot access the file because it is being used by another process.

Error: Critical file transfer error


Solution

  • finally arrived to solution, i tried stop IIS from command prompt, but this Installing IIS on Windows 7 Home Basic research proved that windows 7 home basic doesn't allow install of full-fledged IIS,

    Then even if i try to install the IIS from Turn Windows Features on Off, i get this error : " Not all of the features were successfully changed " so i unchecked IIS, Internet Information Services Hostable Web Core and Windows Process Activation Service then restarted the machine,

    At Last Instead of using FileZilla to Transfer the Dll and Xml files, i came across Windows Publishing Wizard, located in Program Files/Web Publish. provided the host name etc, dll was successful transferred but xml file gave the same error again, so as i read in some asp.net forums, i removed the referenced EntityFramework.dll from closed project, using project properties --> References --> Unused References , then XML file was also done.

    I provided whole details because it may help someone there.

    Thank you, @Vsevolod and @Kami. Thank you all.