Thread Process is exiting without completing the process in SharePoint 2010 webpart

We have implemented simple thread to process to excel upload into SharePoint 2010 custom list.
Thread process running in local SharePoint 2010 environment (OS -Windows 7). Once we deployed in SharePoint server,
Thread process is exiting without completing its proces.
Please let us know if you know any resolution.
Code is as below
Thread thread = new Thread(new ThreadStart(UploadData)); //Upload is the method where data will insert into List
Thread.Start();
Marulasiddappa SB (Swamy)

Hi,
According to your post, an error occurred when you used Thread in SharePoint 2010 web part.
Please can do as follows:
1. Execute the  UploadData method to see whether it can work.
2. Debug your solution in Visual Studio to get more information the error,
It will be easier for us to research if you can provide more code.
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.

    Problem:
    When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
    Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
    Symptoms:
    1)   Sync:  It’s not completing the sync.  Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options.  I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
    waiting for sync to start (step 1 of 7)
    backing up (step 2 of 7)
    preparing to sync (step 3 of 7)
    determining apps to sync (step 4 of 7)
    preparing apps to sync (step 5 of 7)
    importing photos (step 6 of 7)
    waiting for changes to be applied (step 7 of 7)
    syncing apps / copying 1 of 4 (App name) (step 7 of 7)
    canceling sync
    apple icon
    2)   Photos: I've selected only certain of my iPhoto albums to sync to my iPhone.  All of the albums are correct/complete in iPhoto.  All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
    3)   Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list.  If I click on Update All, the Apps are successfully updated in iTunes.  But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
    Other Potential Pertinent Info:
    The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago).  Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed.  I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive.  Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself.  However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive.  All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
    Settings/Status:
    MacBook Air
    OSX v. 10.9
    iPhoto ’11 v. 9.5 (902.7)
    iPhone iOS 7.0.4
    iTunes v. 11.1.3 (8)
    Summary Tab
    Backups (This Computer)
    Options
    Automatically sync when this iPhone is connected
    Sync only checked songs and videos
    Photos Tab
    Sync Photos from iPhoto (429 Photos)
    Selected albums, Events, and Faces, and automatically include (no Events)
    Albums – 9 are selected

    You need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.

  • I have a MacBook and I am unable to successfully update Firefox. I click "Update Firefox" and it's starts updating but never completes the process. I sometimes leave it for hours and it's still updating! Please help!

    Question
    I have a MacBook and I am unable to successfully update Firefox. I click "Update Firefox" and it's starts updating but never completes the process. I sometimes leave it for hours and it's still updating! It's almost as if something is blocking it ffrom completing the process. Please help

    Next time an app update gets stuck try a reset. Press and hold both the home and power buttons for10-15 seconds till the Apple logo appears. Then release both buttons. Wait till your iPad starts on it's own. Try now. Also YouTube is still available. If you can't find it the the app store go to the bottom of the app store page and tap purchased. All your deleted apps will be listed and you can reinstall YouTube from there.

  • HT201328 I received a message that my iphone 4S was unlocked and that I should connect to iTunes to complete the process. When I connect to itunes I do not get the message "Congratulations you iphone has been unlocked". I have the latest itunes. Welcome h

    I received a message that my iphone 4S was unlocked and that I should connect to iTunes to complete the process. When I connect to itunes I do not get the message "Congratulations you iphone has been unlocked". I have the latest itunes. Welcome help.
    ihabf
    [email protected]

    See Here
    https://discussions.apple.com/message/15290457#15290457
    From the More Like This  on the right...

  • I am syncing my iPhone now, and step 6 of 6 is taking significantly longer than it usually does. Is there a way to tell how long it will take, or complete the process?

    I am syncing my iPhone now, and step 6 of 6 is taking significantly longer than it usually does. Is there a way to tell how long it will take, or complete the process?

    Warp Stabilising is a two part process.
    Analysis and Stabilising.
    Both have a banner across the Program Monitor during the process ( unless you have turned that off.
    Analysis start automatically on forst application...but you can rock in there and start adjusting the parameters.
    You may need to hit "Analyse" Button again.
    You should see the number of frames and the estimated duration during this process.

  • HT201269 I was transferring information from my old iPhone to my new iPhone 5S via iTunes and I have completed the process but my phone will not restart, it is stuck in the "Connect to iTunes" screen.  Any ideas?

    I was transferring information from my old iPhone to my new iPhone 5S via iTunes and I have completed the process but my phone will not restart, it is stuck in the "Connect to iTunes" screen.  Any ideas?

    See this article to assist you with your restoring your device once the device is left in recovery mode.
    http://support.apple.com/kb/ht1808
    good luck

  • I live in Bidar,Karnataka,India.I recently updated my firmware.i dont have an official sim card to regain access and complete the process,can u please suggest me where can i buy an official sim card,please?

    i live in Bidar,Karnataka,India.I recently updated my firmware.i dont have an official sim card to regain access and complete the process,can u please suggest me where can i buy an official sim card,please?

    From the carrier for your cell phone service.
    Allan

  • I am trying to transfer the licence of a Dreamweaver CS3 Macintosh product. A transfer of licence form has been signed by the person that gave it to me. Can anyone help me complete the process?

    I am trying to transfer the licence of a Dreamweaver CS3 Macintosh product. A transfer of licence form has been signed by the person that gave it to me. Can anyone help me to complete the process as Adobe chat say they cannot to help? They told me the forum is looked at by an expert team. Anyone there? Thanks

    Did you complete your form as well?  A form needs to be completed and signed by both parties and submitted to Adobe support via a support ticket. Chat support cannot help, but should have pointed you to the KB article with the instructions.
    Transfer an Adobe product license

  • FileVault is taking days to complete the process

    Hi,
    I activated FileVault when my Mac started with keyboard issues as I knew I had to take it to a technician. It did not completed the process then, as my keyboard died and I forgot about FileVault. After my keyboard was replaced I noticed it too slow and I believe it is because it has still not finished the process (it's been days!). What can I do?
    Thanks.

    Back up all data before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.
    In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.
    Then, from the menu bar, select
              File ▹ Turn Off Encryption
    Enter the password again.
    You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.
    If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select
              Mac OS Extended (Journaled)
    from the Format menu.
    You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.
    Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

  • How to save data in CallableObject without completing the action

    Hello,
    we have a process with actions with callable objects. Some of these actions cannot be completed within a short time, but still are an "atomic task". Thus we'd like to save the data entered so that it is there again when calling the action at a later time again. This would also make it possible for the employee of a team to really take the task (eg. by pressing a button "take this task") and for the other to see, who is in charge.
    How can data be written into the GP context (eg. LocalContext of the CallableObject), without completing the action (eg. by setting a result state)?
    We do not want to build LoopBlocks where the same Action is called and completed multiple times, each time adding an other "Iteration X"-entry in the navigation.
    Best regards,
    Manuel Schaffner

    Hi,
    I dont think there is any way of passing data back to GP context without completing the callable object. If you wish to save the data locally then you can probably use CAF business objects.
    Ashutosh

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • Can we stop the process chain in middle of the process ?

    hi experts,
        Can we stop the process chain in middle of the process after scheduled.
        my process chain is like  start--->load>psa>ods1-->further updates--->ods2. In this case I have already scheduled but i want to stop the process how can i. After rectifying the error I want to restart again.
    if it is possible what are the steps we fallow pl give me step by step procedure.
    thanks & regards.
    venkat

    stopping the process chain is pretty simple. you just need to kill the jobs associated to them as mentioned by other folks.
    for restarting, have a look at this blog.
    Restarting Processchains
    there he explains how to restart a stopped process chain.
    Raghav

  • Sharepoint 2010 Webpart debugging - Writing to the console

    I am creating a SharePoint 2010 Webpart, and I'd like to write to the console for debugging purposes. Unfortunately the command Console.Writeline doesn't seem to work for me. How do I fix this??

    Unfortunately, the functionality you're looking for doesn't exist.  Web parts are primarily used for web applications and are built within class libraries, which have no console functionality at all. Therefore, prevents writing to the console.
    Alternatively, you can use Visual Studio to debug the web part and step through the code using breakpoints.  Visual Studio 2010 allows you to Debug the web part by hitting "F5".
    Here's a link for some resources to help you get started developing web parts for SharePoint 2010.
    http://donahoo-development.com

  • Use HCM processes and Forms without using the Enterprise Portal

    is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
    1) Create an Adobe form and Interface using SFP
    2) Set up ISR and Form Scenario
    3) Set up Forms configuration to use existing Backend and generic Services
    4) Set up workflow to updated Backend using Services
    is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
    Any ideas will be greatly appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
    The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
    In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
    Best Regards
    Michael Bonrat - Solution Manager HCM Processes and Forms
    Info about HCM Processes and Forms:
    www.service.sap.com/erp: 
    - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms

  • I cannot close firefox without closing the process via the windows task manager.

    The X in the top right corner, the 'Exit' command under 'File', nor right-click+close on the taskbar will close Firefox. I have to press ctrl+alt+del, and close the process manually.

    https://support.mozilla.com/en-US/kb/Firefox%20hangs <br />See '''hang-at-exit'''

