technomark.in
Hot News

Harley Davidson Iron 883 vs Harley Davidson Street Rod Comparison Review

Harley Davidson Iron 883 vs Honda Shadow Phantom Comparison Review

Honda Rebel 500 vs Harley Davidson Iron 883 Comparison Review

Yamaha Bolt vs Harley Davidson Iron 883 Comparison Review

Honda Grazia vs Hero Maestro Edge Comparison Review

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

Technomark.in

Honda Rebel 500 vs Harley Davidson Street 500 Comparison Review

Technomark.in

Honda Rebel 300 vs Royal Enfield Classic 350 Comparison Review

Technomark.in

Speed-up Internet Connection

Technomark.in

Before You Copy Any Image From Internet

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




Comments

Win:
Im running WebApplication in VS 2015, IIS Express 10, on 64 bit machine. It was working fine until I tried to connect .accdb(access 2016). I am not sure what all changes I made but my application throws up this error now.
 I tried the second solution but didnt work.
Any help accepted..
THanks

Technomark.in

Download Any Video From Youtube Or Any Website

Technomark.in

How To Get Any Color With Its Hex Format Using Firefox

Technomark.in

How To Clear Browser History And Cache Easily

Technomark.in

How To Block Porn Sites From Children Without Any Software

Technomark.in

How To Do A Barrel Roll In Google

View All

Privacy StatementDisclaimerSitemap