Archives
-
Correlation ID Error in SharePoint 2010
This error message is not new and I think most SharePoint admin/user see this message before. SharePoint 2010 display such message with a very long Correlation ID, which is indeed not very useful for debugging or tracing purpose.
-
Rename a SharePoint Server 2007
In order to rename a computer after an installation of SharePoint Server 2007 and SQL Server 2008 R2, you can:
-
Session Lost in iFrame (P3P Issue)
Problem: If you have iFrame or multiple frameset in your ASP.NET page, session is lost in the child frame.
-
Automate Backup of SQL Express Databases
It's a fact that no integration services and SQL agent available in SQL Express products, but it's a must to backup SQL Express databases in a timely basis. There is a very useful article describing how to do it with TSQL and Windows Schedule Tasks.
-
2010 MVP Award
Fantastic! This post is a memorable post for myself because I just got renewed on my MVP status in ASP/ASP.NET technology in 2010. :)
-
ASP.NET Vulnerability Update
Two updates from ScottGu regarding the recent ASP.NET Vulnerability:
-
ASP.NET Security Vulnerability (1.0 - 4.0)
It's very important, check it out if you haven't take any action yet:
-
EventSource and EventLog.WriteEntry
It's pretty easy to write an entry into Windows event log in ASP.NET
-
List all tables and their row counts
Just find few useful tips/tool when I try to compare the schema and content of two SQL databases:
-
Grant SPROC Permission to an Application Account
With the principle of least privilege of application / database account, web app normally uses a DB account with limited permission to specific database objects in Connection String.
-
Back Pressure Problem in ASP.NET Emailing
I got an error message about "Back Pressure" when I was developing a ASP.NET emailing function recently. The code and configuration are good and I have no idea what is this issue, so I search MSDN and found this page about what is "Back Pressure" (for Exchange 2010 by the way).
-
Tips: Merge multiple CSV files into one
-
Set focus to a TextBox (in a ModalPopupExtender)
I have a web page where couple of ModalPopupExtender and Panel exist, and I want to set focus to TextBox inside the corresponding pop up window when user click the target button accordingly. I think it's a common requirement to set the focus to a specific TextBox immediately when user open up the window. However, I always get the error message "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus".
-
Turn TextBox.Text to CAPITAL or small letter in CSS
I'm looking for a simple function that turn the text of a TextBox into capital or small letter, but most of the JavaScript I found are clumsy because of the incompatibility of script (including the inconsistent behavior of event.keyCode and event.which in different browser).
-
Preview a web page in different versions of IE
I used Multiple_IE in the past when I wanted to test and verify something of my developed web app across browsers.
-
JavaScript tips
I was writing a lot of jQuery and JavaScript this weekend, and two tips that I would like to jot down for future reference:
-
Register Schema Master in Active Directory
In order to view the complete schema in AD, I have to register the schmmgmt.dll and then open a snap in in MMC, the steps can be summarized as:
-
Expandable or Auto-Resize TextBox Height
Recently, I was asked to prepare a Facebook like expandable textbox in a ASP.NET web application, where user can input text and the textbox can be re-sized (more specifically the height) dynamically.
-
ASP.NET Tooltips Extender Control
Tooltips is always a good usability practice to display descripitve and meaningful message on UI, which provide guidance and extra information to users visually. However, I cannot find this kind of handy "control" in the latest version (40412) of the AJAX control toolkit. (Feature request?)
-
Enable Office Communicator Chat History in Outlook
I sent some information to a colleague via OCS 2007 R2 client recently, and I can't find it back when I look at my Outlook client today. Then I notice that the option of "saving chat history in Outlook" is disabled (by default) since I install OCS!
-
SQL Server Capacity Planner
Apart from the capacity planner tool for System Center and SharePoint Server, I was looking for a tool which can help me to estimate the capacity of SQL Server.
-
Multiple projects in Visual Studio 2008
This is obviously a well-known secret (option) in Visual Studio 2005 / 2008:
-
Install IIS 7 on Windows Server 2008 R2
IIS 7 is not installed on Windows Server 2008 R2 by default, and below is a good reference which helps us to add Web Server (IIS) role to the server.
-
Work with 64-bit VM in Windows 7
I attended a Microsoft Office and SharePoint 2010 HOL 1 day workshop last week and wanted to setup a VM to try the new features in my own laptop. The presenter in the workshop implicitly mentioned a tool called VirtualBox (because it's not a MS product?) but I have no clue what it is at that moment.
-
MSDN File Transfer Manager
I often visit MSDN site and download tools for my development / evaluation use, but I always interrupt the download process and forgot how to resume it. So it's nice to jot down the command as a reminder to myself that can start the MSDN File Transfer Manager manually:
-
System Center Capacity Planner 2007
With a recent case that I need to design the system infrastructure as well as the hardware specification of a SharePoint farm for a client, so I go and find the SharePoint Capacity Planner (CP) 2007 to stimulate a user model.