If you are a developer and worked on DNN you may have faced this error when you used a 32 bit dll in DNN web site. This is the following error-
DotNetNuke.Services.Exceptions.PageLoadException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
To remove this following error I searched a lot and got this solution and it work correctly. So I decided to write a blog related to it so others can also get benefit from it. These are the following steps to setting
Step 1- Once you have logged into server, open IIS Manager or you can do this by clicking your Windows Start button and entering "inetmgr" into the search box. Then press enter. The following window will open.

Step 2- Select ‘Application Pool’ from left side and click to open. This page manages the all application pool on the server.
Step 3- Select your application from the list for which you want to enable 32 bit application.
Step 4- After selecting your application click the advance setting, a pop up window opens on the screen.
Step 5- Select the 'Enable 32-bit Application' from the general tab and set it from 'False to True' and press ok button.
Step 6- After this setting no error will occur when using a 32 bit dll.
By following above steps you can remove upcoming error from your DNN website.