随笔分类 -  解决问题

摘要:decodebyte[] encryptedData = HttpServerUtility.UrlTokenDecode(urlEncodedData); Type machineKeySection = typeof(MachineKeySection); Type[] paramTypes = new Type[] { typeof(bool), typeof(byte[]), typeof(byte[]), typeof(int), typeof(int) }; MethodInfo encryptOrDecryptData = machineKeySection.GetMeth... 阅读全文
posted @ 2013-11-05 14:02 fannet
摘要:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.设置 command.CommandTimeout = 0在连接字串中添加Connect Timeout=120 阅读全文
posted @ 2012-07-09 17:04 fannet
摘要:System.ArgumentNullException : A type specific Set(position, val) should be called because the Type can not be guessed from a null value.出现此异常时需要为参数值为null时指定类型。query.SetParameter(position, null, NHibernateUtil.Int32); 阅读全文
posted @ 2012-06-06 10:58 fannet
摘要:有时visual studio toolbox 中的控件为灰色无法使用。解决办法:清除缓存,删除所有tbd文件win xp下\Documents and Settings\<user directory>\Local Settings\Application Data\Microsoft\VisualStudio\10.0\*.tbdwin 7下\Users\<user>\AppData\Local\Microsoft\VisualStudio\10.0\*.tbd 阅读全文
posted @ 2012-05-09 13:52 fannet
摘要:I won't bore you with the directors' cut of the past couple of hours. I'll just give you the highlights...Try each of the other services. No luck.Close and reopen solution. No luck.Close and reopen Visual Studio 2010. No luck.Reboot machine. "I'm lying. I wasn't that despera 阅读全文
posted @ 2012-02-09 16:29 fannet
摘要:在 sql2008中,当展开存储过程目录时出现:解决:直接按F7 ,在explorer中查看存储过程,可能存储过程太多的缘故。 阅读全文
posted @ 2011-05-04 16:08 fannet
摘要:错误信息:HTTP Error 500.19 - Internal Server ErrorDescription: The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code: 0x80070005 Notification: BeginRequest Module: IIS Web Core Requested URL: http://localhost:80/ProductsService/ProductsService.s 阅读全文
posted @ 2011-05-04 12:22 fannet