[SOLVED] check pacman source sign failed on sh4 CPU

I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
I followed Pacman-key to setup key rings.
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
I run previous commands through ssh.  I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
havegecollect.o: In function `havege_gather':
havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
collect2: ld returned 1 exit status
And rerun makepkg on pacman.
==> Validating source files with md5sums...
pacman-4.0.3.tar.gz ... Passed
pacman-4.0.3.tar.gz.sig ... Passed
0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
0002-Check-empty-subdirectory-ownership.patch ... Passed
0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
pacman.conf ... Passed
pacman.conf.x86_64 ... Passed
pacman.conf.sh4 ... Passed
makepkg.conf ... Passed
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
Even I manual add the key on message, it is still failed.
$ sudo pacman-key -r 5C2E46A0F53A76ED
gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22
$ makepkg
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
fedora9 pinentry 0.7.4-5.fc9.sh4
Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
gpg --list-keys
echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
Last edited by dlin (2013-02-07 01:42:56)

I've build 'base' packages on sh4 CPU. (Some base library still use the original linux distributions. eg. gcc,glibc,...)
I followed Pacman-key to setup key rings.
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
I run previous commands through ssh.  I tried to build haveged, but it occurs following messages, I guess it is caused by old kernel and my hardware haven't realtime clock. So I forgive it.
gcc -Wall -I.. -O2 -pipe -o haveged haveged.o havege.o havegetune.o havegecollect.o havegetest.o
havegecollect.o: In function `havege_gather':
havegecollect.c:(.text+0x264): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x6a0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x9d0): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0xd8c): undefined reference to `HARDCLOCK'
havegecollect.c:(.text+0x1208): undefined reference to `HARDCLOCK'
havegecollect.o:havegecollect.c:(.text+0x1684): more undefined references to `HARDCLOCK' follow
collect2: ld returned 1 exit status
And rerun makepkg on pacman.
==> Validating source files with md5sums...
pacman-4.0.3.tar.gz ... Passed
pacman-4.0.3.tar.gz.sig ... Passed
0001-Add-conflict-for-replacing-owned-empty-directory.patch ... Passed
0002-Check-empty-subdirectory-ownership.patch ... Passed
0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch ... Passed
pacman.conf ... Passed
pacman.conf.x86_64 ... Passed
pacman.conf.sh4 ... Passed
makepkg.conf ... Passed
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
Even I manual add the key on message, it is still failed.
$ sudo pacman-key -r 5C2E46A0F53A76ED
gpg: requesting key F53A76ED from hkp server pool.sks-keyservers.net
gpg: key F53A76ED: "Dan McGee <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22
$ makepkg
==> Verifying source file signatures with gpg...
pacman-4.0.3.tar.gz ... FAILED (unknown public key 5C2E46A0F53A76ED)
BTW, in the process of building gpgme, I can not build pinentry successful, so I pass and use fedora's.
fedora9 pinentry 0.7.4-5.fc9.sh4
Solved, I guess wrong direction, that's cause I forgot to read Makepkg again.
gpg --list-keys
echo 'keyring /etc/pacman.d/gnupg/pubring.gpg' >> ~/.gnupg/gpg.conf
Last edited by dlin (2013-02-07 01:42:56)

Similar Messages

  • [SOLVED] Would "pacman -S foo" fail if system's package list is old?

    I'm new to Arch and want to understand my system as much as possible.
    In several places in the wiki it is recommended to install a single package with "pacman -S foo" instead of "pacman -Sy foo" unless I'm doing a system upgrade at the same time, so that versions of foo and its dependencies are in sync with all the other packages on my system. This seems to be good advice and I follow it.
    However, I recently read that the Arch repos only have the latest version of any given package. Now I'm confused. So what happens if the versions of foo and its dependencies on my package masterlist are outdated? Would "pacman -S foo" fail? If not, how can it possibly work if pacman is trying to install package versions that are no longer in the repository?
    Last edited by bdantas (2014-06-18 12:34:01)

    To be safest, always use `pacman -Syu <newpackage>`.
    I generally use `pacman -S <newpackage>` which is a bit quicker - and this is fine if you update frequently.  I do a `-Syu` at least once a day.
    Never ever do a `pacman -Sy <newpackage>`.  This can lead to severe breakage and potentially a completely unbootable system.  In fact never do `pacman -Sy` in any way unless there is also a 'u' there (i.e. "-Syu").  I think a feature request for pacman could be made to have a prompt when such a command is entered "Are you an idiot?[Y/n]  Do you want pacman to destroy your system? [Y/n]".
    In contrast, `pacman -S <newpackage>` should never do any damage.  If your package database is still current, it will work fine.  If you package database is too old, it will exit with an error message without making any changes to your system.  The error message is along the lines of the package/file not being found in the repos or on the server(s).
    EDIT: as this is already well covered in the wiki this may be best suited to the NC.

  • Check on source system failing

    My info package is failing
    When i check the connection with my source system it says
    "Result of the destination check:Password logon no longer possible -  too many failed attempts"
    How can this be fixed??

    Hi,
    This problem comes whenever the background user password changes or resets, so contact Ur basis Team for restoring the connection
    The password for ALEREMOTE has been locked
    Try to Schedule Info Package once the password has been reset. It will be successful.
    T.codes : SM59 Source system Connection
                  RSCUSTV*                   * 1,2,3,4,5,6,7  Back ground user ID Setup
    Regards
    Hari

  • [Solved] Using pacman's package signing correctly

    When pacman 4 first came out, I just merged the pacnew file so that package signing was disabled. I did initialise the keys etc. but I didn't import or sign the master keys or enable signature checks.
    So tonight I figured I would start seeing how this worked. I took the fingerprints from the master key list on archlinux's site and I checked they matched the fingerprints listed on Allan's blog. I then imported the five master keys using pacman-key, signed them locally and used --edit-key to assign each of the five marginal trust.
    I then commented out the "Never" line for package signing in pacman.conf so that it would use the compiled in default to make signatures optional but check them if available. I also set PackageRequired for the core repository.  I left the other repos I have enabled to default to the default policy as I think signing isn't complete for them.
    I then ran pacman -Syu. This mostly went OK but I'm slightly worried about this bit:
    error: gsm: key "7F2D434B9741E8AC" is unknown
    :: Import PGP key 9741E8AC, "Pierre Schmitz <[email protected]>", created 2011-04-10? [Y/n] y
    error: jbig2dec: key "BBE43771487328A9" is unknown
    :: Import PGP key 487328A9, "Bartlomiej Piotrowski <[email protected]>", created 2011-10-10? [Y/n] y
    error: p11-kit: key "E8F18BA1615137BC" is unknown
    :: Import PGP key 615137BC, "Ionut Biru <[email protected]>", created 2011-04-19? [Y/n] y
    error: pacmatic: key "396E3E25BAB142C1" is unknown
    :: Import PGP key BAB142C1, "Kyle Keen <[email protected]>", created 2011-02-03? [Y/n] y
    error: patchutils: key "06096A6AD1CEDDAC" is unknown
    :: Import PGP key D1CEDDAC, "Laurent Carlier <[email protected]>", created 2011-10-30? [Y/n] y
    error: perl-encode-locale: key "F99FFE0FEAE999BD" is unknown
    :: Import PGP key EAE999BD, "Allan McRae <[email protected]>", created 2011-06-03? [Y/n] y
    error: vlc: key "B7310AE5F04569AE" is unknown
    :: Import PGP key F04569AE, "Giovanni Scafora <[email protected]>", created 2011-10-15? [Y/n] y
    I initially thought I was just telling pacman to import the keys but now I'm wondering if I also told it to trust them and if I wasn't meant to do that? Should they have been automatically handled if they were signed correctly? I was trying to follow the instructions on Allan's blog which show this question and Allan answering yes. However, I now realise that I got confused and that that bit comes *before* Allan imports and trusts the master keys, but I'd already done that at this point. (But it didn't complain they were untrusted once imported...)
    Could somebody either reassure me that I did this correctly (securely)? Or advise me on how to undo it if that's what I should do?
    Last edited by cfr (2012-02-19 15:14:02)

    I followed Allan's guide on page
    http://allanmcrae.com/2011/12/pacman-pa … rch-linux/
    and pacman -Syu gave:
    error: xorg-bdftopcf: signature from "Allan McRae <[email protected]>" is marginal trust
    Which is suprising as his key is one of master keys. Currently several master keys were revoked.
    Based on GPG's output it is maybe requires some additional input to mark the revoked key as trusted:
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
    gpg gives this:
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    full story:
    [root@archbang ~]# for key in FFF979E7 CDFD6BB0 4C7EA887 6AC6A4C2 824B18E8; do
    > printf 'trust\n3\nquit\n' | gpg --homedir /etc/pacman.d/gnupg/ --no-permission-warning --command-fd 0 --edit-key $key
    > done
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    I got to go now I will try gpg key edit later. If someone knows what to do please help.
    Thanks

  • What files should not be checked into Source Control?

    Good afternoon.
    Running RoboHelp 11, integrated with Team Foundation Server and Visual Studio 2010.
    When my two colleagues recently "got" the latest project files from Source Control, they also got items that had been removed or deleted. For example, I had removed all conditional build tags from my project, but their version still included the build tags. Eventually, thanks in part to an old post from Peter Grainge, we realized that the PSS in Source Control contained a lot of that old information. We deleted the PSS and stopped checking it into Source Control. Problem solved. No more conditional build tags or unwanted Single Source Layouts, etc. (I think the PSS got checked in by our Release Engineer when he was trying to solve some other problem. Two years ago it was not being checked in.)
    I vaguely remember reading something somewhere once upon a time about not checking certain RoboHelp  project management files into Source Control. So far I've not found any such information in the RoboHelp Help or online.
    Does anyone know where I can find a list of RoboHelp HTML project management files, such as the PSS file, that should never be checked into Source Control?
    Many thanks.
    Carol Levine

    Look in Snippets on my site.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Form is not working of multiple form check boxs, source posted. HELP.

    Form is not working of multiple form check boxs, source posted. HELP.
    I'm trying to have golive form be able to check one, two or all of the options in Graphics field.
    As is it will only post results from the last checked box.
    Here's the page
    http://www.perfection-press.com/Pages/ContactForm.html
    Here's where source in golive has scanning,design,filesupplied.
    [code removed to fix forum topic display]

    Since the checkboxes all have the same name, the values are over-writing each other when being passed to the PHP script. The best way to fix that is to add a pair of empty square [] brackets after the checkbox names, so make the names "graphics[]" instead of "graphics". That tells PHP that the values are being passed as a list (an array) instead of a single value. As long as your processing script knows what to do from there (and it does), should solve the problem.
    By the way, I noticed that two of the checkboxes were named "graphics" and the other was "graphic" (singular). You'll want to fix that too so they're all the same.

  • Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.

    I am using VS 2012 and BizTalk 2013 and attempting to deploy an application to BizTalk when I get these errors:
    Error 47
    at Microsoft.BizTalk.Deployment.Assembly.BtsMap.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsArtifactCollection.Save()
       at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
       at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    0 0
    Error 49
    Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    Error 46
    Failed to deploy map "XXX.BTS2013.XXX.Maps.map_XXXX_R01_InsLabProc".
    Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present.
    0 0
    I also tried to Import a MSI file from our test environment to see if that would work...got the same errors.  After spending hours (not kidding) looking for an answer, all I could find is that a hotfix would work.  So, I got the hotfix from Microsoft
    Support and applied it then rebooted.  Still getting the same errors.  I'm absolutely at a stand still.  Interesting that I got this application to deploy yesterday and then the next time I deployed it I started getting these errors.  I'm
    ready to pull my hair out!
    Is there an answer for this out there somewhere?  Any help would be appreciated.
    Thanks,
    Dave

    Hi Dave,
    Which hotfix have you applied? I don't think a hotfix of this issue is available for BizTalk 2013 yet. You should create a
    support ticket with Microsoft to get a solution.
    If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Data source control failed to execute the insert command

    I have a sign up training calendar that runs on sharepoint 2010, over the weekend i went to install the latest cumulative update http://support.microsoft.com/kb/2817552 and it seems to have broken the signup process. Whenever some goes to sign up for an
    event they see the following error what can i do to fix this?
    Error
    The data source control failed to execute the insert command. d8b915be-5355-4d63-97bb-c9cf3aacad75
    Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: d8b915be-5355-4d63-97bb-c9cf3aacad75
    Date and Time: 7/31/2013 9:51:25 PM

    0
    Vote
    Thanks!!!
    It worked for me too

  • I can not publish my software I get "_An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates were found that met all the given criteria."

    Error 2
    An error occurred while signing: Failed to sign bin\Debug\app.publish\\setup.exe. SignTool Error: No certificates were found that met all the given criteria.
    Yesterday I could publish, today no code changes, but I get the above error.
    Help

    Hi El-sid,
    So glad that you have solved your issue, and thanks for your sharing.
    Have a nice day.
    Best Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Signing failed

    the store of my nokia c6-01 is signing failed, it says that "check your phone's date and time." what am i gonna do? Please help me.

    There you go …

  • Viewer Builder, Built-in Single App, Error "Signing Failed"

    Hi All
    I created Built-in Single App, with sample1.zip exported on Dashboard,
    developer-viewer.ipa/developer-viewer.zip is built correctly. (Folio/Viewer version is V21)
    Than I changed only from sample1.zip to magazine.zip,
    then developer-viewer.ipa/developer-viewer.zip is Not built, with "Signing Failed".
    I checked provision files, p12 files and others, uninstall and install Viewer Builder,
    but still I can't built a built-in Single App with magazine.zip.
    How to fix this trouble?
    shimoawazu

    I used a sample1.zip for confirming the Viewer Builder settings.
    The sample1.zip is 4pages data of our magazine.
    I built a Built-in Single App with sample1.zip by Viewer Builder correctly.
    Then the folio of magazine was ready, I published it and exported magazine.zip.
    And I just changed from sample1.zip to magazine.zip, but a Built-in Single App is not built correctly with "Signing Failed".
    I deleted the App on the list of Viewer Builder and  re-built a Built-in Single App again,
    the result is same, "Signing Failed".
    I changed from magazine.zip to sample1.zip, Built-in Single App is built correctly.
    What is wrong with magazine.zip?
    shimoawazu

  • "Signing failed, please try again" error

    I've got a perplexing and frustrating problem. My app is already to go, I've downloaded the .ipa file and tested it. It works fine on the iPad. But, when it came time to create the distribution app (.zip) file, I keep getting a "signing failed, please try again" error.
    I've tried but failed the following:
    -I've checked my p12 certificates. They were valid. I even recreated them twice, each time it did not work.
    -I've rebuilt my folio twice. I even tried deleting all but one article then trying to export the distribution app
    -I've renamed the article names to just alphabets and numbers, no special characters
    Yet despite all of my efforts I keep getting this error. What am I missing?
    Thanks!
    Pai

    No. We're going to need to get log files from you to determine what is going wrong. To get log files you need to create an empty text file. on your machine. You can create the file using TextEdit, just open TextEdit, make a new document, go to the Format menu and select "Make Plain Text" and save it to /Users/username/AppBuilderLoggingEnabled.cfg.
    Then run App Builder again to get the error. After you get the error look in /Users/username/ for a file called appbuilder.log and send it to me at [email protected]
    Thanks,
    Neil

  • Custom SharePoint 2010 designer page throws "The data source control failed to execute the insert command" exception while adding the new item after the August 13, 2013 CU has installed

    We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
    August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
    Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values)     at
    System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65  w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
    failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex)     at System.Web.UI.DataSourceView.Insert(IDictionary
    values, DataSourceViewOperationCallback callback)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    06/19/2014 16:49:37.65* w3wp.exe (0x1240)                        0x1300 SharePoint Foundation        
     Runtime                        tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
    I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
    <SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
    Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
    instead of only "Daughter".
    Please provide the solution to get rid of this issue.
    Thanks
    Ramasubbu

    Try below:
    http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
    http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
    While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
    'i' and I was working with an Edit Form. Changing it to
    'u' as it was with every other FormField fixed the issue.
    <SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
    />
    Explanation:
    DataBind operation type parameters (the first parameter) are listed below:
    'i' stands for INSERT,
    'u' stands for UPDATE,
    'd' stands for DELETE.
    http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
    If this helped you resolve your issue, please mark it Answered

  • I use the Icalendar at home, at work, and on my Iphone.  I don't want to have to "sign in" every time I need my calendar.  How do I stay signed in?  I have checked the "keep signed in" box, but it does not work.

    I use the Icalendar at home, at work, and on my Iphone.  I don't want to have to "sign in" every time I need my calendar.  How do I stay signed in?  I have checked the "keep signed in" box, but it does not work.

    Welcome to the Apple community.
    Staying signed in at iCloud.com is not a problem for me. Try resetting your browser or emptying its cache.

  • Check for source file

    Hi,
    My requirement is as below:
    In source FTP directory, I have to check if source file exists or not. If exists, that file shuld be picked up and created at target side with header, line items and detail record.
    If the file does not exist, then a file should be created at target side with only header and detail record with no line item records.
    In any case, a file should be created at target side.
    Please suggest if Dynamic configuration is the better option for this or any other way gives better results.
    Thanks and Regards,
    Anil.

    @ Babu,
    The query is like...
    If the file does not exist, then a file should be created at target side with only header and detail record with no line item records.
    In any case, a file should be created at target side.
    so i answered as,
    Now when the file is not present, u will get only the empty tags..(message type name in XML Payload)
    If you read the question carefully, it is not being asked "how to handle empty files". It is about "what to do if there are no files in the source directory", which implies that if there are no files present, then create one.
    u said as,
    This option won't "create" an empty file.
    Correct me if i am wrong, DID I SAY IT WILL CREATE an EMPTY FILE IN SOURCE FOLDER???
    No, you don't need to say that .. it was evident from your answer. In this forum post, nothing is being asked regarding empty files, so please don't provide such answers which has nothing to do in this situation.
    -- Abhi

Maybe you are looking for