本文介绍了缓存和CachesqlServer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在文档中读到,使用MS SQL Express和Code Contracts来缓存大型项目。它必须是Express,还是可以使用任何版本的SQL?如果你可以使用任何版本,怎么做?

I read in the documentation that use can use MS SQL Express with Code Contracts to cache large projects. Does it have to be Express, or can you use any version of SQL? If you can use any version, how?

我试图使用我们的Dev SQL 2008 R2数据库,但是出现了以下错误:无法打开缓存文件:System.Data.SqlClient。 SqlException(0x80131904):此版本的SQL Server不支持用户实例登录标志。连接将是
关闭。

I tried to use our Dev SQL 2008 R2 database, but got the following error: unable to open the cache file: System.Data.SqlClient.SqlException (0x80131904): The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

我搜索了错误和缓存但找不到任何有用的信息。我猜错了它必须是Express。我只想确定。

I searched the error and on caching but couldn't find any helpful information. I'm guessing from the error message that it has to be Express. I just want to be sure.

推荐答案

 你能尝试使用选项"-cachefilename< absolutepath>"来指定缓存的绝对文件名吗?额外的静态检查选项?

  can you try specifing the absolute filename of the cache using the option "-cachefilename <absolutepath>" in the extra static checker options?

谢谢

f


这篇关于缓存和CachesqlServer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 23:13