- 博客(15)
- 资源 (2)
- 收藏
- 关注
原创 Visual Studio / MSBuild - 编译时根据编译条件动态引用项目及复制重命名编译输出文件
项目需求1:主程序需要引用一个资源项目,根据编译配置 Visual Stuido中的Configuration Manager的不同,选择引用不同的资源项目可在项目文件.csproj中添加如下内容: {7A3F6F20-D083-4B7C-8B17-8091CDE95E20} TargetLanguageThai
2013-11-29 00:07:27 4490
原创 Kendo UI MVC Grid - 通过Data Annotation实现只读数据列
You cam mark the field on your data model class with“Editable(false)” attribute, thus this field will be read only using System;using System.Collections.Generic;using System.Linq;using System.Web;usin
2013-11-25 17:30:37 2227
原创 TFS - AT - Reporting配置 - 因为有正在运行的作业导致,"编辑"无法使用
数据库:tfs_configuration清除 tbl_JobQueue 可以解决。注意:需要评估清除Job的风险参考:http://social.msdn.microsoft.com/Forums/vstudio/en-US/9fa3a3b1-8c4a-400c-a19c-a29c2e0f21eb/tfs-reporting-services-jobs-stuck-in-processing-q
2013-11-21 13:56:50 1618
原创 SQL恢复备份遇到错误 - his differential backup cannot be restored because the database has not been restored
恢复数据备份时遇到的错误:"This differential backup cannot be restored because the database has not been restored to the correct earlier state"可查询备份历史,验证备份文件序列是否正确。在数据库中查询备份历史,可使用来自http://jasonbrimhall.info/2012/1
2013-11-21 11:59:46 2723
原创 SQL报表 - URL传参
使用ReportServer URL并通过URL传递报表参数:参考http://msdn.microsoft.com/en-us/library/ms155391.aspx如何给多选参数传递多个值:&Parameter1=value1&Parameter1=value2&Parameter1=value3参考http://stackoverflow.com/questions/1261433/pa
2013-11-20 14:12:16 1362
原创 ASP.NET MVC - Windows集成验证问题
ASP.NET 4.0 问题: 启用Windows Auth,页面请求总是跳转到一个Login.aspx页面解决:在web.config中添加以下配置到appSettings中 add key="autoFormsAuthentication" value="false" /> add key="enableSimpleMembership" value="false"/>参考:http:
2013-11-19 22:53:05 3664
原创 System.Data - System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the r
项目环境:ASP.NET 4.5 + Entity Framework开发机上一切正常,部署到服务器Win2008 则遇到System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types异常堆栈信息显示是System.Data部分抛出异常,类似问题如:http://con
2013-11-17 01:58:59 4657
原创 IIS - css, images下载到客户端都是空文件问题
检查Windows Features是否还没启用 "静态内容" Internet Information Services > WWW Services > Common HTTP Features > Static Content参考:http://serverfault.com/questions/115099/iis-content-length-0-for-css-javascript-a
2013-11-15 15:23:16 1661
原创 TFS 恢复备份若干问题
环境: TFS 2012 Update 1问题1: 备份数据库源存放于网络路径,恢复数据库遇到错误:network not found原因:恢复操作最后一步需要写入备份配置文件,由于没有权限导致失败Backups.xmlConfigPT.xml问题2:恢复数据库后,配置报表失败,打开浏览器检查ReportService站点,错误显示"reporting service installation i
2013-11-14 15:08:06 1799
原创 如何创建没有任何界面的Windows Form程序
为什么需要没有界面的Win Form程序?比如,需要创建一个Out-Of-Proc的COM Server应用程序(exe),这个COM Server只是公开一些方法被其他程序调用,不身不需要任何界面。如何实现:A. Creating the project Step1. Create a Visual Basic / Windows / Console Application project n
2013-11-08 11:42:49 2185
转载 JQuery - 点击浏览器后退键时发出警告
jQuery(document).ready(function ($) { if (window.history && window.history.pushState) { $(window).on('popstate', function () { v
2013-11-07 16:48:26 13889
原创 Telerik ASP.NET Ajax RadGrid - 如何实现双击行触发ItemCommand
telerik:RadGrid runat="server" ID="listGrid" GridLines="None" AutoGenerateColumns="false" Width="100%" AllowFilteringByColumn="true" AllowSorting="true" AllowPaging="true" Al
2013-11-07 15:54:17 3029
原创 TFS - Analysis 数据库问题
问题1: 通过还原TFS数据库,新创建AT及新建tfs_Analysis数据库,数据库没有定时Process去刷新数据。问题2:修改tfs_Analysis文件路径后,没有定时Process去刷新数据。解决:手动调用TFS web service触发一次增量Process,后续Processhttp://msdn.microsoft.com/en-us/library/ff400237.aspx
2013-11-07 15:16:52 2302
原创 Tip - 如何解决ASP.NET RadEditor 没有将Content post back
in Version 2013.2.717.45 IE10 not working but Chrome worksHow to fix: http://www.telerik.com/support/kb/aspnet-ajax/editor/radeditor-content-not-saved-after-ajax-update-in-ie9-firefox-google-chrome-an
2013-11-06 17:31:28 1356
原创 TFS 性能
1. tfs admin tool: http://your-server:8080/tfs/_oi/reference: http://blogs.msdn.com/b/granth/archive/2013/02/13/tfs2012-new-tools-for-tfs-administrators.aspx2. other tools:reference: http://msmvps.com
2013-11-06 17:08:28 1977
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人