Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all 13778 articles
Browse latest View live

The farm is being upgraded in the timer service process. The task is 26.89% completed.

$
0
0

I am trying to enable the Enterprise Features in SharePoint 2010.  I have turned on the setting in Central Admin and I have run the PSConfig.exe command to set the upgrade going.

The psconfig command runs but stalls at the following message "The farm is being upgraded in the timer service process. The task is 26.89% completed."

Then it fails with no further detail in the log file than it writes out in the command window.

I have tried rebooting the server.  I have tried stopping and restarting the timer service.  I have tried running the Timer job in Central Admin manually.

The Enterprise features never become enable and it is stuck.

Is there a fix for this problem?


PSConfig after update fails

$
0
0

I have an SBS 2011 server with the built in SharePoint foundation 2010 Sp1 installed and I believe Decembers hotfix recently an update was pushed out in windows update and I must not have realized it.  I was running a routine BPA scan and saw that I needed to run the psconfig.  I tried running psconfig from both the command prompt and the Config Wizard with no success, below you will see the command results.  it fails at the same spot each time.  I did run the cmd as the administrator, I can't seem to find anything on this.  can someone point me in the right direction?

I have the diagnostic log but there is so much in there I did not post it.  Can't seem to find anything in it to help.

Successfully registered SharePoint features.

Performing configuration task 4 of 6
Installing the application content files...

Installing the SharePoint Central Administration Web Application content files..
.

Installing the SharePoint Web Application content files...

Successfully installed the application content files.

Performing configuration task 5 of 6
Upgrading SharePoint Products...

10.00%Failed to upgrade SharePoint Products.

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfig
urationTaskException was thrown.  Additional exception information: The upgrade
command is invalid or a failure has been encountered.
Failed to upgrade SharePoint Products.

Total number of configuration settings run: 5
Total number of successful configuration settings: 4
Total number of unsuccessful configuration settings: 1
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed.  Configuration must be performed be
fore you use SharePoint Products.  For further details, see the diagnostic log l
ocated at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1
4\LOGS\PSCDiagnostics_3_28_2013_11_50_49_9_579334797.log and the application eve
nt log.

Sharepoint Foundation 2010 - PSConfig/ Configuration Wizard presents errors after applying SP2 - Unable to create an instance System.Collections.Generic.Dictionary`2

$
0
0

Hi

I'd Sharepoint Foundation 2010 RTM and installed SP2+August 2013CU

After that tried to run Configuration Wizard and got the error message:


System.MemberAccessException.  Unable to create an instance System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]], because 
parameter Type.ContainsGenericParameters is True.



tryed  psconfig.exe -cmd upgrade -inplace b2b -force and got:

++++++++++++++++++++++++++++++++++++++++++++++

Performing configuration task 1 of 4
Initializing SharePoint Products upgrade...

Waiting to get a lock to upgrade the farm.

Successfully initialized SharePoint Products upgrade.

Performing configuration task 2 of 4
Initiating the upgrade sequence...

Failed to initiate the upgrade sequence.

An exception of type System.MemberAccessException was thrown.  Additional except
ion information: Cannot create an instance of System.Collections.Generic.Diction
ary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.L
ist`1[T]] because Type.ContainsGenericParameters is true.

Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 2
Successfully stopped the configuration of SharePoint Products.
Configuration of SharePoint Products failed.  Configuration must be performed be
fore you use SharePoint Products.  For further details, see the diagnostic log l
ocated at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\1
4\LOGS\PSCDiagnostics_8_6_2015_19_41_44_116_2007752492.log and the application e
vent log.



+++++++++++++++++++++++++++++++++++++++++++++++++++



By checking the logs I got:



