Search This Blog

Monday, October 19, 2009

Sharepoint 2007 blob cache

Sharepoint OOB comes with Blob cache disabled. You can enable it -

and cache jpg and other files in local server disk and free SQL DB resources.

Tuesday, October 6, 2009

Sharepoint error ID 10016

We had the error logged in eventlog on MOSS 2007:

Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 10/6/2009 2:38:02 AM
Event ID: 10016
Task Category: None
Level: Error
Keywords: Classic
User: xx\WSSServiceGeneric
Computer: xxx
The application-specific permission settings do not grant Local Activation permission for the COM Server
application with CLSID
to the user xx\WSSServiceGeneric SID (S-1-5-21-2609680699-1071808428-3414302311-1015)
from address LocalHost (Using LRPC). This security permission can be modified using the Component Services
administrative tool.
Event Xml:

EventSourceName="DCOM" />



LocalHost (Using LRPC)

And it looks looks the solution is

to add security to misterious IIS WAMREG admin service

Monday, October 5, 2009

Cisco VPN client on

As you know if VPN client connected to or any other local LAN subnet will connect to a remote LAN that use or other subnet that is the same as local LAN, then there will be an IP range conflict. If you do full tunneling to remote LAN then you need to make sure that routing for remote LAN has lower metric than local LAN. You can use this script to fix the metric:

@ECHO off

%Windir%\system32\ipconfig.exe > %temp%\ipconfig.txt
type %temp%\ipconfig.txt|findstr /c:"IP Address" > %temp%\ip.txt
type %temp%\ip.txt|findstr /v "" > %temp%\ip1.txt
FOR /F "delims=: tokens=2" %%I in (%temp%\ip1.txt) DO ECHO %%I > %temp%\justip.txt
FOR /F "delims=. tokens=1" %%A in (%temp%\justip.txt) DO SET octet1=%%A
FOR /F "delims=. tokens=2" %%B in (%temp%\justip.txt) DO SET octet2=%%B
FOR /F "delims=. tokens=3" %%C in (%temp%\justip.txt) DO SET octet3=%%C
FOR /F "delims=. tokens=4" %%D in (%temp%\justip.txt) DO SET octet4=%%D
del /q %temp%\ip1.txt
del /q %temp%\ip.txt
del /q %temp%\ipconfig.txt
del /q %temp%\justip.txt

Set IPAddress=%octet1%.%octet2%.%octet3%.%octet4%

REM ECHO %IPAddress%

%Windir%\system32\route.exe change mask %IPAddress% METRIC 1

As you know if in routing talbe there are two similair routes with different gateway then the last installed interface will get prority. Re-install Cisco VPN client and it will get priority over other interfaces, no need then for script above.