ASP.NET News from Blogger: Colt Kwongs Blog   Get the feed of: Colt Kwongs Blog

Total News: 130

Microsoft Server Products in Virtualized Environment

When designing solutions to different customers, a common question that I had heard is whether software X supported in virtualized environment? What about server product Y and Z supported as well? Bel...

Lync 2010 Mobile Clients

I used both Microsoft OCS 2007 and Lync 2010 at work and at Microsoft network. It's good to see that the official Lync 2010 clients for Windows phone is released: http://blogs.msdn.com/b/nandal/archiv...

My 10th Consecutive Microsoft MVP Award

I'm delighted and proud to receive a parcel recently because I got my 10th MVP award token last week! It's my 10th MVP award and I saw different kinds of trophies and souvenirs over the past...

The First SharePoint Conference in Hong Kong

The first time ever SharePoint conference is going to be happened this Friday (Hong Kong time). I just registered and the agenda looks great. There are couple of speakers fly in and deliver sessions r...

Download SharePoint 2010 Pre-Requisites by PowerShell

Recently I come into a situation that SharePoint 2010 need to be installed in a standalone server (no Internet connectivity), and luckily I found this PowerShell script, which downloads all SharePoint...

Crawl Rules Tips in SharePoint 2010

Manage Crawl Rules in SharePoint  SharePoint admin can include or exclude specific URL during the content crawling stage. The content in SharePoint will be crawled periodically so that that searc...

Obtain SharePoint 2010 Total Sizes by PowerSehll

I got a request to retrieve the usage and total size of SharePoint sites by a client and luckily I found this PowerShell scripts: http://get-spscripts.com/2010/08/check-size-of-sharepoint-2010-sites.h...

Crawl PDF Files in SharePoint 2010

Go to Adobe PDF iFilter web pageDownload PDF iFilter for 64-bit PlatformExtract and Install iFilterRun RegEdit and modify Filter (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\...

Associate PDF icon to PDF documents in SharePoint 2010

Go to http://www.adobe.com/misc/linking.html Download PDF small icon (17 x 17)Save it to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGESEdit DocIcon.xml un...

Disable User Account Control (UAC) in Windows 7

User Account Control (UAC) may affect the scheduling of custom script in your workstation. If you have prepare a custom script that want to put into Windows and let it run periodically (such as the Wa...

Warm up script for SharePoint 2010

A very common request for all SharePoint 2010 administrators is a warm-up script that could keep the SharePoint warm and in good performance condition. Due to the fact or JIT, SharePoint administ...

ULS Viewer Tool

Referring to the CorrelationID in SharePoint or any other ULS logs, ULS viewer is the must-have tool for all administrator or developers because it displays all logs content in a user-friendly way, li...

Network Speed Test Files and HTTP Monitoring

In order to test the network connectivity and network speed for a client, sample files are required for download/upload and monitor the traffic in the meantime. Personally, I use HttpWatch a...

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 ...

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: Rename a Computer: My Computer > Properties > Computer name > Change settings &...

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.Session ID: If you use Response.Write to show the Session.SessionID of your page, you'd notice...

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 h...

ASP.NET Vulnerability Update

Two updates from ScottGu regarding the recent ASP.NET Vulnerability: Revised Workaround - URLScanWindows Update...

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. :)Dear Colt Kwong,Congratulations! We are pleased to present you with...

ASP.NET Security Vulnerability (1.0 - 4.0)

It's very important, check it out if you haven't take any action yet:http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspxhttp://www.microsoft.com/technet/sec...

EventSource and EventLog.WriteEntry

It's pretty easy to write an entry into Windows event log in ASP.NETFor example, EventLog.WriteEntry("AppName", YourMessage, EventLogEntryType.Error)However, if you don't have sufficient rights and ...

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: DBComparer (free)Find out DB lock: select distinct object_name(a.rsc_objid), a.req_spid, b.loginame fr...

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. Manually typing o...

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 ...

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 i...

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 in...

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. Today, I try to download the Microsoft Expression Web SuperPreview for Windows Inter...

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: 1. Place open brace on new line in Visual Studio I used to place open brace ...

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: Go to CMD> Windows System Folder > System32 fold...

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) dynamica...

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 ...

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. I found an article on Microsoft.c...

Multiple projects in Visual Studio 2008

This is obviously a well-known secret (option) in Visual Studio 2005 / 2008:  After creating a Web project in Visual Studio Go to Tools > Options > Show All Settings > Projects ...

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. Install IIS 7 on Windows Server 2008 or Win...

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 t...

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 t...

Saving changes is not permitted in SQL 2008 Management Studio

I worked with SQL 2008 in a recent project, but I got the following message whenever I try to make change to a table structure in SQL management studio: Saving changes is not permitted. The changes y...

Name variable meaningfully all the times

I'm rushing for a SharePoint POC before my vacation next week, and what I have to do is a standard scenario by creating a grid listing items from a custom list, then users click on the first...

Best Practices Webcast by INETA APAC

INETA APAC had conducted two webcasts in the last two months, the topics are: Presenting at large events such as TechEd (by Greg Low) Sustainability and Green IT Overview (by Alan Dayeh)  The fi...

Data Refresh Failed in Excel Services

I prepared a SharePoint Report Center portal by using SharePoint 2007 recently, but I was unable to refresh the Excel workbook on my portal and got an error message: Unable to retrieve external data ...

PowerShell Script with ASP.NET and Console Application

I have two projects that need to incorporate Windows PowerShell, Exchange Management Shell and ActiveRoles Management Shell for AD (by Quest) in a ASP.NET and a Console Application recently,...

ASP.NET MVP Award and MVC

I still don't have a chance to blog about my personal achievement recently - I got my MVP status renewed on Oct 1! Yes, it's a great news for myself and I enjoyed it so much since 2001. BTW, I'm...

Activate SharePoint Publishing Infrastructure Feature Failed

In a recent deployment of a SharePoint site, I have to add a Content Query Web Part (CQWP) so what I need to do is to activate the SharePoint Publishing feature. However, I cannot do it because of an ...

VS 2008 and ASP.NET 3.5 SP1

With the release of the SP1, I refresh my local Web developer tool this weekend. :) Also, please check out the VS 2008 preparation tool and install the MVC Preview 4 explicitly....

SharePoint Error: Some or all identity references could not be translated

I create numerous SharePoint sites with the same port number in my virtual machine frequently during envisioning / POC phrase, and I face an error when I try to re-create the same Web app in SharePoin...

Misleading Error Message about Trial Period Expiration in MOSS

A very misleading error message that I came across last week.. Trial period of my MOSS has expired? No way.. check out the permission and security settings first....

Microsoft DreamSpark - Free Professional Tools for Students

Just see this DreamSpark program on the Visual Studio home page and it is definitely a good news for students. (Personally, I'm glad to see that this program covers and beneficial to student...

Enable SmartPart with AJAX in SharePoint

I just try SmartPart and enable AJAX functionality in SharePoint tonight, here are few notes:1. Download and install SmartPart (make sure SmartPart is deployed and affect all WSS sites as shown in the...

Provisioning User to ADAM in ILM2007

I just finish provisioning a user object to ADAM from AD today, the process is pretty smooth and below is the first piece of codes that I wrote for the metaverse rule extension in ILM2007.  // Pr...

IIS Feature is missing during SQL 2005 Installation

This is not the first time for me to see this message, so I think it may be a good idea to blog about it for future reference. The error message should be: Microsoft Internet Information Services (I...

View Other bloggers