Saturday, 20 August 2011

kis cheej se bane ho yaar.. Ankan's animal instinct show

wonder boy Ankan Sen showing animal instincts, watch out 

the future in the making..!

simply superb by Ankan



follow my other mindblowing performer postings on my twitter

Tuesday, 9 August 2011

Access Denied message while accessing portal

premature backup termination can lead to Access Denied message while accesing portal
quick heal:
go to CA; Central Administration > Application Management > Site Collection Quotas and Locks change the site collection to the required site (say sharepoint 80) and change the site lock status to Not Locked. click ok once done.
access the site now.

access denied happens when the status of the site switches to Read-Only mode. this can mostly happen at the time of site backup premature termination.

Wednesday, 6 July 2011

Open instantly your favorite programs using DOS .bat file

Open Business Applications using simple DOS script
copy and paste the below code in yourfilename.bat and create a shortcut to your taskbar

@echo off
color 0E
:a
cls
echo _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
echo                         Business Applications - your company name
echo _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
echo 1) Open Intranet
echo 2) Open Employee Performance Management System (EPMS)
echo 3) Open Financial Institutions Regulatory information Management System (FIRMS)
echo 4) Open Time Management System (TMS)
echo 5) Open Internal Risks Information System (IRIS)
echo 6) Open Legal Advice Database (LAD)
echo 7) Open Regulatory Enquiries and Advice Database (READ)
echo 8) Open Mena ME Employee Self Services (HRMS)
echo.
echo.
echo =) Enter "+" for extras!
set /p TH=Type here:
if %TH%==1 goto 1
if %TH%==2 goto 2
if %TH%==3 goto 3
if %TH%==4 goto 4
if %TH%==5 goto 5
if %TH%==6 goto 6
if %TH%==7 goto 7

if %TH%==8 goto 8
if %TH%==~ goto S
if %TH%==+ goto Extra
:1
cls
start iexplore.exe
http://myintranetsite/default.aspx
echo.
echo.
pause
goto a
:2
cls
start iexplore.exe
http://hostedserver/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto a
:3
cls
start iexplore.exe
http://hostedserver2/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto a
:4
cls
start iexplore.exe
http://hostedserver3/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto :a
:5
cls
start iexplore.exe
http://hostedserver3/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto :a
:6
cls
start iexplore.exe
http://hostedserver4/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto a
:7
start iexplore.exe
http://hostedserver5/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto a
:8
start iexplore.exe
http://hostedserver6/abcd/abcpage/Home.aspx
echo.
echo.
pause
goto a

:Extra
echo.
echo Hey this is my blogspot,

start iexplore.exe http://ventej.blogspot.com/
echo.
pause
goto a
:S
echo Oh hello, You found my seceret!
start iexplore.exe http://www.blogger.com/home

echo.
echo.
pause

goto a

------------------------ends
if you have google crome or opera or firefox or any other browser, add the executable name of the browser (e.g. for Opera C:\Program Files (x86)\Opera\opera.exe in place of internet explorer  iexplore.exe in the code mentioned above) and the application hyperlink to open that application.
also refer DOS commands are fading coz of 21st century clicks and touch-sensing era

dos commands are fading coz of 21st century clicks and touch sensing era

 


command/ script output to existing file

Output commands to a text file
echo "my first line" > output_file.txt

write in an existing file
echo "my last line goes here" >> output_file.txt

reference

Incremental backup of data with .BAT

 DOS command: incremental backup
open notepad and copy the below code in a .bat file and then use windows scheduler to schedule eod backup to your external storage 
@echo off
xcopy C:\mydocuments D:\Backup\Docs /E /H /R /Y /I /D
xcopy "%USERPROFILE%"\Favoris D:\Backup\Favoris /E /H /R /Y /I /D

Sunday, 3 July 2011

MOSS2007 evalution version license expired

Evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired
Option 1:
This may happen exactly 180 days after upgrading moss2007 from SP1 to SP2.

Simple way of sorting this is to re-apply the license key from the CA:
Central Administration > Operations > Convert License Type   and then enter the product key and click ok. This may perhaps take more than 2-3 hrs for global sync depending on the FARM size.

Option 2:
ACTION:
Current user updated MOSS2007 and registered his Volume License Key to the MOSS2007 Installation.
Current user tries to Access his "My Site" or Dashboards
RESULT: Current user receives following error:
"The evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired."
CAUSE: Insufficient permissions for the groups WSS_WPG, WSS_ADMIN_WPG to the Registry. The application pool identity for your WSS/MOSS sites *MUST* be in the
"Distributed COM Users" group in order to successfully activate.
RESOLUTION:
We gave group WSS_WPG Read permissions to following registry key
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office Server\12.0
We gave group WSS_ADMIN_WPG Full permissions to the same registry key
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Office Server\12.0
Add application pool Account ("dcomcnfg.exe") to the Distributed users and then reboot the server.