Tagged Questions
1
vote
1answer
354 views
Is it possible to copy SP Web from 2010 to 2013?
All I am trying to do is copy a SharePoint Web (i.e: http://sp2010/hr) to (i.e: http://sp2013/hr).
I was able to export using:
Export-SPWeb http://sp2010/hr –Path "hrexport.cmp"
But when I try to ...
1
vote
0answers
172 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
1answer
82 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 ...
0
votes
0answers
102 views
Content Typed Field Names not propagated with Multilingual User Interface (MUI)
I've created a CType with columns namings for the alternated languages, by changing the current language and set the corresponding naming. So far so good, it works as expected.
The problem comes when ...
2
votes
4answers
354 views
What are the dangers of disposing of SPWeb when it's automatically disposed of?
In some cases such as:
using (SPSite site = new SPSite(@"http://sitecollection/"))
{
SPWeb web = site.RootWeb;
}
you don't need to dispose of the SPWeb object because it is disposed of ...
1
vote
2answers
769 views
Error using SPRequest when the SPWeb is already disposed
Is this correct way of using the SPSite and SPWeb and the SPList.
private SPList list;
pulic void getList()
{
using (SPSite site = SPContext.Current.Web.Site.WebApplication.Sites[0])
{
using ...
0
votes
2answers
373 views
EnsureUser not working in Job
Background:
sharepoint 2010
custom membership provider
custom job to create users
Job is deployed by code and executed first time from some WinForms exe, executed by local Administrator. Users are ...
0
votes
0answers
640 views
Sys.WebForms.PageRequestManagerServerErrorException: Trying to use an SPWeb object that has been closed or disposed and is no longer valid
Sys.WebForms.PageRequestManagerServerErrorException: Trying to use an SPWeb object that has been closed or disposed and is no longer valid.
This is the error message that a user gets on a SharePoint ...
3
votes
4answers
1k views
Get SPWeb by ID without Site Collection?
I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
4
votes
4answers
5k views
How can I get a reference to a specifc SPWeb object in a custom timer job?
I have a custom timer job that imports data from an external source into a specific list on a specific Web in my SharePoint 2010 installation. That is the job is only relevant to one list on one web. ...