0
votes
1answer
34 views

Get a sharepoint web name from sharepoint site

spsite site =new spsite(/sites/gvr/); spweb web=site.openweb(); I'm getting all my subsites here, like /sites/gvr/test1 sites/gvr/test I need only subsite name like test1 or test2. Please let ...
0
votes
1answer
173 views

Can't get granular file .bak or .cmp to restore. “Unable to read cabinet info”

I made a granular backup of my site collection into .bak. and now I'm trying to import said file by using Import-SPWeb -identity http:testserver/sites/test -path \\sharedstore\backup.bak I have the ...
0
votes
0answers
108 views

spquery.query cannot be charged correctly

I'm charging my spquery with different parameters from a static class called Fields : In fact I'm using this query to bind result data to my asp:grid view using (SPSite mySite = new ...
2
votes
2answers
787 views

What tool to use to check memory leaks in SharePoint

Currently I encounter memory leaks in my SharePoint 2007 application. What is the best tool to identify is there any un-dispose objects in the codes? Example like DataTable, SPWeb, or SPList.