问题描述
ServerErrorin'/'Application.--------------------------------------------------------------------------------Method'GetAllItemsFromSet'intype'ServiceStack.Redis.RedisClient'fromassembly'ServiceStack.Redis,Version=3.0.0.41978,Culture=neutral,PublicKeyToken=null'doesnothaveanimplementation.Description:Anunhandledexceptionoccurredduringtheexecutionofthecurrentwebrequest.Pleasereviewthestacktraceformoreinformationabouttheerrorandwhereitoriginatedinthecode.ExceptionDetails:System.TypeLoadException:Method'GetAllItemsFromSet'intype'ServiceStack.Redis.RedisClient'fromassembly'ServiceStack.Redis,Version=3.0.0.41978,Culture=neutral,PublicKeyToken=null'doesnothaveanimplementation.SourceError:Thesourcecodethatgeneratedthisunhandledexceptioncanonlybeshownwhencompiledindebugmode.Toenablethis,pleasefollowoneofthebelowsteps,thenrequesttheURL:1.Adda"Debug=true"directiveatthetopofthefilethatgeneratedtheerror.Example:<%@PageLanguage="C#"Debug="true"%>or:2)Addthefollowingsectiontotheconfigurationfileofyourapplication:<configuration><system.web><compilationdebug="true"/></system.web></configuration>Notethatthissecondtechniquewillcauseallfileswithinagivenapplicationtobecompiledindebugmode.Thefirsttechniquewillcauseonlythatparticularfiletobecompiledindebugmode.Important:Runningapplicationsindebugmodedoesincuramemory/performanceoverhead.Youshouldmakesurethatanapplicationhasdebuggingdisabledbeforedeployingintoproductionscenario.StackTrace:[TypeLoadException:Method'GetAllItemsFromSet'intype'ServiceStack.Redis.RedisClient'fromassembly'ServiceStack.Redis,Version=3.0.0.41978,Culture=neutral,PublicKeyToken=null'doesnothaveanimplementation.]_Default..ctor()+0ASP.default_aspx..ctor()+13__ASP.FastObjectFactory_app_web_ipy_fe_v.Create_ASP_default_aspx()+20System.Web.Compilation.BuildResultCompiledType.CreateInstance()+32System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPathvirtualPath,TyperequiredBaseType,HttpContextcontext,BooleanallowCrossApp,BooleannoAssert)+119System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContextcontext,StringrequestType,VirtualPathvirtualPath,StringphysicalPath)+33System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContextcontext,StringrequestType,VirtualPathvirtualPath,StringphysicalPath)+40System.Web.HttpApplication.MapHttpHandler(HttpContextcontext,StringrequestType,VirtualPathpath,StringpathTranslated,BooleanuseAppConfig)+160System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+93System.Web.HttpApplication.ExecuteStep(IExecutionStepstep,Boolean&completedSynchronously)+155--------------------------------------------------------------------------------VersionInformation:Microsoft.NETFrameworkVersion:2.0.50727.3634;ASP.NETVersion:2.0.50727.3634
解决方案
解决方案二:
怎么没人回复啊?
解决方案三:
请求服务端失败
解决方案四:
doesnothaveanimplementation你用接口调用没实例化吧。