Created new content sources for SharePoint Search 2013 a week friday ago, returned content no problem. On the following Monday Search stopped working and displayed the error message "There was an exception in the Database".
In the ULS logs, i got an error messages
"System.Data.SqlClient.SqlException (xxxxxxxxx): Could not find stored procedure 'proc_MSS_GetUrlMapping'"
"SqlError: 'Could not find stored procedure 'proc_MSS_GetUrlMapping'.' Source: '.Net SqlClient Data Provider' Number: 2812 State: 62 Class: 16 Procedure: '' LineNumber: 1 Server: 'xxxxxxxxxx\xxxxxxxxx'"
"Exception occured in scope Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries. Exception=System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: There was an exception in the Database. Please retry your operation and if the problem presists, contact an administrator."
I have tried resetting the index and doing a full crawl etc but no joy. Can anyone help please?
Thanks
Josh
Related
i am getting error while publishing results on sonar.
Error querying database. Cause: org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'RAWLINEHASHES' from result set. Cause: java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2_111974964$" too small
Cause: org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'RAWLINEHASHES' from result set. Cause: java.sql.SQLException: ORA-01555: snapshot too old: rollback segment number 2 with name "_SYSSMU2_111974964$" too small
Pipeline executed for 2 hr 30 mins.
Can you please help ?
The error that you are getting is ORA-01555. Which is an Oracle error message.
Your pipeline is executing something against an Oracle database, which after it has run for a long time, gives the error.
For ways to avoid this error see: https://blog.enmotech.com/2018/09/10/ora-01555-snapshot-old-error-ways-to-avoid-ora-01555-snapshot-too-old-error/
I've spent the last 48hrs trying to troubleshoot this issue using the following resource:
https://swapnilkh.wordpress.com/troubleshoot-analytics-reports-issue-sharepoint-2013/
https://learn.microsoft.com/en-us/archive/blogs/spblog/sharepoint-2013-usage-analytics-the-story
http://www.sharepointtalk.net/2015/09/sharepoint-2016-beta-search-first-look.html
http://www.sharepointtalk.net/2013/06/powershell-for-sharepoint-2013.html
In our case, usage file are generated and the RequestUsage view is filled with up to date data in the Usage and Health DB. That said, the AnalyticsItemData table in the Search Service DB_AnalyticsReportingStore is empty.
From the troubleshooting I did, I was able to determine that both the 'Analytics Timer Job for Search Service Application' and the 'Usage Analytics Timer Job' never ran (LastRunTime: 1/1/0001 12:00:00 AM) event though they are enabled (Status: Online).
Trying to execute the following code:
$tj = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.AnalyticsJobDefinition
$sa = $tj.GetAnalysis("Microsoft.Office.Server.Search.Analytics.SearchAnalyticsJob")
$sa.StartAnalysis()
Throws the following exception:
Exception calling "StartAnalysis" with "0" argument(s): "No such analysis exists: LinksStoreInput"
If I display Search Analytics Job status info:
$a = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.AnalyticsJobDefinition
$sa = $a.GetAnalysis("Microsoft.Office.Server.Search.Analytics.SearchAnalyticsJob")
$sa.GetAnalysisInfo()
I can get this LastRunFailedErrorMsg:
Failed to prepare new analysis run: Unknown producer analysis LinksStoreInput
I couldn't find any information on the web related to these error messages.
Any help would be appreciated.
Thanks.
one of the maps has stopped working. I've tried to delete the map and restore the map from the test environment but it still fails. The error code is :
[AX Customer to Account] has encountered an error. Processing will be aborted. Object reference not set to an instance of an object.
--- Exception Dump ---
Caught Exception: Object reference not set to an instance of an object.
Stack trace:
at Microsoft.Dynamics.Integration.Adapters.Ax50.CustomerObjectProvider.ReadObjectKeys(DateTime modifiedDate)
at Microsoft.Dynamics.Integration.AdapterAbstractionLayer.MixedObjectProviderProxy.ReadObjectKeys(DateTime modifiedDate)
at Microsoft.Dynamics.Integration.Service.MapThread.ProcessReads()
WARNING TID:50 [2017-01-25T08:08:13.9049407+02:00]: An unrecognized exception was thrown [Microsoft.Dynamics.Integration.Adapters.Ax50::0x80004003].
INFO TID:29 [2017-01-25T08:08:13.9361903+02:00]: [AX Customer to Account] has failed. 0 record(s) have been written. 0 record(s) have been deleted. 0 record(s) have failed. 0 record(s)
Do you have any ideas what could be wrong?
try to Sync DB and restart AX AOS.
I found some reference about your issue:
https://community.dynamics.com/crm/f/117/t/173809
SharePoint 2013 search crawls getting stuck for one content source with index count around 300K. When I kick off crawls the success count grows pretty steadily and performance is not an issue. The small content source with 5-7K index would finish fine. This is started recently. The problem I suspect is, search process never commits the transaction. Here is the ULS error.
mssearch.exe (0x0FA8) 0x39D0 SharePoint Server Search Crawler:Gatherer Plugin ac6s7 High ManagedSqlSession caught a SqlException executing the following command: 'proc_MSS_CommitTransactions'. Connection string was: 'Data Source=XXXXX;Initial Catalog=SSA_CrawlStoreDB;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[OWSTIMER][1][SSA_CrawlStoreDB]' Original exception message: 'Arithmetic overflow error for data type smallint, value = 32768. Duplicate key was ignored.' Stack trace ' at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParser...
Detailed error posted on my blog
http://nitrohn.blogspot.com/2016/10/sharepoint-2013-search-crawl.html
Any ideas how to fix?
I am saving the data in local DB which is coming from server.
And i use NSFetchedResultsController to show data. But i get an error "CoreData: error: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. attempt to insert row 12 into section 1, but there are only 12 rows in section 1 after the update with userInfo (null)".
And list get currupted. As shown in screen shot.
Please suggest the reason for this