Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [splongoperation]

SPLongOperation is used for executing long processes in SharePoint.

0
votes
1answer
106 views

Long running job with Timer

Can we use Timer Jobs to execute the processes that can take more than 30 mins? Is there any chance of timer job getting timeout during the long operation? If Timer job is not the one then are ...
2
votes
0answers
134 views

SPLongOperation End() redirect issue

I am using SPLongOperation while creating a sub-site using template. The issue I am facing is when sub-site is created and I redirect using SPLongOperation.End() I am getting below error: Unable to ...
0
votes
1answer
148 views

List item add with event receiver COMException

I expose my scenario and my issue. Scenario I have one custom list in SharePoint 2010 Foundation called Actions. This list has one event receiver that override this methods: ItemAdded ItemUpdated ...
0
votes
1answer
57 views

SPLongOperation in itemupdating

I'd like using SPLongOperation in an event of a list (itemupdating). The problem is I don't have any argument to pass at the constructor of SPLongOperation (this.Page doesn't exist) public override ...
1
vote
2answers
749 views

Using SPLongOperation Within ItemUpdating Event Receiver

I have an event receiver triggered on ItemUpdating that may take some time to run. The code is as follows: using (SPLongOperation longOperation = new SPLongOperation()) { //Custom Messages on ...
0
votes
2answers
548 views

SP Long operation notifications in SharePoint Hosted apps

Is it possible to implement SPLongOperation (or equivalent) in SharePoint Hosted apps, to use the SP default "Working on it.." dialog until list operations are completed?
1
vote
0answers
131 views

SPLongOperation window on the end redirects in itself

I have a small issue with SPLongOperation, basically what i'm doing i have something to happen in "OnPreLoad" method ... In this method i start a long processing operation and i call SPLongOperation, ...
1
vote
1answer
107 views

Why can you hide the loading indicator image on SPLongOperation

A few months ago I started developing for SharePoint and since the very first day I have a - very important - open question. If you use a long running operation a loading indicator image is rendered ...
0
votes
1answer
281 views

What is the best way to download file using SPLongOperation?

I have to build report using SPLongOperation to avoid timeout exception. It doesn't work when I try to push file to response: HttpContext.Current.Response.BufferOutput = true; HttpContext.Current....
2
votes
0answers
817 views

Show status message after long operation

I've implemented a custom web part allowing to upload a CSV file which will create list items according to the content of the CSV file. How it has to behave: Specify a CSV file On import click: ...
0
votes
1answer
1k views

redirect to page after itemadding in list withlong run operation

after many checking about redirecting to page from event recievers I understood that my best option it to di it from itemadding event and not itemadded. that does not means that I can neglect the ...
0
votes
1answer
390 views

SPLongOperation break on error and stay on same page

I have a question regarding SPLongOperation. Basically i'm using it while some actions are happening, and if everything goes well it should redirect user to an other page, but if something goes wrong ...
2
votes
2answers
4k views

SPLongOperation — How does it work?

I just discovered the SPLongOperation class. It is a thing of beauty. I was expecting to have to implement a "job handler" static class, fire off my long-running process in a separate background ...
1
vote
0answers
274 views

SPLongOperation usage and SPDisposeCheck

I'm trying to use SPLongOperation like in the snippet below. When I run SPDisposeCheck, I get an error. So I have these questions: Wouldn't the using statement call Dispose() on SPSite when execution ...
1
vote
1answer
252 views

SPLongProcess never redirects to the destination page and hanging on the processing page forever

I got the following code below , it starts a long running process , once the processing completes it will redirects to another page using EndScript().However,SPLongProcess never redirects to the ...
3
votes
3answers
6k views

SPLongOperation without redirect

Is there a way for SPLongOperation not to redirect the page, but only to hide the processing bar? My scenario is that, when I open a modal dialog, I want to show a loading/processing information to ...
1
vote
2answers
806 views

Can i use SPLongOperation in FeatureActivating?

I have a feature that upgrades and updates an existing site to a new and improved version of that site. One of the tasks of the feature is to upgrade existing data in the site. For simple test/dev ...
0
votes
1answer
3k views

SPLongOperation only starts at operation end

I'm using an AppPage showed up in a ModalDialog and when I click on a button action I try to start a SPLongOperation process, but it only shows the processing panel right before it ends. here is the ...
3
votes
0answers
442 views

SPLongRunning in page_load without redirect

Is there a way for SPLongOperation not to reload the page but only to hide the processing-Wheel? My scenario is that when I open a model-dialog I want to show a loading/processing information to the ...
2
votes
2answers
961 views

Can I delete Long Running Operation Status list items?

I support a SharePoint 2007 based public internet site that has a few performance problems. I just noticed that the hidden "Long Running Operation Status" list has nearly 10000 items in it. I can't ...
2
votes
1answer
2k views

Enhanced SPLongOperation progress behaviour for intermediate actions?

When you launch some custom code, e.g. custom create new site and provisioning of this site, you can use SPLongOperation to display a modal dialog box with a green spinning wheel indicating something ...