[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]: Upgrade [SPConfigurationDatabase] failed.
[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]: Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true.
[PSCONFIG] [SPUpgradeSession] [INFO] [8/6/2015 8:36:24 PM]: SPConfigurationDatabase
[PSCONFIG] [SPUpgradeSession] [ERROR] [8/6/2015 8:36:24 PM]:    at System.Reflection.RuntimeConstructorInfo.CheckCanCreateInstance(Type declaringType, Boolean isVarArg)
   at System.Reflection.RuntimeConstructorInfo.ThrowNoInvokeException()
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.InvokeEmptyConstructor(Type type)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.FetchObject(Guid id)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Boolean checkInMemoryCache, Boolean checkFileSystemCache)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.GetParent(SPPersistedObject persistedObject)
   at Microsoft.SharePoint.Administration.SPPersistedObject.get_Parent()
   at Microsoft.SharePoint.Administration.SPJobDefinition.get_WebApplication()
   at Microsoft.SharePoint.Administration.SPJobDefinition.Validate()
   at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.ResolveObjectAndClassVersions(SPLog log)
   at Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]: SPManager.Initialize failed.
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]: Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true.
[PSCONFIG] [SPManager] [INFO] [8/6/2015 8:36:24 PM]: No context object
[PSCONFIG] [SPManager] [ERROR] [8/6/2015 8:36:24 PM]:    at System.Reflection.RuntimeConstructorInfo.CheckCanCreateInstance(Type declaringType, Boolean isVarArg)
   at System.Reflection.RuntimeConstructorInfo.ThrowNoInvokeException()
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.InvokeEmptyConstructor(Type type)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes)
   at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.FetchObject(Guid id)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Boolean checkInMemoryCache, Boolean checkFileSystemCache)
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.GetParent(SPPersistedObject persistedObject)
   at Microsoft.SharePoint.Administration.SPPersistedObject.get_Parent()
   at Microsoft.SharePoint.Administration.SPJobDefinition.get_WebApplication()
   at Microsoft.SharePoint.Administration.SPJobDefinition.Validate()
   at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
   at Microsoft.SharePoint.Administration.SPConfigurationDatabase.ResolveObjectAndClassVersions(SPLog log)
   at Microsoft.SharePoint.Upgrade.SPConfigurationDatabaseSequence2.Upgrade()
   at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object o, Boolean bRecurse)
   at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)



++++++++++++++++++++++++++++++++++++++





I just cannot find any possible solution for the "Exception: Cannot create an instance of System.Collections.Generic.Dictionary`2[Microsoft.SharePoint.Administration.SPUrlZone,System.Collections.Generic.List`1[T]] because Type.ContainsGenericParameters is true." error message.

All the posts in TechNet are incomplete or does not give a possible solution.





João Rafael de Almeida SharePoint Server Administrator

Move SharePoint 2010 Database Server

$
0
0

Hey Guys,

I am in process of moving our clustered SharePoint 2010 Database server (DB1) to new clustered environment (DB2). I know SharePoint Frontend servers FE1 and FE2 would like to keep connection to DB1, so I am planning for following changes.

Unfortunately our current setup is not using SQL alias so I would like to verify if these steps would work.

SQL Server:

  • Create new SQL cluster with SQL instance name DB2.
  • Move DB’s from DB1 to DB2. (De-attach and move)
  • Add alias in SQL configuration manager (32 and 64bit) for DB1 -- > DB2. (as shown below)
  • Restart SQL server

DNS Changes:

  • Update DNS entry to point DB1 to DB2

SharePoint FE (FE1 and FE2): 

  • C:\Windows\System32\cliconfg.exe
  • c:\Windows\SysWOW64\cliconfg.exe

Add TCP/IP alias where server alias = DB and Server Name under Connection parameter = DB2

Thanks,


Unable to change database for Enterprise Managed Metadata Service

$
0
0

Recently for troubleshooting purpose we changed the database for Enterprise Managed Metadata Service from Central Admin. By mistakenly we deleted the database directly from SQL. Now we are unable to revert back the database.

I have used below PowerShell command, but it is giving error

$app = Get-SPServiceApplication -Name "<ServiceApplicationName>"
Set-SPMetadataServiceApplication -Identity "<Name/GUID of service application>" $app -DatabaseName "<DatabaseName>" -DatabaseCredentials PSCredential object>

Set-SPMetadataServiceApplication : TermStoreEx:Failed to read from or write to database. Refresh and try again. If the problem persists, please contact the administrator.
At line:1 char:33

Adobe I-Filter creating thousand of folders on system root.

$
0
0

