Unable to install .NET Framework 4.5 using dotNetFx45_Full_setup.exe installer without internet connection in server

Error :

Unable to install .NET Framework 4.5 using dotNetFx45_Full_setup.exe installer without internet connection in server

Resolution :
dotNetFx45_Full_setup.exe installer is web installer for .NET Framework 4.5. .NET Framework 4.5 installer are of two types :
1. Web Installer : Requires internet connection
2. Offline Installer : Does not require internet connection
Step 1 : Download .NET Framework 4.5 Offline installer ( dotNetFx45_Full_x86_x64.exe )
Step 2: Run and install dotNetFx45_Full_x86_x64.exe

Error : dll file is being used by another process

Error : Unable to copy file XYZ.dll. The process cannot access the file XYZ.dll because it is being used by another process

Resolution :

Go to windows command prompt  ( Click on Start -> Run -> Type cmd -> Press OK )

Type tasklist /m and Press enter

The above command will list all the process i.e exe and dlls each process is using

Find out which process i.e exe is using the dll XYZ.dll

Then go to Task Manager and End the process

Error : The type or namespace name ‘ScriptManager’ does not exist in the namespace ‘System.Web.UI’ (are you missing an assembly reference?)

Error :

The type or namespace name ‘ScriptManager’ does not exist in the namespace ‘System.Web.UI’ (are you missing an assembly reference?)

Error Details :

Getting above error on addition ScriptManager to .aspx page

Solution :

Add the System.Web.Extensions.dll reference to project to resolve above error.