MVC application publised on IIS - Could not load file or assembly 'Coversant.Win32' or one of its dependencies
I am getting the following error when i publish my first webapplication developed in MVC on IIS.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Coversant.Win32' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Coversant.Win32' could not be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Could not load file or assembly 'Coversant.Win32' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'Coversant.Win32' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Coversant.Win32' could not be loaded.
|
I use the following steps to publish the application on local IIS
- Create an AppPool with Admin credentials in IIS Manager.
- Change the .Net Framework version of AppPool to 4.0 in AppPool's basic settings.
- Create a Asp.Net WebSite in IIS manages and associate the AppPool with it.
- Associate a directory for applications physical directory the and set credential for access/ otherwise grant sharing permissions to the directory (verify by "Test Settings").
- Now i have created a publish profile to publish the application ..... and it crashes by giving the above error.
Now after searching i found someone ask to modify reg setting, some say to modify pipeline. but such solution do not work on production as MS do not recommend to use such solution. so now i found the simplest solution.
For USA on-line casinos, this is typically the Malta Gambling Commission or the Curacao Gaming Control Board. These bodies will examine your claims and may take additional motion as essential. Blackjack is well-liked because of|as a result of} the home edge, or advantage 온 카지노 the on line casino has over the participant, is low at simply 1%. If card games aren't your pace, gamers in search of a comparatively straightforward win should check out at|try} the roulette and on-line craps tables.
ReplyDelete