I have adobe's v9 ilfilter installed with Sharepoint 2010 on a windows server 2008 r2 box. Indexing seems to working fine and pdf results are returned in a a sharepoint search.  My problem however is that thousands of directories are being created on the C:/ drive beginning with "A9R" followed by a bunch of numbers and letters with legitimate pdf documents (with normal documents names) inside. I read about a similar issue here http://forums.adobe.com/thread/707241?tstart=1 and here http://blogs.adobe.com/acrobat/2008/12/adobe_pdf_ifilter_9_for_64bit.html (about half way down the page). No one seems to have a solution let alone an explanation. Even more scary, is that I cannot seem to find any of these documents anywhere else.

PLEASE HELP!!

The language not supported on the server, even en-us (1033) is in ServerLanguage registry.

$
0
0

Hi,

I encounter an error when configuring new SharePoint server farm. The error says "the language is not supported on the server". I have googling around, and found it due to missing language code in ServerLanguage registry. I have checked the registry, the 1033 language is there.

What is the root cause of this issue? How do I check the SharePoint config wizard used which language to configure server farm?

Below is the server farm details.

[App Server]
Windows Server 2008 R2
SharePoint Foundation 2010 SP2 en-US

[DB Server]
Windows Server 2012 R2
SQL Server 2012 R2 SP4 en-US

Regards,
Bobby Teh


I am thinking what to share :)

Sharepoint 2010 Content Deployment Failure

$
0
0

I am so burned out and not even Microsoft support can help. Our Content deployment keeps failing. Microsoft has tried collecting logs and but no matter what they cannot resolve the problem. 

Anyone have any idea? We even tried setting up a new job and it takes a whole day but still gives the same error.

Content deployment job 'Test' failed.The exception thrown was 'System.NotSupportedException' : 'The stream does not support concurrent IO read or write operations.'

And yes all the common fixes like FileMaxSize Property has been tried.



Have announcements show entire message?

$
0
0

Is there any way I can have my announcements show the entire message and not just the few lines / paragraph preview?

Powershell script backup stops in the middle of the backup job

$
0
0

Hi all,

 I've searched around and can't seem to find a solution to my sharepoint backup issue, my powershell script used to work, until about Nov of last year(seems to be after the latest CU for sharepoint), there were errors but I forgot since I removed all the older backups already. 

 Now the backups would run till about 5.47gb, and it would hang there, waited overnight and the next morning it would still be in a running state in task manager(with 0x41301), so what I did was run the script straight from powershell and it did the same thing. I searched around and found to try clearing the cache, that didn't make any difference, I also looked at the ULS logs, can't seem to see any indication that a backup is failing, also the event logs, got these errors

eventid6398

The Execute method of job definition Microsoft.Office.Server.Search.Administration.CrawlReportJobDefinition (ID 7773dca6-d09c-433b-96a2-602c6199d8e8) threw an exception. More information is included below.

Retrieving the COM class factory for component with CLSID {0FF1CE14-0005-0000-0000-000000000000} failed due to the following error: 8007042d.

8306

An exception occurred when trying to issue security token: The HTTP service located at http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas is too busy. .

5586

Unknown SQL Exception 109 occurred. Additional error information from SQL Server is included below.

A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - The pipe has been ended.)

this is where it seems to stop at this log

eventid18264

Database backed up. Database: Search_Service_Application_CrawlStoreDB_3704f7712d374e92816b971a822ac007, creation date(time): 2012/01/13(09:37:40), pages dumped: 21667, first LSN: 69109:730:37, last LSN: 69109:746:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'\\crxmail-nas\sharepoint\spbr0004\000000A5.bak'}). This is an informational message only. No user action is required.

and here's what the spbackup.log shows where it starts to hangs, and never gets past this, though nothing shows any related to the backup job, also I read if a crawl job is running it can cause issues, but its not running a crawl when I looked

[1/17/2019 11:19:25 AM] Verbose: [Search_Service_Application_CrawlStoreDB_3704f7712d374e92816b971a822ac007] Backup file size changed to 169.28 MB.
[1/17/2019 11:19:25 AM] Verbose: [Search_Service_Application_CrawlStoreDB_3704f7712d374e92816b971a822ac007] SQL Server Message: BACKUP DATABASE successfully processed 21601 pages in 12.878 seconds (13.104 MB/sec).
[1/17/2019 11:19:25 AM] Verbose: [Search_Service_Application_CrawlStoreDB_3704f7712d374e92816b971a822ac007] SQL command completed at: 1/17/2019 11:19:25 AM.

