Posts

Showing posts with the label SharePoint2013

[SOLVED] The SharePoint Timer Service service terminated unexpectedly. Event ID : 7031

Image
The SharePoint 2013 Timer service terminated unexpectedly.  It has done this  34  time(s).  The following corrective action will be taken in 30000 milliseconds: Restart the service Login Name : System Source : Service Control Manager Event ID : 7031 Level : Error                                    Keywords : Classic User : N/A                                       Computer : MyDomain If you are getting above error. Try to do the following steps  1.  Clearing the configuration cache Stop the Sharepoint timer service Go to C:\ProgramData\Microsoft\SharePoint\Config\*GUID Back up Cache.ini Delete all the .xml file ( Do not delete the Cache.ini file ) Open Cache.ini (Edit with Nodepad) Replace the contents with the number 1 and save the file  Start the timer service. 2.  Check app owstimer.exe app crash reports Go to C:\ProgramData\Microsoft\Windows\WER\ReportQueue Open Report.wer file from a folder  Check for error .wsp file or timer job  Retract the solution. Restart the timer service an

How To : (Solved) SharePoint Open Pop-up Form using Nintex Forms

Image
In this post I'm going to demonstrate how to open a pop-up from using Nintex forms Implementation So, simply follow the steps mentioned below. Crate a new Custom JavaScript button. Go to Control Settings of button and add the following  On the Form Settings page add the following JS code on the "Custom JavaScript" section  function redirectToRFIForm(){ var options = { title: "Your Title", url: 'http://mysite/sites/page.aspx', dialogReturnValueCallback:Function.createDelegate(null, portal_modalDialogClosedCallback)}; SP.UI.ModalDialog.showModalDialog(options); }   ----------- Happy Coding ----------- 

How To Add A Delete Button To SharePoint 2013 List Column

Image
In this blog, I will show you how to add a delete button to the SharePoint List / Document Library column as below  Note : In this example I will implement to the document library  Implementation So, simply follow the steps mentioned below. Create a new calculated column. Add the following formula. Just copy and paste the formula into the calculated column. ="<a href='#' onclick='javascript:DeleteItem("&ID&");'><img alt='delete' src='/_layouts/images/delitem.gif' style='border:0px;' /></a>" Select Return data type as : Number an Click "Ok" Note : In here I created a onclick javascript function as ' DeleteItem ' and pass the List Item ID Now we have a link button in the List View  Go to List view page > Settings > Edit Page Add a 'Content Editor' web part and insert the following script <script type="text/javascript"

FIX : stsadm is not recognized as an internal command

Image
If you try to run SharePoint STSADM.exe in powerShell and getting this error To resolve the error message you need to edit the profile.ps1 file Its located in C:WINDOWS\SYSTEM 32\WindowsPowerShellL\v1.0\ if the profile.ps1 file dose not exists, just create a new file and add the following code Set-Alias -Name stsadm -Value $env:CommonProgramFiles"\Microsoft Shared\Web Server Extensions\15\BIN\STSADM.EXE" Happy Coding  !!!

FIX : The password supplied with the username Domain\Username was not correct. Verify that it was entered correctly and try again.

Image
This will happen often while trying to create a new web application in SharePoint 2013 central administration site. It gives the following error This usually occur when farm account password is expire and it's password is changed or simply farm account password is changed. In that case, sometimes password stored in SharePoint database is different in Active Directory, so unable to create web application from central admin.  In order to resolve this problem you need to update SharePoint 2013 farm credentials using "STSADM" tool. For that Open PowerShell in administration mode then write the following code stsadm -o updatefarmcredentials -userlogin <UserAccount> -password <New-password> Example : Once you receive operation completed successfully message do a IIS reset !! FYI : In case if you getting an error message " stsadm not recognized as an internal command " Follow these instructions.. Happy Coding !!

How to Reset the List Item ID

Image
How to Reset the List Item ID value numbering at 1 One of the most common problems we in SharePoint lists , there  is no direct way , the value of the ListItem ID reset. In development  environment we used to insert and delete a lot of records and during this time  ID value automatically increases as the ID column is an up counter type.  Finally , when we move to staging and production environments, the website with  backup and restore the ListItem -ID value will not start with 1 . One way of preventing this problem is update the content Database ListID value to 1 Get The specific content database Name Go To the Central Admin Application Management Click on Manage Content Database            Select the specific web Application Database Name will be shown Get The specific List ID (GUID) Method A 1.        Navigate to the list and click   List Settings . 2.        In the browser address bar at the end of the URL you will find the lis