Monday, June 9, 2008

PitHole: Windows : The specified service has been marked for deletion

When I try to install the install a service which i have just delete using sc command i get the following error :


"The specified service has been marked for deletion".


Just close the services.msc and try again. otherwise one might have to restart the machine :( to resolve the issue.

Wednesday, June 4, 2008

PitHole: RPM : "warning, user XXX does not exist - using root"

If while installing rpm package following error occurs

warning: user XXX does not exist - using root

Issue : I'm trying to build/install an rpm and it keeps giving me these warnings while installing the binary. Though I heard this could be safely ignored as its bcos there is no user XXX on my box, was wondering if there is a way to supress this in the rpm spec file itself. I know I could also manually build it as root. But curious if we could supress this from the spec.

Resolution:

Add the following in the spec file and recompile the spec file

%defattr(-,root,root)

TIPS: deltree in Windows

I always missed the good old deltree External DOS command. Here is how we can get it in batch file
del /s %1
rd /s %1

Thursday, May 29, 2008

Tips : wx.Python : Close button not working.

If the close button does not work then add the following entries

self.Bind(wx.EVT_CLOSE, self.quit)


under the __init__ function and create a new function as

def quit(self, event):
self.Destroy()

Wednesday, May 14, 2008

PitHole: MAV: Error code: 0000C81D

Error:

Unable to import OSD file. The file specified is not a valid SoftGrid OSD file. Please ensure the file conforms to the SoftGrid OSD file schema and contains well formed XML. Error code: 0000C81D

When:

When importing the package using SPRJ or OSD file:

Cause:

OSD File is missing or NAME Tag inside OSD File is greater then 64 Char length.

Thursday, May 8, 2008

FAQ: Resolving the "ImportError: No module named decimal" Error

Error Message:

ImportError: No module named decimal


Description:

Error occurs when executable created using pyinstaller is executed which uses pymssql module


Resolution:

import decimal in the python program


If you are using pymssql module in python program and creating

Saturday, April 26, 2008

FAQ: MAV: Removing the Servers from the Softgrid Management consoles.

Delete / rename the SftMMC which is located at "%appdata%\Microsoft\MMC" directory will remove all the settings and sever details also from the Softgrid Management Consoles.

Wednesday, April 16, 2008

Disable the "Use the Web service to find the correct program" Dialog

Create the following DWORD key NoInternetOpenWith = 1 at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Tuesday, April 8, 2008

making skype portable

Ever wished to execute skype from the usb drive. Here's how you can do that.

  1. Create skype folder on usb drive.

  2. copy skype.exe to that folder.

  3. create subfolder named data

  4. create a cmd file (save it in skype folder) with the content start %~dp0skype.exe /datapath:"%~dp0data" /removable

  5. run the cmd file and enjoy.


I am not sure if skype.exe adds registry on the local machine or not, will try to find that and update.

Monday, March 31, 2008

FAQ: How to enable file streaming in softgrid 4.5

The File Streaming can be enabled in 4.5 by setting the following key to 1 (DWORD)
HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\Configuration\AllowIndependentFileStreaming

Friday, March 14, 2008

PitHole: softgrid - Not running apps while in Capture Mode

Following are the few of the reasons why one should execute the applications while in capture mode.

1. Applicataion initialization: Most of the applications initialize on there first lauch and it is a good idea to capture that, Applications can do that by many ways such as self healing, etc

2. Component evaluating: This is something Sequencer does, it scans all the files and there working and based on that it sets the softricity attributes to the files and folders,

Tuesday, March 11, 2008

Can I virtualize hosts file.

No, hosts file can not be virtualized using Microsoft Softgrid Application Virtualization technique.