So I'm pretty stumped after a couple days of digging around and will probably call PSS if no one can figure it out, any pointers or advice would be greatly appreciated.

The request failed with HTTP status 401: Unauthorized. (System.Web.Services)

$
0
0

I have developed a project using SSDT for Visual Studio 2013 and sharepoint list data is used in SSRS reports. SSRS reports and data connection are deployed on sharepoint 2013. It was working perfectly fine untill my system OS ran into problem and I had to install windows 8.1 and SSDT again. Now I can deploy reports and dataSource and they works fine explorer as well but  When i click on report preview in visual studio.  It says

               "An error occurred during local report processing. An error has occurred during report processing"

When I open any dataset of report and press "QueryDesigner" or "RefreshFields" button Following error display.

TITLE: Microsoft Visual Studio
------------------------------

An error occurred when accessing the specified SharePoint list. The connection string might not be valid. Verify that the connection string is correct. 

------------------------------
ADDITIONAL INFORMATION:

The request failed with HTTP status 401: Unauthorized. (System.Web.Services)

------------------------------

And Technical details of this error says

An error occurred when accessing the specified SharePoint list. The connection string might not be valid. Verify that the connection string is correct.  (Microsoft Visual Studio)

------------------------------
Program Location:

   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.ExecuteServiceRequest(ServiceRequest request)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.GetLists()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.SharePointTables.Refresh()
   at Microsoft.ReportingServices.QueryDesigners.Relational.QueryBuilderSerialization.FromString(Database db, XmlElement designerStateXml)
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.SharePointQueryBuilder.CreateSharePointQueryBuilder(SharePointDatabase database, String commandText, XmlElement designerStateXml)
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.QueryDesigner.Presenter.LoadDatabaseAndQuery()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.QueryDesigner.Presenter.ValidateConnection()
   at Microsoft.ReportingServices.QueryDesigners.SharePoint.SharePointQueryDesigner.InitializeQueryDesigner()
   at Microsoft.ReportingServices.QueryDesigners.InternalQueryDesignerWrapper.InitializeDesigner()
   at Microsoft.ReportingServices.QueryDesigners.InternalQueryDesignerWithGenericModeWrapper.Initialize()

===================================

The request failed with HTTP status 401: Unauthorized. (System.Web.Services)

------------------------------
Program Location:

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPListService.GetListCollection()
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.<>c__DisplayClass1.<GetLists>b__0(SPListService listSvc)
   at Microsoft.ReportingServices.DataExtensions.SharePointList.SPRemoteConnection.ExecuteServiceRequest(ServiceRequest request).

Any Help in this regard would be appreciated greatly. Thanks in Advance.

File not found exception when use SPSite site = new SPSite(uxAddress.Text);

$
0
0

The Web application at http://v-johnzh-test01/SitePages/Home.aspx could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

I already set the platform as x86.

how to create publishing page using javascript csom in sharpeoint 2010

$
0
0

Hi guys,

I want to create publishing page using javascript csom in sharepoint 2010,please let me know how we can do it.

I want to do client side coding and no server side coding i can do.

Thanks,


Ruchi

SharePoint 2010 library sort order is incorrect.

$
0
0

When sorting by name in a SharePoint 2010 library, numeric results are sorting incorrectly. For instance "122_Test" will sort in front of "13_Test". I know at one point years ago Windows Explorer had the same issue, but when viewing the same library by using the Open with Explorer option, Windows Explorer correctly displays the results. Has anyone encountered this issue, and if so have you found a fix?

Thanks


Tim Vander Kooi

sharepoint 2010 server error:http://go.microsoft.com/fwlink?LinkID=177673

$
0
0

Hi,

I am working on migration project, i have detach SharePoint server 2007 DB and attech SharePoint Server 2010 then i am receiving the error "server error:http://go.microsoft.com/fwlink?LinkID=177673" and servers in farm option display the upgrade available i am run the configuration wizard but error is same and upgrade available is same.

