II7 DLLs that have just been deployed have x86 written, the following problems occur
IIS 7 x86,could not load file or assembly ' Name ' or one of its dependencies. An attempt is made to load a and incorrect format.
To solve this, just set up the IIS compatible x86 program on it, the specific steps:
1. Start-> Run
2.
3. Advanced settings, enable 32-bit applications set to True.
In the Win7 flagship IIS7.5 Debug. Net 4.0 Web site does not have a reason for 500 wrong solution, just say the phenomenon.
Install the Win7 installation VS2010, where VS2010 has its own. Net 4.0 runtime. Turn on the self-IIS feature, it may be the flagship version of the IIS, the other version has not been tried. In IIS, create a new Web site, in the application pool, to set up the Web site to use the. NET Framework v4.0 the runtime library.
Browse
IE reported a 500 server error.
There is no problem, because it is OK to make sure that the Web site is a debug server with vs. Therefore, an estimate is the IIS setup issue. Later, after the query, because I installed the system, the first installation of VS2010, and then enable IIS, so. NET 4 is not registered in IIS, the Win7 with IIS only support. NET 2.0. Therefore, manual registration is required.
The registration steps are as follows:
Start, enter the cmd word in the lookup box, and then appear cmd.exe application
Cmd.exe right, choose to run as Administrator.
Paste the following command into the Command Line window, enter and complete the registration.
"%windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe"-iru-enable this time, we see that in IIS, 4.0 Run-time Libraries Support registration success.
Refresh IE, the site is normal out.
Unrecognized attribute "targetframework"---solution after you install VS2010, the Web site created by applying the. NET Framework 4 is placed under IIS (7.0) with the following error:
The version information tells us that the. NET Framework and the ASP.net version are all 2.0, and we use the. NET Framework 4.0 when we make the Web site, so the. NET Framework property of the Web site must be set to 4.0.
WIN7 Open Control Panel--Administrative Tools--internet Information Services (IIS) Manager, select the Default Web site, select "Advanced Settings ..." in the "Manage Sites" column on the right, and modify the application pool to "ASP.net v4.0" as shown in the following illustration:
Now enter localhost in the browser, the problem should be solved!