technomark.in
Hot News

$(this) Selector And Children / Find In jQuery

Detect An Undefined Object Property In JavaScript

Rotate And Save Video Using VLC Media Player

Capitalize The First Letter Of String In JavaScript

Convert Any Files To Any Format Using VLC Media Player

Asp.Net AngularJS WCF IIS
DataBase Jquery Bikes Random
HomeContact Us Watch Our YouTube Channel ..........Blog Spot..........

Technomark.in

How To Logout From All Devices In Skype

Technomark.in

How To Embed Google Map In Your Code

Technomark.in

How To Install IIS (Internet Information Services) On Windows

Technomark.in

Enable Directory Browsing In IIS

View All


Could Not Load File Or Assembly. An Attempt Was Made To Load A Program With An Incorrect Format


An Attempt Was Made To Load A Program - What Is The Reason?

> You will get this error when you run a 32 bit application on 64 Bit IIS.
> In your application, if any of the dll is of 32 bit, you can expect this error.
> In 64 bit IIS, if you allow to run 32 bit application, you can resolve this issue.
> Else make your application compatible to run on any Operating System.

Could Not Load File Or Assembly  An Attempt Was Made To Load A Program With An Incorrect Format, Could Not Load File Or Assembly, An Attempt Was Made To Load A Program With An Incorrect Format, Enable 32 Bit Application On IIS, The Target Platform of your app should be compatible with where you deploy, IIS, Asp.Net, MVC, Application Pool, Platform target

An Attempt Was Made To Load A Program - How To Resolve This Issue?

> For resolving this issue follow these steps.
> 1. Enable 32 bit application on IIS.
> 2. The Target Platform of your app should be compatible with where you deploy.
> Lets consider each of them in detail.

1. Enable 32 Bit Application On IIS

> First of all open your IIS. (On Run type inetmgr).
> Select your Website. Click on Advanced Settings.
> Note down your Application Pool under General Tab.
> Now from list of Application Pool, Right Click on your Application Pool.
> Select Advanced Settings.
> Under General Tab Section, make Enable 32-bit Applications set to True.

Could Not Load File Or Assembly  An Attempt Was Made To Load A Program With An Incorrect Format, Could Not Load File Or Assembly, An Attempt Was Made To Load A Program With An Incorrect Format, Enable 32 Bit Application On IIS, The Target Platform of your app should be compatible with where you deploy, IIS, Asp.Net, MVC, Application Pool, Platform target

> Now press OK Button.
> Refresh your Application to see whether the Issue is resolved or not.
> Else follow second step.

2. Change Target Platform Of Your Application

> Right click on your Project Icon and select Properties.
> Under Build Tab, make sure on which Configuration you are going to Publish.
> If final publish is on Release mode, select Release. Or select appropriate mode.
> After selecting configuration, select Platform target from Any CPU to x86.

Could Not Load File Or Assembly  An Attempt Was Made To Load A Program With An Incorrect Format, Could Not Load File Or Assembly, An Attempt Was Made To Load A Program With An Incorrect Format, Enable 32 Bit Application On IIS, The Target Platform of your app should be compatible with where you deploy, IIS, Asp.Net, MVC, Application Pool, Platform target

> Now Save the changes and Rebuild the Solution.
> Publish the Application to see the End Result.

Watch Video of this Content on Video Streaming

Post Your Comment

Name *


Email *


Comment * Please provide all three fields for posting Comment




Technomark.in

Book Train Tickets on IRCTC Quickly During Tatkal Period

Technomark.in

Before You Copy Any Image From Internet

View All

Privacy StatementDisclaimerSitemap