Please help me


Restore default OOB Claim Provider after removing custom claim provider

$
0
0

I used the powershell cmdlet below to assign my custom claim provider which worked fine. Now I need to remove my custom claim provider and go back to default OOB claim provider. I removed my farm solution but now default OOB claim provider does not show up in people picker any more. How can i restore default claim provider? thanks.

$trusted = Get-SPTrustedIdentityTokenIssuer -Identity "Trusted Login Provider Name Goes Here"
$trusted.ClaimProviderName = “name of your custom claim provider”
$trusted.Update()


Darwaish

SharePoint 2010 SP1, can I move my WFEs to a new VM with new IPs?

$
0
0

I need to move my SharePoint 2010 SP1 servers to a more stable VM environment, BUT it would mean the IPs need to change.

I have a Load balancer serving the site under a host name to a VIP, the LB VIP (netscaler) has 3 WFE on it.  These WFE will need to change IPs. How can I do this and can I do this? I had previously spoke to Microsoft with a tier 2 support and they told me a few times I would not be able to do this.

BUT reading your article it maybe possible. And from reading the article you had a link, I am do not have expertise in making those changes DHCP (BUT I can get network team, AD team and server teams involved) 

So can I move my servers that will change IPs and make SP2010 work? If yes, how can I do this?

I would appreciate any help in this

Thank you

While creating Search Service application getting the error

$
0
0

While creating search service application I got the below error. please give the solution

Errors were encountered during the configuration of the Search Service Application.
System.Data.SqlClient.SqlException: Windows NT user or group 'RW\administrator' not found. Check the name again. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand command) at Microsoft.Office.Server.Data.SqlServerManager.GrantLogin(String user) at Microsoft.Office.Server.Search.Administration.SearchDatabase.GrantAccess(String username, String role) at Microsoft.Office.Server.Search.Administration.SearchDatabase.SynchronizeAccessRules(SearchServiceApplication searchApp) at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.SynchronizeDatabases() at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Provision() at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.b__22() at Microsoft.Office.Server.Search.Administration.SearchAdminUtils.UpdateIgnoreSPUpdatedConcurrencyException(String description, SearchAdminUtilsUpdateDelegate updateDelegate, SearchAdminUtilsRefreshObjectDelegate refreshObjectDelegate) at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.CreateSearchApp() at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.ProvisionSearchServiceApplication() at Microsoft.Office.Server.Search.Administration.SearchConfigurationJobDefinition.ExecuteTimerJob()

Incoming Mail on SP2010 gets to drop folder but then dissapears

$
0
0

Hi

Looks like a permission issue.

Get this in uls logs:

An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\181e7c7701ce36ad00000004.eml. The error was: Access denied. You do not have permission to perform this action or access this resource..

where do i look for the problem?

How to get 15000 items from SP list and bind to Jquery Datatable

$
0
0
How to get more than 5000 items from SharePoint List and bind to the Jquery databale.
 
 Please find the below code what i written and also i added all JS files(jquery.1.12.min.js,Jquery.DataTable.js, and Jquery.Datatable.css)
 
I don't undertand where i did the mistake i always getting error like DataTable is not a funtion. 
 
Can Anyone please help me on this ASAP.
 

Thanks in advance.... 

<body>

<div> 
<table id="CustomerGrid" class="display" cellspacing="0" width="100%">
            <thead>
                <tr>
<th>ID</th>
<th>Title</th>
<th>Requestor</th>                    
<th>Company</th>

                </tr>
            </thead>

        </table>     
</div>

</body>


<script language="javascript" type="text/javascript">

var TotalItemCount=0;
var FinalDtata =[];
var objres={ID:'1',Title:'AA',Requestor:'BB',Company:'CCC'};

$(document).ready(function () { //UPDATED CODE START

 //Remove datatable warnings on loading
 $.fn.dataTable.ext.errMode = 'none';

    var siteurl = _spPageContextInfo.webAbsoluteUrl;


    
    var ItemCount= GetItemCount(siteurl, 'Claims');
    
    createRestUrl(siteurl,ItemCount,'Claims');
resDataTable(objres)

});  //UPDATED CODE END

//Step 1. get total item count of threshold exceed list.
function GetItemCount(siteurl, ListName){
     var ItemCount='';
     $.ajax({
           url: siteurl+"/_api/web/lists/GetByTitle('"+ListName+"')/ItemCount", 
           method: "GET",
           async: false,
           headers: { "Accept": "application/json; odata=verbose" },
           success: function (data) {
               ItemCount = data.d.ItemCount;
           },
            error: function (data) {
               console.log(data);
            }
     });
     return ItemCount;   
}

//Step 2. create rest service url if item count is above 5000 then we split calling with 1000 item per call top=1000 for better performance. Otherwise we call as usual 5000 items top=5000
function createRestUrl(siteurl, ItemCount, ListName) {

        if(ItemCount<=5000) {
//Item count less than 5000 so we limit it as usual 5000
        var listServiceUrl = siteurl+ "/_api/web/lists/GetByTitle('" + ListName + "')/Items?$select=ID,Company,Requestor,Title&$top=5000";
} else {
//Item count more than 5000 so we split it in 1000 item per call
var listServiceUrl = siteurl+ "/_api/web/lists/GetByTitle('" + ListName + "')/Items?$select=ID,Company,Requestor,Title&$top=1000";
        }
        
//Step 3: Rest call to procerss each items of list
       $.when(processList(listServiceUrl,ItemCount)).done(function () { });
}

//Step 3: Rest call to procerss each items of list
function processList(nextUrl,ItemCount) {
var getdatares;
        var dfd = new $.Deferred();
        
        if (nextUrl == undefined) {
            dfd.resolve();
            return;
        }
 
        //Step 4: Repetative call to getJSONDataFromUrl() to get Ajax Json object.
        getJSONDataFromUrl(nextUrl).done(function (listItems) {
        var FinalDtata1=[];
        TotalItemCount = TotalItemCount+listItems.d.results.length;
       
           var items = listItems.d.results;
                var next = listItems.d.__next;

                $.when(processList(next,ItemCount)).done(function (){
           
                   dfd.resolve();
               
                });
            var resultObj=[];
            var tableHTML='';
            //var table = $('#CustomerGrid').DataTable();     
            //Create datatable object
             $.each(items, function(index, obj){
//tableHTML +='<tr><td>'+obj.ID+'</td><td>'+obj.Company+'</td><td>'+obj.Requestor+'</td><td>'+obj.Title+'</td></tr>';
resultObj[index] = {
ID:obj.ID==undefined?'':obj.ID,
Title:obj.Title==undefined?'':obj.Title,
Company:obj.Company==undefined?'':obj.Company,
Requestor:obj.Requestor==undefined?'':obj.Requestor,
};
FinalDtata1.push(resultObj);
}); 

console.log(FinalDtata1);
resDataTable(FinalDtata1);
      });
  //console.log(FinalDtata1);
// var myName='Welcome';
// resDataTable(myNmame);
      //return dfd.promise();
// resDataTable(FinalDtata1);
  
}
function resDataTable(FinalDtata1)
{
console.log('invoked...');
try{
console.log("Invoke");
 
//table.rows.add($(tableHTML)).draw(); //Append each list row to data tabel
$('#CustomerGrid').DataTable({
                "aaData": FinalDtata1, 
"scrollY":"600px",
"scrollCollapse": true,
"paging":         true,  
"destroy": true, 
                "aoColumns":
[
{
"ID":"ID"
},
{
                        "mData": "Title",
"render": function(mData,type, full) {
return '<a href="'+mData+'">' + mData + '</a>';
}
                    },
{
                        "mData": "Requestor"
                    },
{
                        "mData": "Company"
                    }
]
});


}
catch (e) {  
        alert(e.message);  

}


//Step 4: Repetative call to getJSONDataFromUrl() to get Ajax Json object.
function getJSONDataFromUrl(endpoint) {
        return jQuery.ajax({
            url: endpoint,
            method: "GET",
            headers: {
                "Accept": "application/json; odata=verbose",
                "Content-Type": "application/json; odata=verbose"
            }
        });

}

</script>
</html>

Viewing all 13778 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>