c# - Transfer mvc4 website to asp.net server -


i relative new mvc4 , have problems transferring mvc4 website made in visual studio asp.net host. when move files through publish method, wont show web page. show text files. when run global.asax file, got following error:

could not load type 'system.data.entity.migrations.model.columnmodel' assembly 'entityframework, version=4.4.0.0, culture=neutral, publickeytoken=b77a5c561934e089'.

system.typeloadexception: not load type 'system.data.entity.migrations.model.columnmodel' assembly 'entityframework, version=4.4.0.0, culture=neutral, publickeytoken=b77a5c561934e089'. @ (wrapper managed-to-native) system.type:type_is_assignable_from (system.type,system.type) @ system.type.isassignablefrom (system.type c) [0x00096] in /usr/src/mono-2.10.4/mcs/class/corlib/system/type.cs:885 @ system.web.mvc.arearegistration.isarearegistrationtype (system.type type) [0x00000] in :0 @ system.web.mvc.typecacheutil+<>c__displayclass1.b__0 (system.type type) [0x00000] in :0 @ system.linq.enumerable+c__iterator351[system.type].movenext () [0x00059] in /usr/src/mono-2.10.4/mcs/class/system.core/system.linq/enumerable.cs:3010 @ system.collections.generic.list1[system.type].addenumerable (ienumerable1 enumerable) [0x0001a] in /usr/src/mono-2.10.4/mcs/class/corlib/system.collections.generic/list.cs:126 @ system.collections.generic.list1[system.type]..ctor (ienumerable1 collection) [0x0002f] in /usr/src/mono-2.10.4/mcs/class/corlib/system.collections.generic/list.cs:63 @ system.linq.enumerable.tolist[type] (ienumerable1 source) [0x00006] in /usr/src/mono-2.10.4/mcs/class/system.core/system.linq/enumerable.cs:2847 @ system.web.mvc.typecacheutil.getfilteredtypesfromassemblies (system.string cachename, system.predicate`1 predicate, ibuildmanager buildmanager) [0x00000] in :0 @ system.web.mvc.arearegistration.registerallareas (system.web.routing.routecollection routes, ibuildmanager buildmanager, system.object state) [0x00000] in :0 @ system.web.mvc.arearegistration.registerallareas (system.object state) [0x00000] in :0 @ system.web.mvc.arearegistration.registerallareas () [0x00000] in :0 @ heerlijkhulp.mvcapplication.application_start () [0x00000] in :0 @ (wrapper managed-to-native) system.reflection.monomethod:internalinvoke (system.reflection.monomethod,object,object[],system.exception&) @ system.reflection.monomethod.invoke (system.object obj, bindingflags invokeattr, system.reflection.binder binder, system.object[] parameters, system.globalization.cultureinfo culture) [0x000d5] in /usr/src/mono-2.10.4/mcs/class/corlib/system.reflection/monomethod.cs:226

the problem solved: - host didn't support mvc4


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -