Web Applications talking to SharePoint
Posted on 2011-09-16
I have been working on a web application recently and have hit a problem with integration into sharepoint.
Basically the web application is a stand alone website, which uses sharepoint document libraries to store documents.
I am using the sharepoint object model to read the content (HTML Files) from the libraries to the page in the web application.
Everything works fine on my dev machine, but when i put it on the server, any page which is talking to sharepoint to recover a document from the document library stalls when loading for about 3 to 4 seconds.
If i comment out the code which looks at the sharepoint document library and try exactly the same process, the page loads very fast.
I am using windows Authentication on the web app, and have set up SPN's for kerberos and the app pool accounts.
Any ideas why the web app should slow down so much when talking to sharepoint and any ideas how to stop it slowing down ?
The document library has about 5200 documents in it, which are stored in a date folder structure so that each container does not contain any more than 50 or so other documents / containers....
I have now tested this on a couple of servers and the problem is consistent throughout including one which is a brand new install with SQL / SharePoint on and thats it...
Any help appreciated..