today we consider how to fix one of the issue an attempt was made to load the program with an incorrect format let's consider when you get this error this error is mainly obtained when a 32-bit application is trying to run inside a 64bit is that means if your Os or operating system is 64bit and you are trying to run a 32bit application and the 32bit application is not enabled on the Ias you can expect this error for resolve this issue you have to enable 32bit application on is or make your application compatible with the architecture of the operating system let's consider how to enable 32bit application on isos for that open your isos this is my isos as you can see and my website is web first of all I'm going to select the application pool of my website site as you can see my application pool is default application pool and from the list of application pool I'm going to select and right click on default app pool and select advanced settings under General tab you can see there is a node enable 32bit application now the status is false set it as true and press okay button by this way we can enable 32bit application on IAS now let's go consider the second approach for resolving this issue that is changing the target platform of the application as you can see this is my web application first of all right click on the project icon and select properties a window will appear under build tab you can see first of all consider the configuration section if you're publishing your website in release configuration select that from the drop down list and under platform targets from any CPU select x86 now save it and publish your website once again by this way we can change the target platform of the application to make compatiable for thir St bit operate system so here we consider how to resolve this issue one by enabling thir St bit application on is and second changing the target platform of the application thank you guys for watching this video please visit technomar doin for more information