Windows 7 is much more user-friendly than Windows Vista. I don’t like that. – The Big Bang Theory
The Big Bang Theory: Windows 7 is much more userfriendly than Windows Vista
In: Hosting| IIS| IT| Microsoft| Uncategorized| Web| Windows Server| Windows Server 2003
14 Jan 2010
You can simply add Silverlight support to your IIS6 webserver running on Windows Server 2003.
To enable IIS 6.0 in Windows Server 2003 or IIS7 in Windows Vista RTM with the appropriate MIME Types, add:
Adding MIME Types by a simple VB script:
- Here is a VBS script you could run to enable each of these types:
Const ADS_PROPERTY_UPDATE = 2
‘
if WScript.Arguments.Count < 2 then
WScript.Echo “Usage: ” + WScript.ScriptName + ” extension mimetype”
WScript.Quit
end if
‘
‘Get the mimemap object.
Set MimeMapObj = GetObject(“IIS://LocalHost/MimeMap”)
‘
‘Get the mappings from the MimeMap property.
aMimeMap = MimeMapObj.GetEx(“MimeMap”)
‘
‘ Add a new mapping.
i = UBound(aMimeMap) + 1
Redim Preserve aMimeMap(i)
Set aMimeMap(i) = CreateObject(“MimeMap”)
aMimeMap(i).Extension = WScript.Arguments(0)
aMimeMap(i).MimeType = WScript.Arguments(1)
MimeMapObj.PutEx ADS_PROPERTY_UPDATE, “MimeMap”, aMimeMap
MimeMapObj.SetInfo
‘
WScript.Echo “MimeMap successfully added: ”
WScript.Echo ” Extension: ” + WScript.Arguments(0)
WScript.Echo ” Type: ” + WScript.Arguments(1)
- If you copy and paste the code above into a VBS file and save it as ADDMIMETYPE.VBS the syntax to add each type would be:
ADDMIMETYPE.VBS .xap application/x-silverlight-app ADDMIMETYPE.VBS .xaml application/xaml+xmlADDMIMETYPE.VBS .xbap application/x-ms-xbap
or you could add it very simple over the IIS Manager.
In: IT| Microsoft| SQL Server| Software
14 Jan 2010
- Use the MS SQL Server Management Studio
EXEC sp_dboption ‘XXX’, ‘trunc. log on chkpt.’, ‘TRUE’CHECKPOINTDBCC SHRINKFILE (‘XXX_Log’, TRUNCATEONLY)EXEC sp_dboption ‘XXX’, ‘trunc. log on chkpt.’, ‘FALSE’GO
- (replace XXX with the database name)
In: IT| Microsoft| SQL Server| Software
14 Jan 2010
- Use the SQL Query Analyzer
BACKUP LOG XXX WITH TRUNCATE_ONLY
GO
DBCC SHRINKFILE(XXX_log, 10)
GO
- (replace XXX with the database name)
In: Hosting| Hyper-v| IT| Microsoft| Sharepoint| Software| Web| Windows Server| Windows Server 2003| Windows Server 2008 R2| Work
8 Jan 2010Tonight I did a bigger P2V (physical 2 virtual) migration. I virtualized an older Windows Server 2003 SP1 with MS SQL Server 2005 and WSS 3.0. This can be used as a step by step how-to guide.
- First I created a Image of the old server with Symantec Backup Exec System Recovery 2010, this could be done online. I just stopped all the Sharepoint, SQL and Web Services so that no new data could be written in the time I created this Image.
- After I moved this Image to the Microsoft Hyper-V Host Server, I started to convert the v2i Image with Symantec Backup Exec System Recovery 2010 to a Microsoft VHD.
- I created a new Virtual Machine on the Hyper-V Server and added this existing VHD. (Important here: I tried to create the same Hardware environment for the VM which I had as physical Hardware before. (Dual Core with 2048MB memory) So I had basically no problem to start the Virtual Machine.
- Now its time to install the Hyper-v integration components (the VM Drivers) which can only be installed on Windows Server 2003 with SP2 or later. I turned off the Virtual Machine again and attached the VHD File offline on my Hyper-v Server, so I had file access to the Virtual Hard Disk. I simply added the Servicepack 2 file to the root of the VHD.
- After unmounting the VHD, I started my Virtual Machine again and installed the Servicepack 2 and the Hyper-v Integration components.
- Now I added more Hardware to the Virtual Machine (Quad-Core and 4GB memory). I also change the Legacy Network Adapters to normal Network Adapters (higher Network performance)
The performance of the new Hyper-v is just pretty impressive.
In: IT| Microsoft| Software| Web| Windows Server| Windows Server 2003| Work
22 Dec 2009Today I got a error message from our monitoring that Rsync Service on one of our server doesn’t run. Reinstalling the service does not solve the problem. I could start the service but after some seconds the service stopped again.
The Event Log shows the following information:
==============================Event Type: InformationEvent Source: RsyncServerEvent Category: NoneEvent ID: 0Date: 22.12.2009Time: 08:30:52User: WEB-WIN-xxx-xxx\SvcCWRSYNCComputer: WEB-WIN-xxx-xxxDescription:The description for Event ID ( 0 ) in Source ( RsyncServer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: RsyncServer: PID 1856: `RsyncServer’ service stopped, exit status: 11.==============================
I just updated my VMware Fusion on my MacBook Pro and my iMac at work. I did some snapshots of the Windows Experience score in my Windows 7 VM.
With this Update the VMware Fusion Team did a really good job on the graphics drivers:
They also fixed over 50 bugs and added new features, checkout the VMware Fusion Blog.

Thomas Maurer.
Born in 1986. live in Diegten. Switzerland. work as a System Administrator in Allschwil(Switzerland). interested in in Apple, IT, TV, Movies, Design and Art.