Abp项目InternalServerError,SimpleStringCipher.Decrypt()找不到
来源:互联网 发布:苹果数据接口转usb 编辑:程序博客网 时间:2024/06/05 04:42
从ABP框架官网(http://www.aspnetboilerplate.com/),自动生成了一个解决方案,按步骤配置好之后,没有报任何错误,但运行打开的网页却显示“InternalServerError”。后来通过Test中提供的单元测试测试代码发现问题:
System.MissingMethodException : 找不到方法:“System.String Abp.Runtime.Security.SimpleStringCipher.Decrypt(System.String, System.String, Byte[])”。
后在官方问题2070中找到答案。
If we encrypted a text before upgrade to v2.0, we can not decryt it with v2.0 even if we use the same encryption key. This happens because SimpleStringCipher is changed to be able to support .netstandard and introduces a Salt argument.
Solution: We will use the old code for .net46 and new code for .netstandard1.6. Thus, upgrading will not cause problems. If you then want to switch to .net core, you need to develop a tool that makes the conversion. We may create such a code to help to the community.
解决:
我们只需要将Abp.Zero升级到与ABP v2.0.2兼容的Abp.Zero v2.0.2即可
- Abp项目InternalServerError,SimpleStringCipher.Decrypt()找不到
- ABP项目搭建实例教程
- abp项目之旅
- ABP项目搭建实例教程[1]--ABP框架搭建
- ABP Asp.net(c#) 找不到组件问题的解决
- ABP(ASP.NET样板项目)的学习资料链接
- abp项目中无法使用HttpContext.Current.Session[""]的问题
- NET使用ABP框架搭建博客项目(一)
- ABP框架搭建项目系列教程基础版
- Abp项目模板使用Oracle数据库包括系统权限管理
- 项目中 session 找不到
- 部署时候找不到项目
- decrypt与encrypt
- decrypt[3] binary
- decrypt[7] Custom Encryption
- hdu3809 Decrypt coordinate 迭代法
- Encrypt and Decrypt
- How to Decrypt 802.11
- 2017多校训练第二场 hdu6045 Is Derek lying
- SpringData查询过程解析
- BZOJ 2565: 最长双回文串 manacher
- 将集合中的学生信息按照学生的年龄升序排列
- web开发工具
- Abp项目InternalServerError,SimpleStringCipher.Decrypt()找不到
- 正则表达式
- C++多态
- IE浏览器下AJAX缓存问题导致数据不更新的解决办法
- android webview无法上传文件的解决方案
- 详解LAMP源码编译安装
- Python定时任务的实现方式
- AVL树的基本操作 C++
- HDU-6040 Hints of sd0061