SPWeb is a single website in SharePoint residing in a Site Collection (SPSite).

learn more… | top users | synonyms

0
votes
1answer
72 views

Uncommitted changes on SPWeb object

In my simple Powershell script, I keep getting an error "Exception calling "ResetRoleInheritance" : There are uncommitted changes on the SPWEb Object, call SPWeb.Update() to commit the cahnges before ...
0
votes
1answer
206 views

SPWeb.GetList issue on SPContext.Current.Web

When I call SPContext.Current.Site.RootWeb.GetList(someListUrl) I get a System.Runtime.InteropServices.COMException, but when I call the same method from a new SPWeb instance, it runs fine - why? // ...
0
votes
1answer
135 views

SPWeb permissions inside RunWithElevatedPrivileges

Please consider following scenario: public override void ItemUpdated(SPItemEventProperties properties) { SPSecurity.RunWithElevatedPrivileges(delegate() { SPWeb web1 = properties.Web; ...
0
votes
1answer
100 views

SPLink.UrlParameter

Is there a way to assign value to Microsoft.SharePoint.SPLink.UrlParameter. From MSDN, I see that this is parameter is read only, but was wondering is there any setter function that would have access ...
0
votes
1answer
148 views

Multilingual User Interface (MUI) not works with SiteTemplates

I've created a CType and create columns namings for multiple languages by changing the current language and set the corresponding naming. Then I create a Subsite (same language based) using those same ...
1
vote
0answers
286 views

_spBodyOnLoadFunctionNames.push Not working in firefox

I tried this in firefox i dont know why its not working but it working in other browsers function loadmonth() { alert('called'); } _spBodyOnLoadFunctionNames.push("loadmonth");
0
votes
0answers
38 views

Displaying Sharepoint objects in PropertyGrid - low performance

At first i didn't know where I should ask this question since it's about Windows Forms and SharePoint but after a bit of searching I decided this is a good place. I would like to know if there's a ...
0
votes
0answers
176 views

Error during Import-SPWeb

I am trying to exporting from my developing machine which has a backup of the content database, and importing it back in the production farm. Running: Export-SPWeb -identity http://mysite -Path ...
0
votes
0answers
37 views

SPWeb approvers. Different users for each SPWeb in a site collection

I have created a custom site collection and in this site collection are multiple SPWeb news sites. The news SPWebs are moderated by different groups of users. I want to create a group for each news ...
0
votes
0answers
72 views

Any ideas why the Inherit is not available on a SPWeb?

Any ideas why the Inherit is not available on a SPWeb?
0
votes
0answers
104 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 ...