how to hiding “View All Site Content” on WSS 3.0

Sharepoint No Comments »

Hiding “View all site content” on the Quick Launch Bar

<style>
.ms-quicklaunchheader{display: none;}
</style>

Powered by ScribeFire.

How to upgrade WSS 2.0 to WSS 3.0

Sharepoint No Comments »

Consider the following scenarios that occur when you upgrade Microsoft Windows SharePoint Services 2.0 or Microsoft Windows SharePoint Services 3.0:

  Scenario 1
You install Windows SharePoint Services 2.0 Service Pack 1 (SP1). After you do this, the version number that is listed in Site Settings is not updated to the version number for the latest updates or for the latest Windows SharePoint Services 2.0 service pack. For more information about how to obtain the Windows SharePoint Services 2.0 major release versions, see the following Microsoft Knowledge Base article:

875358 (http://support.microsoft.com/kb/875358/) You must update all the Web servers that are running Windows SharePoint Services in a Web farm

  Scenario 2
You upgrade from Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0. If you detach the Windows SharePoint Services 2.0 database before the upgrade has completed, the upgrade is not completed successfully.
  Scenario 3
You use the gradual method to upgrade from Microsoft SharePoint Portal Server 2003 to Office SharePoint Server 2007 or from Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0. However, the upgrade is not completed. When you view the Central Administration Web site under Administrative Tasks, the upgrade status displays Job Pending.
  Scenario 4
You try to perform an inplace upgrade of SharePoint Portal Server 2003 to Office SharePoint Server 2007. However, the upgrade is not completed. When you view the Central Administration Web site under Administrative Tasks, the upgrade status displays Job Pending.

How to move a WSS website using Frontpage 2003

Sharepoint No Comments »

Use the Packages feature to export and to import a Windows SharePoint Services Web site

You can use the Packages feature to move a Web site as empty content. When a Web site is moved as empty content, list data that is part of the original Web site does not move with the Web pages in the package. However, documents in a document library are packaged and will be moved with the Web pages in the package.

To use the Packages feature to move a Windows SharePoint Services Web site from one server to another, follow these steps:

1. Start FrontPage 2003, click File, and then click Open site.
2. In the “Look In” list, locate your source Web site, and then click Open.
3. Click Tools, click Packages, and then click Export.
4. In the “Files in Web site” list, click the Web site folder, and then click Add.
5. Click OK.
6. In the Save in box, click the folder where you want to save your Web package, click Open, and then click Save.
7. When you receive the message that states that the Web package has been saved, click OK.
8. Click Tools, point to Packages, and then click Import.
9. In the “Look In” list, open the folder where you saved your Web package, click the Web package file, and then click Open.
10. In the Destination box, type the URL of the Web server where you want to import the Web site package.

Alternatively, you can click Browse to locate the Web server where you want to import the Web site package.

11. Click Import.
12. In the Security Warning dialog box, click Yes.
13. In the Web Package Your_Package_Name deployment complete dialog box, click OK.

Read the rest of this entry »

Create daily backup on sharepoint site

Sharepoint No Comments »
dim dayweekdim strBackup dayweek = datepart("w",(date)) strBackup = """C:Program FilesCommon FilesMicrosoft Sharedweb server extensions60BINstsadm""" + _
"-o backup -url http://companyweb -filename x:backupscompanyweb" + cstr(dayweek) + ".dat -overwrite"
 Set WshShell = WScript.CreateObject("WScript.Shell") Return = WshShell.Run(strBackup, 0, true) Set WshShell = Nothing

To add this script as a scheduled task, follow these steps:
1. Open Control Panel.
2. Double-click Scheduled Tasks.
3. On the File menu in Scheduled Tasks, point
to New, and then click Scheduled
Task
.
4. Type a name for the scheduled task, such as
Companyweb Backup.
5. Double-click the new task to open the task
properties.
6. In the Run box, type cscript
Drive:\Wssback.vbs
.Note In this step, Drive is the location of
the Wssback.vbs file.
7. Click Set password, type the password for
the user account that the task will use in the Password box
and in the Confirm password box, and then click
OK.
8. Click the Schedule tab, configure the
appropriate schedule, and then click OK.
9. To test the scheduled task, right-click the task, and then
click Run. After the task runs, visit the location that you
specified for the backup file to verify that the script created the file.

Powered by ScribeFire.

how to configure usage analysis processing on WSS 3.0

Sharepoint No Comments »

To turn on Windows SharePoint Services usage logging in an Office
SharePoint Server farm, you must first turn on Usage Analysis
Processing in Windows SharePoint Services 3.0, and then turn on
Advanced Usage Analysis Reporting service in Shared Services
Administration. To do this, follow these steps:

1. Click Start, point to All
Programs
, point to Administrative Tools, and then
click SharePoint 3.0 Central Administration.
2. On the Central Administration page, click Operations.
3. On the Operations page, under Logging and Reporting, click Usage Analysis Processing.
4. In the Logging Settings section, click to
select the Enable logging check box.
5. In the Log file location box, type the
location where you want to store the log file. The default location
for the log file is \Program Files\Common Files\Microsoft Shared\Web Server Extension\12\Logs.
6. In the Number of log files to create box,
type a number between 1 and 30.In general, use a number that is one
to three times the number of database servers in your server farm, with a
maximum number of 30 log files.
7. In the Processing Settings section, click
to select the Enable usage analysis processing check box.
8. Under Run processing between these times
daily
, specify the range of times to start the usage analysis log
processing.In the Start box, select the earliest
time of day to start running log processing. In the End box,
select the latest time to start running log processing.
9. Click OK.

Powered by ScribeFire.

Error on Search Services WSS 3.0

Sharepoint 2 Comments »

Thank
you for your suggestion. I did as you suggested, and stopped the
Windows SharePoint Services Search. When I did the standard search, it
worked normally. When I did the Search: This Site, I got a message I
had not gotten before…. It was

Your search cannot be completed because this site is not assigned to an indexer.

I
restarted the SharePoint Services Search, but still got the same
error. So I looked up what I needed to check to verify my Indexer
settings and found the following: “To start it, you have to visit your
content database in Central Admin Application Management. In the
SharePoint Web Application Management section, click on Content Databases. This should expose your content database for the farm.”

So
I did just that. I went to Application Management on the Central
Administration site and clicked on Content Databases. I saw my
database; WSS_Content and clicked on it to view the settings. Sure
enough, the Search Server (Indexer) was not selected. I chose my index
server (my only SP server) and clicked OK. I retried the Search: This
Site, and got a message that there were no results to be found!!! Woo
Hoo!!! No error message!!!

I
stopped and restarted my Content Crawls by going to Shared Services
Admin>Shared Services>Search Settings (under Search)>Content
sources and crawl schedules. I have 3 sources; the SP server and
sites, a shared folders directory, and the Exchange Public Folders
directory. I stopped and started the crawl on all 3 and then tried the
Search: This Site once again…… Success!!!! I am getting search
results now.

Unfortunately,
I do not know if this was the actual root cause of the problem I was
experiencing with the Search: This Site function. I had not been
getting an Indexer error previously. This one is a head
scratcher….. I am glad it is working though.

Powered by ScribeFire.

Configure PDF IFilter in WSS 3.0

Sharepoint No Comments »

taken from http://workerthread.wordpress.com/2008/01/03/configure-pdf-ifilter-in-wss-30/

There are various posts around on setting up MOSS 2007 to use the
PDF IFilter, and some stuff on Windows SharePoint Services 3.0 as
well. I’ve found a method which works for me, so I wanted to put this
together in one place - not least of all so I can find it when out on
site with a client.

Out of the box neither WSS 3 nor MOSS 2007 will index content
located in Acrobat PDF files, so you need to set up the IFilter. I’ve
also found that that PDF files loaded prior to the installation of the
filter won’t be re-crawled automatically, so to be on the safe side you
might want to kick off a full crawl.

Here is what I’ve found works for WSS 3.0:

  1. First, you need to download the Adobe PDF IFilter 6.0, which you can find at this URL.
    You should also get hold of a suitable Icon to use with PDFs, so that
    when they are listed in a document library they are easily
    recognisable. There is a 17 x 17 one available on the Adobe web site here.
  2. Once you’ve downloaded the IFilter, install it on your WSS 3.0 server, and then follow the instructions on registry settings in Microsoft KB Article 927675.
    I’ve always found that providing the Adobe IFilter installed properly,
    the only setting I need to add is the Search Extensions one listed in
    step 2. Also note step 5 re stopping and re-starting the search
    service.
  3. Now you need to set up the Icon file. If you downloaded the
    icon file in step 1 above, you will have a file called
    pdficon_small.gif. You need to copy this onto your WSS 3.0 server,
    into drive:\Program Files\Common FIles\Microsoft Shared\Web Server
    extensions\12\TEMPLATE\IMAGES.
  4. Next you need to edit the XML file which WSS uses to link
    file extensions to icons. This file is called DOCICON.XML and is
    located at drive:\Program Files\Common FIles\Microsoft Shared\Web
    Server extensions\12\TEMPLATE\XML. Navigate to that folder and locate
    the file. I would suggest making a backup copy first, then opening the
    file in NotePad. You need to add a mapping key for PDFs at the bottom
    of the file, above the </ByExtension> closing tag. The new key
    will be <Mapping Key=”pdf” Value=”pdficon_small.gif” OpenControl=””/> (note that XML is case sensitive so make sure you use same case as previous entries). Then save the file.
  5. That’s pretty much it, but if you already have PDFs uploaded
    to your WSS server I would recommend starting a full crawl. You can do
    the with STSAdm, the command syntax is Stsadm -o spsearch -action fullcrawlstart . More on this on TechNet here.

Powered by ScribeFire.

Pedagang Gorengan Memilih Bunuh Diri

Life No Comments »

Oleh Anita
Yossihara

Beberapa ibu
rumah tangga sibuk menata kue di rumah Nuriah (40) di
Kampung Cidemang,
Kelurahan Pandeglang, Kabupaten Pandeglang, Banten,
Selasa (15/1) siang.
Ibu-ibu itu menyiapkan makanan untuk acara doa
bersama berkait meninggalnya
Slamet (45), suami Nuriah.

Sehari sebelumnya, suami Nuriah nekat gantung
diri hingga tewas di
sebuah kamar kosong di rumahnya. Jasad Slamet pertama
kali ditemukan
oleh istrinya yang baru pulang dari berbelanja di Pasar
Badak,
Pandeglang. Tubuh ayah empat anak itu sudah menggantung di
tengah
kamar, dengan seutas tali plastik melilit di
lehernya.

Read the rest of this entry »

Log Parser Script Collection

IIS No Comments »

Berikut adalah beberapa script log parser yang akan sering digunakan, untuk hasil reporting.

  • Checking Jenis Browser yang akses web server

 

 

Select top 50 to_int(mul(100.0,PropCount(*))) as Percent, count(*) as TotalHits, cs(User-Agent) as Browserfrom [LogFileName]group by Browserorder by Totalhits desc

  • Melihat total bandwidth harian yang ada di web server


Select To_String(To_timestamp(date, time), ‘MM-dd’) As Day, Div(Sum(cs-bytes),1024) As Incoming(K), Div(Sum(sc-bytes),1024) As Outgoing(K)From [LogFileName]Into BandwidthByDay.gifGroup By Day

  • Total Hits per Hours


SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(date,time)),3600) As Hour, cs-uri-stem As Url, COUNT(*) As HitsFROM [LogFileName]WHERE cs-uri-stem LIKE ‘%index.htm%’GROUP BY Url, HourORDER By Url

  • Request by URI

SELECT top 80

QUANTIZE(TO_TIMESTAMP(date, time), 3600) as Hour,
TO_LOWERCASE(STRCAT(’/',EXTRACT_TOKEN(cs-uri-stem,1,’/'))) as URI,
COUNT(*) AS RequestsPerHour,
SUM(sc-bytes) AS TotBytesSent,
AVG(sc-bytes) AS AvgBytesSent,
Max(sc-bytes) AS MaxBytesSent,
ADD(1,DIV(Avg(time-taken),1000)) AS AvgTime,
ADD(1,DIV(MAX(time-taken),1000)) AS MaxTime

FROM [LogFileName]
GROUP BY Hour, URI
Having RequestsPerHour > 10
ORDER BY RequestsPerHour ASC

  • Top 10 Images by size


Select Top 10 StrCat(Extract_Path(TO_Lowercase(cs-uri-stem)),’/') AS RequestedPath, Extract_filename(To_Lowercase(cs-uri-stem)) As RequestedFile, Count(*) AS Hits, Max(time-taken) As MaxTime, Avg(time-taken) As AvgTime, Max(sc-bytes) As BytesSentFrom [LogFileName]Where (Extract_Extension(To_Lowercase(cs-uri-stem)) IN (’gif’;'jpg’;'png’)) AND (sc-status = 200)Group By To_Lowercase(cs-uri-stem)Order By BytesSent, Hits, MaxTime DESC

  • Top 20 clients yang akses ke webserver


Select Top 20 c-ip AS Client, Count(*) AS HitsINTO Chart.gifFROM [LogFileName]GROUP BY c-ipORDER BY Hits Desc

  • Waktu yang dibutuhkan untuk load virtual directory

SELECT CASE EXTRACT_TOKEN(cs-uri-stem, 2, ‘/’) WHEN NULL THEN ‘/’ ELSE EXTRACT_PREFIX(cs-uri-stem, 1, ‘/’) END As VDir, QUANTIZE(time-taken, 100) As TimeTaken, COUNT(*) As NumHits
FROM [LogFileName]
GROUP BY TimeTaken, VDirORDER BY TimeTaken, VDir DESC
SELECT CASE EXTRACT_TOKEN(cs-uri-stem, 2, ‘/’) WHEN NULL THEN ‘/’ ELSE EXTRACT_PREFIX(cs-uri-stem, 1, ‘/’) END As VDir, QUANTIZE(time-taken, 100) As TimeTaken, COUNT(*) As NumHits
FROM ex05111606.log
GROUP BY TimeTaken, VDirORDER BY TimeTaken, VDir DESC

Powered by ScribeFire.

Log Parser Tool

IIS No Comments »

Hm mungkin agak telat untuk membahas apa itu Log Parser namun gak ada salahnya untuk di buat my sticky note :)
Versi terbaru log parser adalah versi Log Parser 2.2 bisa di download di www.logparser.com
Kelebihan dari Log Parser adalah kemampuannya untuk membaca log file pada windows yaitu Event Log, Registry,file system, IIS LOG dan Active Directory lalu menampilkan kembali dalam berbagai macam format seperti file XML, file CSV, HTML dan Chart.

proses untuk membaca dari log file atau lebih dikenal sebagai scripting menggunakan syntax SQL seperti contoh ini:

LogParser “SELECT TimeGenerated, SourceName, EventID, Message INTO Events.xml FROM System”

dan hasilnya akan di tampilkan dalam format XML.

download disini

Powered by ScribeFire.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login
Close
E-mail It