Last post Apr 06, 2018 08:33 AM by vahid bakkhi
Apr 06, 2018 06:49 AM|aatish09|LINK
PROBLEM: My project is developed in V4.0 but due to IIS version on UAT server is V2.0 , I have build all .dll in V2.0.
now I have deployed dll to server, but when I click on any page its giving me error like "Could not load the assembly 'App_Web_xxxxxxxxx' . Make sure that it is compiled before accessing the page" highlighting below.
<%@ page language="c#" autoeventwireup="false" inherits="xxxxxxxxx.formxxxxxxxxx, App_Web_xxxxxxxxx.xxxxxxxxx" %>
I don't want to change IIS version.
can any one please help to this issue.
Apr 06, 2018 07:31 AM|vahid bakkhi|LINK
please refer to below link :
Apr 06, 2018 08:08 AM|aatish09|LINK
THanks VAhid, but the solution mentioned at suggested link not expected \ working because its suggest case when you copy prod files to local Machine. in my case error is itself on server. I am getting error on server. when I change IIS version to 4.0 it
works. but I don't want to change it when it become 2.0 it giving me above error.
Apr 06, 2018 08:12 AM|vahid bakkhi|LINK
as far as i know your iis version is v2 and your dll is v4, you must to change your iis version to 4 or change your dll to v2
Apr 06, 2018 08:33 AM|vahid bakkhi|LINK
please follow below link: