Sunday, March 25, 2018

Exception of type 'Veeam.Backup.AgentProvider.AgentClosedException' was thrown.

Issue/Error: When we try to backup the VM in veeam backup server, we gets  exception like below,

Exception of type 'Veeam.Backup.AgentProvider.AgentClosedException' was thrown.

Root Cause:

When backup jobs starts and proxy will assign automatically, but assigned proxy doesn't have access for the disk, so unable to access the disk and got failed.


Fig 1 : Backup proxies for HD1 and 2 don't have access permission.


Fig 1 : Backup proxy for HD 2 doesn't have access permission.

Solution:

1. Assign the proxies which has right permission.(Change the proxies to manual in backup job settings and and assign it)
2. Check the proxies that has same IP range as you Hyper-V/Vcenter node, so access using proxies will not get any issues.


Wednesday, March 7, 2018

Find PID for VEEAM backup job


Kill veeam backup job using Process ID

Issue: Sometimes veeam backup job won't complete (hung) in particular time and it does not backup any data, so when we try to stop the job and it won't help us and will remain in stopping state. So killing the backup job is only option using PID.

So we can find the corresponding backup job's PID using their log file.


Solution: The default log path C:\ProgramData\Veeam\Backup and you can find .LOG file with the below format.

JOB.<JOB_NAME>.backup.log 

Filter those files with modified date and pick the latest date log file and Search PID:



Kill the job using taskkill option.

Note:

When backup job starts meanwhile in background there are a lot of MSSQL transaction will 
start for the backup job, If you kill the backup job using PID it may lead to corrupt backup job, try using your own risk.
So mostly this is not a recommended way to stop the running backup jobs.

Saturday, June 17, 2017

This item cannot be deleted because it is still referenced by other pages in SharePoint 2013

I got the error This item cannot be deleted because it is still referenced by other pages, when I delete a Test.master and Test.html files from SharePoint 2013.

I have checked more suggestions and solutions from Google, but no one suggestions and solutions helps me.
Somebody suggest me to do  Create a folder, move the master page into the folder, delete that folder through SPD. MS blogs suggests to Hide the File using this link http://support.microsoft.com/?kbid=926812 (This trick for MOSS 3.0 i.e SP 2007). Some people told me to use SCRIPT http://blogs.msdn.com/b/kvosters/archive/2011/10/12/this-item-cannot-be-deleted-because-it-is-still-referenced-by-other-pages.aspx ), and many more suggestions. I spent more than Two days for this issue, but no more improvement. That time my colleague give the below Solution. It works fine.

Please try this,

1) My Issues with Test.html and Test.master
2) Go to Root Site, Site Settings->Look and Feel Section: Design Manager. Here the Master Page Html file can          be modified what changes are we make in .master file.
3) But Site Settings->Look and Feel Section: Design Manager ->Edit Master Pages Test.html was missing.(By default Seattle and Oslo will be appear)
4) Open the site collection through SharePoint Designer, Right click on Seattle.html file -> Select "Edit File in Advanced Mode" from context menu.
5) Seattle.html opens in a new Tab. Select all and copy the code.
6) Then Go to Test.html (Right Click) -> "Edit File in Advanced Mode". Opens in a new tab.
7) Replace the existing code in the "Test.html" by pasting the code from Seattle.html
8) Save the file (This is done in "Check In" status)
9) In the Browser, Go To Root Site, Site Settings -> Look and Feel: Design Manager -> "Edit Master Pages" in the left side.
10) Now here the Test.html file will appear. Delete this file.
11) Check the "Delete" Folder. Here the files will be removed automatically. Delete the Delete folder.


Sunday, December 15, 2013

Archieve/Backup Visual SourceSafe file using CMD


@ECHO OFF
@TITLE Backing up source safe databases
FOR /F "tokens=2-4 delims=/ " %%i IN ('date /t') DO SET DATE=%%k%%j%%i
FOR /F "TOKENS=1-2 DELIMS=: " %%I IN ('time /t') DO SET TIME=%%I%%J
FOR /F "TOKENS=2 DELIMS= " %%K IN ('time /t') DO SET AMPM=%%K
"C:\Program Files\Microsoft Visual SourceSafe\ssarc" -d- "E:\Today.ssa" $/ "-sE:\Vss-Projects" -yadmin,pass@word1
@ECHO Finished backups


Here - C:\Program Files\Microsoft Visual SourceSafe\ssarc is SourceSafe Archieve application (ssarc.exe) path
E:\Today.ssa - Backup File Location and Name
E:\Vss-Projects - Current Srcsafe stored Location.
admin and pass@word1 is credential for the VSS admin who has permission to backup and restore. 

Thursday, November 28, 2013

Add a crawled property in SharePoint 2013 with sortable/Refinable using Powershell

Add a crawled property in SharePoint 2013 with sortable/Refinable using Powershell

For Sortable:

New-SPEnterpriseSearchMetadataCrawledProperty -Category SharePoint -IsNameEnum $false -Name "ows_MyCrawledProperty" -PropSet 00130329-0000-0130-c000-000000131346 -SearchApplication "Search Service Application" -VariantType 0
 
New-SPEnterpriseSearchMetadataManagedProperty -Name "MyCrawledProperty" -SearchApplication "Search Service Application" -Type 1 -Queryable $true -Retrievable $true
 
$cp = Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication "Search Service Application" "ows_MyCrawledProperty"
 
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication "Search Service Application" -Identity "MyCrawledProperty"

$mp.sortable= $true

$mp.update
 
New-SPEnterpriseSearchMetadataMapping -SearchApplication "Search Service Application" -CrawledProperty $cp -ManagedProperty $mp


For Refinable:

New-SPEnterpriseSearchMetadataCrawledProperty -Category SharePoint -IsNameEnum $false -Name "ows_MyCrawledProperty" -PropSet 00130329-0000-0130-c000-000000131346 -SearchApplication "Search Service Application" -VariantType 0
 
New-SPEnterpriseSearchMetadataManagedProperty -Name "MyCrawledProperty" -SearchApplication "Search Service Application" -Type 1 -Queryable $true -Retrievable $true
 
$cp = Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication "Search Service Application" "ows_MyCrawledProperty"
 
$mp = Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication "Search Service Application" -Identity "MyCrawledProperty"

$mp.Refinable= $true

$mp.update
 
New-SPEnterpriseSearchMetadataMapping -SearchApplication "Search Service Application" -CrawledProperty $cp -ManagedProperty $mp

Wednesday, November 6, 2013

Error: cannot generate SSPI context



Issue: Got the error cannot generate SSPI context in 2008 sql, when I access 
(machine1) Destination machine’s SQL instance from (machine2)Source Machine SQL instance.

Solution: Checked the error machine<machine1> is remote accessible using machine name and got the below error.

Remote Desktop Connection fails - outdated entry in the DNS cache.

Took RDP using IP, Works fine and checked the time, the time was off by an hour. 

Run the below comments in cmd

· net stop w32time
· net start w32time

The both the problem has been solved.

Email sent from a shared mailbox are not saved to the Sent Items

  Issue : When a user sends an Email from his delegated (shared) mailbox the Email which sent from the delegated mailbox are stored in user...