About Dragan Todorovic

Senior Consultant for SharePoint & O365 services with more than 8 years of experience. Fan of web technologies and cloud services.

How to configure SharePoint 2013 Search service?

After you have completed setup and the SharePoint Products Configuration Wizard, you new SP server is almost ready! If you upload a few documents or create some list items, it is expected to get those details as a search results. So, where is the problem? In most cases you need to setup search service initially and index all content on site collection.

 

  1. Go to Central Administration and select Manage Service Application
    srch1
  2. Open and click the Search Service Application list menu, you will be redirected to Search Administration page
    srch2
  3. Select “Content Sources” from left side menu
    srch3
  4. Select “Start Full Crawl” from dropdown menu in order to crawl your data from the databasesrch4

After a few minutes or hours (depends on content size), your search will start showing display results!

SharePoint 2013: System.ServiceModel.ServiceActivationException 500

Running out of memory is a well known bug for SharePoint 2013 search service specially because of noderunner.exe processes. Last week we had an issue with term set navigation change because of the following error: “system.servicemodel.serviceactivationexception 500”. Simply you cannot change anything. We have temporarily killed all noderunner.exe prcoesses, but it still failed.

 

Temp solution:
Enter the Windows Services list and just restart “SharePoint Host Search Controller”. After that make you should make your changes.

 

The same bug causes problems with editing SharePoint site in SharePoint Designer, simply you cannot open it. It is resolved in the same way.

Azure PowerShell for VM

  • First Virtual Machine in a NEW Cloud Service (-Location specified)
    New-AzureQuickVM-Windows-ServiceName $svc -Name $vm1 -ImageName $wimg-Location $location -Password $pwd<br />
  • New Virtual Machine in an Existing Cloud Service (no –Location)
    New-AzureQuickVM-Windows-ServiceName $svc -Name $vm2 -ImageName $wimg-Password $pwd</p> <p>
  • Creating a Linux Virtual Machine in an Existing Cloud Service
    New-AzureQuickVM-Linux-ServiceName $svc -Name $vm3 -ImageName $limg-LinuxUser $lu-Password $pwd 

How to enable archive mailbox in Office 365?

All Exchange Online plans (except Kiosk plans) has the option to enable an in-place email archive. By default, on all plans, the in-place email archive is disabled for all users. An administrator must enable it before it can be accessed. The in-place email archive foldersare stored only in the cloud. The main question is how to enable this option?

  • Access your Office 365 administration using the administrator credentials
  • Select the mailbox you would like to enable archiving option
  • On the right  pane  you will see In-Place Archive
  • Select Enable
  • A new screen will appear asking you if you are sure you wish to enable this feature, click Yes
  • In-Place archive is enabled!

 

Show different HTML form depending on radio button selection tutorial

<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
        <script type="text/javascript"> 
            function displayForm(c){ 
                if(c.value == "1"){ 
                    document.getElementById("form1").style.visibility='visible'; 
                    document.getElementById("form2").style.visibility='hidden'; 
                } 
                else if(c.value =="2"){ 
                    document.getElementById("form1").style.visibility='hidden'; 
                    document.getElementById("form2").style.visibility='visible'; 
                } 
                else{ 
                } 
             
            }         
        </script>     
    </head> 
    <body> 
        <form> 
            <label>Form 1<input value="1" type="radio" name="formselector" onclick="displayForm(this)"></label>     
            <label>Form 2<input value="2" type="radio" name="formselector" onclick="displayForm(this)"></label>     
        </form> 
     
        <form style="visibility:hidden" id="form1"><label>Form 1<input type="text"/> </label></form>     
         
        <form style="visibility:hidden" id="form2"><label>Form 2<input type="text"/> </label></form>     
     
    </body> 

</html>

I added a new user to my existing subscription, but my subscription end date shifted by less than a year. What happened?

Every user in a subscription must have the same end date. Adding a user license to an existing subscription will license the new user through the original expiration date of the subscription. Any additional time will be applied to all existing user licenses, and will extend the subscription’s overall end date.

For example, customer has an Office 365 subscription with 100 seats. However, in month 10, customer adds 100 additional seats. The expiration date for all 200 seats is now 5 months past the expiration date of the first 100 seats. The calculation is as follows: (100 seats x 10 months) / 200 seats

Capture