asp.net mvc application not working after publish -


i have wired problem app. along run app using visual studio, there no problem when try publish , run using iis following error

[nullreferenceexception: object reference not set instance of object.]    achasoft.achacms.web.routeconfig.registerroutes(routecollection routes) +813    achasoft.achacms.web.mvcapplication.application_start() +182  [httpexception (0x80004005): object reference not set instance of object.]    system.web.httpapplicationfactory.ensureappstartcalledforintegratedmode(httpcontext context, httpapplication app) +9859725    system.web.httpapplication.registereventsubscriptionswithiis(intptr appcontext, httpcontext context, methodinfo[] handlers) +118    system.web.httpapplication.initspecial(httpapplicationstate state, methodinfo[] handlers, intptr appcontext, httpcontext context) +172    system.web.httpapplicationfactory.getspecialapplicationinstance(intptr appcontext, httpcontext context) +336    system.web.hosting.pipelineruntime.initializeapplication(intptr appcontext) +296  [httpexception (0x80004005): object reference not set instance of object.]    system.web.httpruntime.firstrequestinit(httpcontext context) +9873912    system.web.httpruntime.ensurefirstrequestinit(httpcontext context) +101    system.web.httpruntime.processrequestnotificationprivate(iis7workerrequest wr, httpcontext context) +254 

i read articles application_start in iis 7 shouldnt default (asp.net mvc application template) routing work...

please check publish code dll related mvc published. because default mvc dll's not copy local.


Comments

Popular posts from this blog

c++ - End of file on pipe magic during open -

basic authentication with http post params android -

data.table making a copy of table in R -