model view controller - Error in IIS for failed assemblies -
i installing 1 software on windows 7 iis7.0. client pc. .net framework 4.0 , 4.5 installed. installed asp.net mvc3, vc2008,2010,2013 redistributable.
after installing, web page not opening , showing error:
[fileloadexception: not load file or assembly 'system.web.mvc, version=4.0.0.1, culture=neutral, publickeytoken=31bf3856ad364e35' or 1 of dependencies.
my web config file is:
<?xml version="1.0"?> <!-- note: alternative hand editing file can use web admin tool configure settings application. use website->asp.net configuration option in visual studio. full list of settings , comments can found in machine.config.comments located in \windows\microsoft.net\framework\v2.x\config --> <configuration> <appsettings> <add key="forcemapimage" value="false"/> <add key="mapprovider" value="leaflet"/> <!-- bing, leaflet --> <add key="zonepolygonfile" value="zonepolygonnad83.xml"/> <add key="latitudeoffset" value="0"/> <add key="longitudeoffset" value="0"/> <add key="transform" value="nad83"/> <add key="chartimagehandler" value="storage=memory;timeout=20;deleteafterservicing=false"/> <add key="findservices" value="false"/> <add key="pagesize" value="20"/> <add key="clientvalidationenabled" value="false"/> <add key="unobtrusivejavascriptenabled" value="false"/> </appsettings> <connectionstrings> <add name="applicationservices" connectionstring="data source=.;integrated security=sspi;attachdbfilename=|datadirectory|aspnetdb.mdf;user instance=true" providername="system.data.sqlclient"/> <add name="omsdataserviceuria" connectionstring="http://localhost:8800/oms"/> <add name="omsdataserviceurib" connectionstring="http://localhost:8900/oms"/> <add name="dmsdataserviceuria" connectionstring="http://localhost:8801/dms/data"/> <add name="dmsdataserviceurib" connectionstring="http://localhost:8901/dms/data"/> </connectionstrings> <!-- duplex client configuration notification of updates --> <system.servicemodel> <client> <endpoint name="" address="http://localhost:8801/" binding="wsdualhttpbinding" bindingconfiguration="duplexbinding" contract="microsoft.samples.duplex.icalculatorduplex"/> </client> <bindings> <!-- configure binding support duplex communication --> <wsdualhttpbinding> <binding name="duplexbinding" clientbaseaddress="http://localhost:8801/client/"> </binding> </wsdualhttpbinding> </bindings> </system.servicemodel> <system.web> <!-- set compilation debug="true" insert debugging symbols compiled page. because affects performance, set value true during development. --> <compilation debug="true" targetframework="4.0"> <assemblies> <add assembly="system.web.mvc, version=4.0.0.1, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.web.abstractions, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.web.routing, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.data.linq, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/> <add assembly="system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add assembly="system.windows.forms, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"/> <add assembly="system.web.helpers, version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> < add assembly="system.web.webpages, version=2.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </assemblies> </compilation> <!-- <authentication> section enables configuration of security authentication mode used asp.net identify incoming user. --> <authentication mode="forms"> <forms loginurl="~/account/login"/> </authentication> <membership> <providers> <clear/> <add name="aspnetsqlmembershipprovider" type="system.web.security.sqlmembershipprovider, system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a" connectionstringname="applicationservices" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="false" requiresuniqueemail="false" passwordformat="hashed" maxinvalidpasswordattempts="5" minrequiredpasswordlength="6" minrequirednonalphanumericcharacters="0" passwordattemptwindow="10" passwordstrengthregularexpression="" applicationname="/"/> </providers> </membership> <profile> <providers> <clear/> <add name="aspnetsqlprofileprovider" type="system.web.profile.sqlprofileprovider, system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a" connectionstringname="applicationservices" applicationname="/"/> </providers> </profile> <rolemanager enabled="false"> <providers> <clear/> <add connectionstringname="applicationservices" applicationname="/" name="aspnetsqlroleprovider" type="system.web.security.sqlroleprovider, system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"/> <add applicationname="/" name="aspnetwindowstokenroleprovider" type="system.web.security.windowstokenroleprovider, system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"/> </providers> </rolemanager> <!-- <customerrors> section enables configuration of if/when unhandled error occurs during execution of request. specifically, enables developers configure html error pages displayed in place of error stack trace. <customerrors mode="remoteonly" defaultredirect="genericerrorpage.htm"> <error statuscode="403" redirect="noaccess.htm"/> <error statuscode="404" redirect="filenotfound.htm"/> </customerrors> --> <pages controlrenderingcompatibilityversion="4.0" clientidmode="autoid"> <controls> <add tagprefix="asp" namespace="system.web.ui.datavisualization.charting" assembly="system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </controls> <namespaces> <add namespace="system.web.mvc"/> <add namespace="system.web.mvc.ajax"/> <add namespace="system.web.mvc.html"/> <add namespace="system.web.routing"/> <add namespace="system.linq"/> <add namespace="system.collections.generic"/> <add namespace="idmsdashboard.helpers"/> <add namespace="idmsdashboard.htmlhelpers"/> <add namespace="system.web.helpers"/> <add namespace="system.web.webpages"/> </namespaces> </pages> <httphandlers> <add verb="*" path="*.mvc" validate="false" type="system.web.mvc.mvchttphandler, system.web.mvc, version=3.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add path="chartimg.axd" verb="get,head" type="system.web.ui.datavisualization.charting.charthttphandler, system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35" validate="false"/> </httphandlers> </system.web> <!-- system.webserver section required running asp.net ajax under internet information services 7.0. not necessary previous version of iis. --> <system.webserver> <validation validateintegratedmodeconfiguration="false"/> <modules runallmanagedmodulesforallrequests="true"> </modules> <handlers> <remove name="mvchttphandler"/> <remove name="urlroutinghandler"/> <remove name="chartimagehandler"/> <add name="mvchttphandler" precondition="integratedmode" verb="*" path="*.mvc" type="system.web.mvc.mvchttphandler, system.web.mvc, version=3.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> <add name="chartimagehandler" precondition="integratedmode" verb="get,head,post" path="chartimg.axd" type="system.web.ui.datavisualization.charting.charthttphandler, system.web.datavisualization, version=4.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35"/> </handlers> </system.webserver> <runtime> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentassembly> <assemblyidentity name="system.web.mvc" publickeytoken="31bf3856ad364e35" culture="neutral"/> <bindingredirect oldversion="0.0.0.0-4.0.0.1" newversion="4.0.0.1"/> </dependentassembly> </assemblybinding> </runtime> </configuration>
please , not development side , not able fix this. installing package in client pc, please me else required install run web pages. in advance
Comments
Post a Comment