C#连Redis报错请高手指点

问题描述

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你用接口调用没实例化吧。

时间: 2024-08-03 07:04:43

C#连Redis报错请高手指点的相关文章

请问我在.aspx页面中定义的控件,比如&amp;amp;lt;asp:label&amp;amp;gt;等,在.aspx.cs页面中去不能引用,运行老是报错,请高手指点是怎么回事,小弟很着急!

问题描述 请问我在.aspx页面中定义的控件,比如<asp:label>等,在.aspx.cs页面中去不能引用,运行老是报错,请高手指点是怎么回事,小弟很着急! 解决方案 解决方案二:1新建一个网站(VS2005),在设计图中拖入一个Label控件放上去;2在后台.cs文件中,this.Label1.Text="test",即可运行;注:放入的控件会按次序命名为,控件后加编号,如第一个Label就是Label1;

visual c++-新手Visual C++ 2008编译汇编报错求高手指点!来人啊

问题描述 新手Visual C++ 2008编译汇编报错求高手指点!来人啊 正在创建临时文件"c:Documents and SettingsfengyuMy DocumentsVisual Studio 2008ProjectsmasmmasmDebugRSP00000F16563976.rsp",其内容为[/OUT:""C:Documents and SettingsfengyuMy DocumentsVisual Studio 2008Projectsmasm

调试-新手Visual C++ 2008编译汇编报错求高手指点!来人啊

问题描述 新手Visual C++ 2008编译汇编报错求高手指点!来人啊 正在创建临时文件"e:huibianmasmmasmDebugBAT00000135563700.bat",其内容为 [ @echo off ml.exe /c /nologo /Fo""Debug10.obj"" /I ""C:lnclude"" /W3 /Zi /errorReport:prompt /Ta.10.asm if

用SQLyog链接的mysql数据库创建表的时候报错--请高手解决。

问题描述 第一张:第二张;:第三张:上面三张图是我再使用SQLyog,创建表的时候遇到的,只要一创建表就会报错.不知道什么原因.第二张图是报错的图,第三张图是报错的具体信息.....希望高手能帮我解决下. 解决方案 解决方案二:先只建一个带id主键的表,看看会不会报错.如果不报错在添加其他字段.看添加哪一个字段时报错.

使用EF查询数据是报下面的错,请高手指点

问题描述 使用EF查询数据是报下面的错,请高手指点 "System.InvalidOperationException"类型的异常在 EntityFramework.dll 中发生,但未在用户代码中进行处理 其他信息: The specified cast from a materialized 'System.Guid' type to the 'System.String' type is not valid. 解决方案 newid函数返回guid,和你的string类型不兼容.

java-myeclipse8.6下报错,请高手指点,谢谢

问题描述 myeclipse8.6下报错,请高手指点,谢谢 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loa

opencms 报错-opencms9.5报错,请高手指点多谢

问题描述 opencms9.5报错,请高手指点多谢 解决方案 的alkacon opencms安装向导不可用!激活向导,开启"opencms.properties" 上面是机器翻译,你看下opencms.properties的配置是不是有什么不对?

sfs2x-求救!mac 装smartfoxserver报错,高手请指导!!

问题描述 求救!mac 装smartfoxserver报错,高手请指导!!

源代码-COM控件编译连接成功 但手动编译总是失败 请高手指点下

问题描述 COM控件编译连接成功 但手动编译总是失败 请高手指点下 这几天做COM技术内幕第10章的例子,手动编译时碰到了麻烦,请高手指点下! 问题如下:(我用的是VS2013C++) 这一章的例子用到手动编译,我这方面没经验,总是出错,于是就想到把客户端,COM控件, 代理DLL,本地服务器分别用VS2013在IDE下做出来,前面的客户端,和COM控件我做出来 了,但COM控件手动编译总是出错.这个问题困了我好几天了,资料查了好多,但手动编译总是过不去. 下面是我的Makefile文件的内容: