which country user step here?

Tag Cloud

MOSS (47) SharePoint 2007 (37) SharePoint 2013 (25) SharePoint 2010 (22) MOSS admin (17) PowerShell (17) admin (17) developer (16) List (15) WSS (14) sql query (14) MOSS SP2 (13) end user (11) scripting (11) wss V3 (11) Moss issue (8) search (8) permission (7) sql (7) Service Pack (6) database (6) reportadmin (6) workflow (6) Excel (5) RBS (5) client object model (5) CU (4) Client Code (4) Command (4) Cumulative Updates (4) IIS (4) Patch (4) SharePoint designer (4) stsadm (4) ASP.NET (3) Content Database (3) Groove (3) Host Named Site Collections (HNSC) (3) Tutorial (3) alert (3) batch file (3) codeplex (3) error (3) incomming email (3) restore (3) upload (3) user porfile (3) Caching (2) Folder (2) Index (2) Internet (2) My Site Cleanup Job (2) My Sites (2) News (2) People Picker (2) Share Document (2) View (2) Web Development with ASP.NET (2) add user (2) authentication (2) coding (2) column (2) deploy solution (2) domain (2) download (2) enumsites (2) exam (2) export (2) issue (2) june CU (2) load balance (2) mySites (2) network (2) office 365 (2) orphan site (2) performance (2) profile (2) project server (2) query (2) server admin (2) theme (2) timer job (2) training (2) web master (2) web.config (2) wsp (2) 70-346 (1) 70-630 (1) AAM (1) Anonymous (1) Approval (1) Cerificate (1) Consultants (1) Content Deployment (1) Content Type (1) DOS (1) Document Library (1) Drive Sapce (1) Excel Services (1) Export to Excel (1) Feature (1) GAC (1) Get-SPContentDatabase (1) Get-WmiObject (1) HTML calculated column (1) ISA2006 (1) IT Knowledge (1) ITIL (1) Install (1) Link (1) MCTS (1) Macro (1) Migration (1) NLBS (1) Nintex (1) Office (1) Open with Explorer (1) ROIScan.vbs (1) Reporting Services (1) SPDisposeCheck.exe (1) SQL Instance name (1) SSRS (1) SharePoint admin (1) SharePoint farm (1) Shared Services Administration (1) Site Collection Owner (1) Site template (1) Steelhead (1) URLSCAN (1) VLOOKUP (1) WSS SP2 (1) XCOPY (1) abnormal incident (1) admi (1) app (1) application pool (1) aspx (1) audit (1) availabilty (1) backup (1) binding (1) blob (1) branding sharepoint (1) cache (1) calendar (1) connection (1) copy file (1) counter (1) crawl (1) custom list (1) event (1) excel 2013 (1) facebook (1) filter (1) fun (1) group (1) iis log (1) import (1) import list (1) improment (1) interview (1) keberos (1) log in (1) metada (1) migrate (1) mossrap (1) onedrive for business (1) operation (1) process (1) publishing feature (1) resource (1) security (1) send email (1) size (1) sps2003 (1) sql201 (1) sql2012 (1) sub sites (1) system (1) table (1) task list (1) today date (1) vbs (1) video (1) web part (1) web server (1) widget (1) windows 2008 (1) windows 2012 R2 (1) windows Azura (1) windows account (1) windows2012 (1) wmi (1)

Monday, November 16, 2009

The hit counter (sharepoint designer) is not working for MOSS SP2

Issue with the hit counters no longer working in MOSS , this is one of the issues after MOSS SP2 deployment and happen.

Microsoft has confirmed that this functionality was a FrontPage Server Extension holdover from the previous versions of SharePoint and they never intended for it to continue working in MOSS.

The latest service pack (SP2) finally saw the removal of the hitcounter functionality from MOSS. Microsoft’s official recommendation is to use the Site Usage Reports (Site Actions –> Site Administration/Site Collection Administration –> Site/Site Collection Usage Reports)

Friday, November 13, 2009

SSP Search settings – Authentication failed because the remote party has closed the transport stream

Just now during the rebuild MOSS farm process we faced the problem half way, that is we are unable to log in to SSP serach settings , with error messageAuthentication failed because the remote party has closed the transport stream.

do some search at internet , about all is related is SSL. But first of while i think i am not use SSL should be not this issues... but at last get the detail from http://support.microsoft.com/?id=962928

After try the luck!!! yeah is working!!

Tuesday, November 10, 2009

Downloads from SharePoint Conference 2009

  • Master-PowerShell with Dr. Tobias Weltner (free 500 page eBook)
  • Getting started with business intelligence in SharePoint Server 2010 (downloadable poster)
  • Design Search Architectures for Microsoft SharePoint Server 2010 (downloadable poster)
  • Organizing Information in SharePoint (video)
Just keep this for my future references  , in coming 6-10 months i will not touch any sharepoint. I will go to explore about Oracle. :) Due to Job Role change i need to pick up Oracle skill, so coming few month i will starting sharing  about the Orcale.

Anyway i will be back to SharePoint!!!

Thursday, November 5, 2009

How to create a page and add a hit counter in SharePoint Designer 2007

Want to know how many hit on your MOSS site? yeah..just add the hit counter as simple step with SPD2007:
here you go : ( opss after the simple step is not showed at moss sites!! ha ha, but i think i working for majority...i will try to found out why i cannot see the counter!!)

How to create a page and to add the hit counter

To create a page and to add a hit counter to the page, follow these steps:
  1. On a Web server that is running Microsoft Internet Information Services (IIS) or Microsoft FrontPage Server Extensions 2002, start SharePoint Designer 2007 or FrontPage 2003, and then open a Web page.
  2. Start a new page. To do this in SharePoint Designer 2007, click the New Document button on the toolbar.

    To do this in FrontPage 2003, click the New Page button on the toolbar.
  3. In Page view at the bottom of the document window, click Design.
  4. Put the insertion point where you want to create the hit counter.
  5. On the Insert menu, click Web Component.
  6. Under Component type, click Hit Counter.
  7. Under Choose a counter style, double-click a hit counter style, and then click Finish.
  8. To set the counter to a specific number, click to select the Reset counter to check box, and then type the number.
  9. To display a fixed number of digits in the hit counter, click to select the Fixed number of digits check box, and then type the number.

    For example, to display the hit counter as "00#" instead of as a single or double digit, click to select the Fixed number of digits check box, and then type 3.
  10. Click OK.
Note To add a hit counter to your Web site, your site must be located on a IIS server that is running Microsoft FrontPage 2002 Server Extensions, Microsoft SharePoint Team Services version 1.0, or Microsoft Windows SharePoint Services. Ask your Web server administrator or Internet service provider (ISP) whether your server is running these technologies.

How to use the hit counter on the page

To use the hit counter on the page, follow these steps:
  1. Put the insertion point before the hit counter object on the page.
  2. Type You are visitor followed by a space.

How to save and to preview the page

To save and to preview the page, follow these steps:
  1. On the File menu, click Save.
  2. Name the file CounterText.asp, and then click Save.
  3. On the File menu, point to Preview in Browser, and then specify the option that you want.
  4. Click Preview.
If you refresh the page in your browser, you will see the hit count value increment.

NoteBecause the output from the hit counter object is text, the hit counter changes when you change the fonts and colors for the page.

How to reset the hit counter

To reset the value of the hit counter, follow these steps:
  1. In Page view, at the bottom of the document window, click Design.
  2. Double-click the hit counter.
  3. Click to select the Reset counter to check box, and then type a number in the box.
  4. Click OK.

Thursday, October 22, 2009

Batch file command to call other batch file!

hi hi, is a very simple batch file command learn today . just keep for future reference. Just now thinking to run few batch file automatically. So try to write one batch file to make it auto.

script as below :

call batchfile1.bat
call batchfile2.bat

save this batch file as .bat file will do.. the magic keyword is CALL!!

Thursday, October 1, 2009

Use PowerShell ADSI provider to add domain group to Local Admin group

ha ha, as i am not Domain administrator so not using much script to add user. This morning have one task need me to add some security team  to 5 server, so thiking to try about the powershell. so below is the simple script have created : (is not perfect but is working fine :) )
*servers.txt is all your servers name going to add in.

$serverList = 'C:\servers.txt'
$names = get-content $serverList
$Admins = [ADSI] 'WinNT:///'
foreach ($name in $names)
Write-Host 'Adding Admins to' $name
#get the local group
$localAdminGroup = [ADSI]("WinNT://$name/Administrators")
#add the global group to the local group

This script have a bug , that is once the group is available at the target server then will stop and give error :). ha ha , either u write the if statement to catch it or just make sure all your server is not exist the name you want to add . ha ha..is simple, but is very fun for me to find out it.

Sunday, September 20, 2009

the issues i have faced after deploy MOSS SP2

After deploy MOSS SP2 to QA environment i have faced 3 issues :
  1. Telerik Radeditor not working as normal at Mac client with Safari.
  2. Foxit PDF i0Filter is not working
  3. Some changer on the layout folder, so our layout customization lost some imagine.
  1. no solution yet, still checking at telerik forum.
  2. Reinstall the PDF i-filter and start full crawl
  3. Developer help to move the image to right folder

Monday, September 14, 2009

How to check the document have index to index server.

Let say you want to check the file you have uploaded is index to index server or not, you can go to Shared Services Administration --> Search administration --> Crawl Log --> Select the Host name you want to check --> Type the path you want to check to Find URLs that begin with the following hostname/path: ( exp : abc.com/sites/test/share document)

At last click on the Filter then go to search your file at the log.

if you not see the your file not propagate, you can go to run incremental

then chek you log file again. Done

Friday, September 11, 2009

Index and search at MOSS

oh no!! get crazy with my lab server for the index and search problem!! after few day on testing and google , i able to understand some concept. Just want to keep the record here for future reference.

what is search server ? as i understand is copy the index file from index server and keep and search server, when user do the search query.

How to reset the search server propagation file ? is simple step , stop the office at central admin -> operation -> services on server -> office SharePoint Server Search ( on top select the server you want to reset)--> click on the Action Stop --> go to the index file delete the folder --> click the action start the search service. At this moment the search server will pull the propagation from the index server.

what is index server ? Index server is the server to do pull the indexing data from SQL and keep it at index server then propagation to all search server.

how to reset the index ? go to SSP --> Search administration --> Reset all crawled content --> click Reset Now. After reset all the index will become Zero (nothing) , so you need to start the Crawl. Go to Content sources ->click on the Start full Crawl under the Local Office SharePoint Server sites. then waiting the crawl, if you have alot content will take up few day to complete it.

yeah..this is what i want to share about the index and search .. :) . if you want to find specify file have crawl or not you can check onw the Crawl log.

Wednesday, September 9, 2009

ULS logs

ULS logs what is that? hi hi.. just get to learn new log related with MOSS operation. I have not much trouble shooting for MOSS at server , normally all the time look at event viewer log then will resolved the problem. This ULS logs can track the communication between moss with SQL so you can know what is going on the query.

You can use your server's Unified Logging Service (ULS) logs to troubleshoot queue issues in Microsoft Office Project Server 2007. The queue entry information in ULS logs is especially useful in conjunction with the information in the Manage Queue page in Project Web Access, or with Windows Server Event Viewer.

you can get more detail here:

This article describes:

  • How to configure ULS log-file settings

  • How to configure Microsoft Office Excel 2007 to view ULS log files

  • How to search for specific queue jobs in the ULS logs

  • Types of queue job entries in the ULS logs

  • Queue entry parameters

  • Best practices for troubleshooting queue issues

Thursday, August 27, 2009

Use program to create attach\detach script file

If you are working on MOSS Large farm then i think you will need to create some script to detach\attach your content DB.

As i have share before the step by step to deploy MOSS SP2 blog have share about the great coding to help us to generate the share file. After try on this , i feel great!! is really very simple and usefull code for us to generate the batch file for script. Thanks to CJG.

The reasons i like to use to detach and attach the DB becuase :
  1. Is a very faster way to get the latest update information at our farm
  2. Auto generate the latest script ( no need manually create the script one by one)
  3. with the simple coding we can edit it accordingly to our need

You can also create a command line utility to do this:
  • Open Visual Studio
  • Click “File->New Project”
  • Select “Console Application”
  • For name, type “ContentDetachAttachScript”
  • Copy the following into the program.cs file:

using System;
using System.IO;
using System.Collections.Generic;
using System.Text;

using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;

namespace ConsoleApplication1
class Program
static void Main(string[] args)
TextWriter tw = File.CreateText("C:/detachall.bat");
TextWriter tw2 = File.CreateText("C:/attachall.bat");

SPFarm farm = SPFarm.Local;
SPAlternateUrlCollectionManager mgr = farm.AlternateUrlCollections;

foreach (SPAlternateUrlCollection altColl in mgr )
foreach (SPAlternateUrl url in altColl)
if (url.UrlZone == SPUrlZone.Default)
SPSite site = new SPSite(url.IncomingUrl);

SPWeb root = site.RootWeb;
if (root.WebTemplate != "CENTRALADMIN")
//get the web application for the site collection
SPWebApplication webApp = site.WebApplication;

foreach (SPContentDatabase cd in webApp.ContentDatabases)
tw.WriteLine("stsadm -o deletecontentdb -url " + url.IncomingUrl + " -databasename " + cd.Name + " -databaseserver " + cd.Server);

tw2.WriteLine("stsadm -o addcontentdb -url " + url.IncomingUrl + " -databasename " + cd.Name + " -databaseserver " + cd.Server);

//Console.WriteLine("Content Database [" + cd.Name + "] was detached");


catch (Exception ex)


Console.WriteLine("Press enter to close");


    • Compile the program, press F6
    • Copy the executable to your SharePoint Farm
    • Run the executable
    • Open the C:\detachall.bat file , this file will contain all the stsadm commands that will detach all your content databases
    • Open the C:\attachall.bat file, this contains all the stsadm commands to reattach your databases (NOTE: you should attach one at a time in the later steps).

Monday, August 10, 2009

Improve the upload/Download speed for MOSS at diffrent Location

Recently have faced one problem...maybe cannot say is problem... Let me share with you the scenario here. Let say you have one MOSS server at US, then the client upload/Download file from US is slower than the client from Europe user. DO you think this is problem ?

After do some investigation, just found out our organization is add in Steelhead to our WAN system. The steel head help alot as what you see the testing report at below.

do not have steelhead

steel head available


8m above( cause respond time out)





*this testing is base on 45M notepad file
*respond time out due to take too long to upload ( you can change the setting and web config ) or you can use the multiple upload file to resolved this issues.

**steelheed conside as one of the tool for WAN optimization or accelerator.