Maybe you are looking for

  • Question about Global index and Table Partitions

    I have created a global index for a partitioned table now in the future the partitions will be dropped in the table. Do I need to do anything to the global index? Does it need to be rebuilt or would it be ok if partitions get dropped in the table?

  • Last field has no value in sender flat file.....

    Hi, I am doing FCC on sender flat file. If the last field in the flat file has no value i.e. say if comma is my fiels seperator ,then the file is lik: 1,2,3, The last node of my XML is not formed and giving me mapping errors....How do I solve dis?? P

  • IOS 8.3 update leaves me unable to pair a Configurator-supervised iPhone

    I've used Apple Configurator to supervise an iPhone 6, in part to prevent the phone from pairing with any computer but my own (a MacBook Air 11" from 2013 running OSX 10.9). I updated the phone to iOS 8.3, changed nothing else, and now the phone won'

  • HT201066 Using us-144 mkII (USB interface) with Quicktime

    Does anybody know how I can get my MacBook Air to recognize my USB interface when I use Quicktime? Quicktime input options are limited to internal mic and my cam... won't recognize my USB interface, even though its appearing in the computers' audio p

  • HTTPS not functioning

    We have two content switches on top of two webservers .There is a roundrobing load balancing configuration. We were wrking fine with htttp and https access to the webserver fromthe internet while on a trial SSL certificate . Now we have installed a p