Newbie - JPDK file and setting questions

I study this existing code, and can't get it to run properly. My first question is this:
1) The code UrlUtils.constructResourceURL( portletRequest, HttpPortletRendererUtil
.absoluteLink( request, url ) );
Returns a URL with respect to the provider. My machine name is "mymachine" for example, but it returns "localhost" instead. So, for portal page, it's "mymachine" for this host, and for resources, it's "localhost". Since they're not the same, I have some authentication issue.
Is there a configuration to get this to work properly?
2) The provider's properties configuration file location
I saw 2 files under WEB-INF/deployment
_default.properties
and:
somepackage.com.provider.properties
Then, I look at these threads:
http://www.it-eye.nl/weblog/2005/09/23/get-user-information-in-your-portlet/
It says:
default.properties
application.properties
Which are not the same names as above
This thread:
OC4J_Portal creating unwanted LDAP connexions to OID
It says:
oid.properties
So, what is it? Any properties file within WEB-INF/deployment? Where do I configure the name/location for this file?
3) In that property file, there is this entry:
definition=providers/somepackage.provider/provider.xml
The provider.xml file is located in
WEB-INF/providers/somepackage.provider/provider.xml
However, I got an error, and it says it looks for the provider.xml at:
c:/providers/somepackage.provider/provider.xml
So I moved the file there, and it stops this error. What is going on here, and how do I fix this problem?
4) I already configure the OID in the container, with host, port, username, password. Why do I also need to do it here, and providing the same information (with some additional LDAP paths)
I am guessing that the OID for the container is for the web.xml (application level) security settings, while this properties file is used internally by JPDK.
Could some experts please help.
Thank you very much in advance.
Edited by: user626875 on Sep 11, 2009 8:55 AM

Hi
In Safari Preferences>General, "open safe files" ought to be selected. Then, downloads open automatically based on their file type (.dmg, .zip, etc.). Safari does not ask you how you want to open the file.
I suggest downloading the Citrix file again. The corruption of the original download is usually not a function of Safari, but rather the source. If you still have a problem with the download after following the above, quit Safari. Go to the Finder. In your User Account>Library>Safari folder, move the downloads.plist file to the trash, then restart Safari and try the download again.

Similar Messages

  • Reading data From XML file and setting into ViewObject to Pouplate ADF UI

    Hi,
    I have following requirement.
    I would like to read data from XML file and populate the data in ViewObject so that the data can be displayed in the ADF UI.
    Also when user modifies the data in the ADF UI, it should be modified back into to ViewObject.
    Here is an example - XML file contains Book Title and Author. I would like to read Book Title and Author from XML file and set it into ViewObject Attribute and then display Book title and Author in ADF UI page. Also when user modifies Book title and Author, I would like to store it back in View Object.
    Please help me with this requirement and let me know if any solution exist in ADF, for populating the ADF UI screen fields with external XML file data.
    Thanks

    Read chapter 42 http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcadvvo.htm of the fusion developer guide
    Section 42.7, "Reading and Writing XML"
    Section 42.8, "Using Programmatic View Objects for Alternative Data Sources"
    Timo

  • How to add text in .ai file and  set position, font, size and colour

    I want to place multiple lines of of text (individually) into .ai file and set size, font, colour and position for each.
    Preferably text should have origin in a single point (rather than be framed)
    Hope anyone can help me out.
    Thank you in advance.

    Here's what's in the Scripting Reference
    Creating and modifying text frames
    // Creates a document with text frames displaying path, area and point
    // text, changes the content of each frame then deletes the 2nd frame
    // create a new document
    var docRef = documents.add();
    // create 3 new textFrames (area, line, point)
    // Area Text
    var rectRef = docRef.pathItems.rectangle(700, 50, 100, 100);
    var areaTextRef = docRef.textFrames.areaText(rectRef);
    areaTextRef.contents = "TextFrame #1";
    areaTextRef.selected = true;
    // Line Text
    var lineRef = docRef.pathItems.add();
    lineRef.setEntirePath( Array(Array(200, 700), Array(300, 550) ) );
    var pathTextRef = docRef.textFrames.pathText(lineRef);
    pathTextRef.contents = "TextFrame #2";
    pathTextRef.selected = true;
    // Point Text
    var pointTextRef = docRef.textFrames.add();
    pointTextRef.contents = "TextFrame #3";
    pointTextRef.top = 700;
    pointTextRef.left = 400;
    pointTextRef.selected = true;
    redraw();
    // count the TextFrames
    var iCount = docRef.textFrames.length;
    var sText = "There are " + iCount + " TextFrames.\r"
    sText += "Changing contents of each TextFrame.";
    // change the content of each
    docRef.textFrames[0].contents = "Area TextFrame.";
    docRef.textFrames[1].contents = "Path TextFrame.";
    docRef.textFrames[2].contents = "Point TextFrame.";
    redraw();
    docRef.textFrames[1].remove();
    redraw();
    // count again
    var iCount = docRef.textFrames.length;
    Your are looking stuff with the pointTextRef.

  • Macbook pro starts up but i see picture of some files and a question mark

    So I was on my laptop today and it just outta nowhere froze , the song i was listening stopped and i couldn't change the page, i could move the trackpad but nothing else.
    so i clicked on the off button and turned it off.
    then i tried to turn it on again but while loading it just stayed blank and this picture of some files and a question mark on them appeared, i have no idea what's going on.
    I turned it off again and turned it back on and the little apple appeared and it was loading but then a sign appeared like one of prohibited (the one that's a circle and has a slash across it) and idk what to do! i'm so frustrated all my school files are there and idk why this happened in the first place.
    i turned it off and just put it to charge.
    lately i've been using it a lot and i had a few things on when it froze , so im just gonna leave it off for a while but what can i do?
    how do u solve this? has anyone had this happened to their macbook pro already? i bought it just last year idk why this is happening.

    The folder and question mark means it cannot find a valid OSX Boot Volume, you need to Boot from your original install DVD (hold c at start) and then run Disc Utility from the top menu bar and run both 'Repair Disc' and 'Repair Permissions'. If it still doesn't boot from the internal hard drive then you need to boot from that install DVD again and do an archive (re)install of the operating system. (Your User data will be saved that way)

  • Find text from a file and set it as a variable in applescript?

    I am trying to build a script that sends me updates and notifications from cex.io. Please keep on reading below, so I may guide you until the point I have trouble with.
    The first simple script in this operation goes to cex.io's trading page for BTC/GHS. It records ands saves the text to a file every 4 seconds. It works great. It doesn't need to have safari refresh because the site pushes info to the browser live.
      repeat
              set the webpage_content to ""
              tell application "Safari" to set the webpage_content to the text of document 1
              set theText to webpage_content
              set a to "Macintosh HD:Users:PRIVATE:Desktop:CEX:"
              set theFile to (open for access file ((a) & "CEXRaw") with write permission)
              write theText to theFile
              close access theFile
              delay 4
      end repeat
    And it returns this from the site to this main file every 4 seconds: (note I cut off a chunk from the bottom and the top of the file, because they are unimportant)
        GHS:
        0.05233439
        BTC:
        0.00000223
        NMC:
        0.00002939
        LTC:
        0.00000000
        GHS/BTC
        0.02362958 LTC/BTC
        0.02438131 NMC/BTC
        0.00597565 GHS/NMC
        3.96951800 BF1/BTC
        1.67000000 Fund Account
        GHS/BTC
        Last price:
        0.02362958
        Daily change:
        -0.00018042
        Today's open:
        0.02381000
        24h volume:
        73812.35539255
    I now need an applescript to read that file, and return wanted values. But I'm lost on how to write it.
    It needs to find the number under BTC, and set it as a variable.
    It needs to find the number under GHS, and set it as a variable.
    It needs to find the number under Last Price, and set it as a variable.
    If anyone could script that really quick for me, or tell me how to do it, that would be amazing. Thank you so much!

    Couldn't tell if you had any whitespace in the lines (i.e. is there a space before or after GHS:), so I used contains, not is.  Also, if you have a line such as GHS/BTC with a colon GHS/BTC:  then it will also fail (as contains "BTC:" would be true for BTC: and GHS/BTC:)
    However, this will give you some guidance:
    set a to "Macintosh HD:Users:PRIVATE:Desktop:CEX:CEXRaw"
    set x to 0
    set Names to paragraphs of (read file a)
    repeat with nextLine in Names
              set x to x + 1
              if nextLine contains "BTC:" then
                        set BTC to item (x + 1) of Names
              else if nextLine contains "GHS:" then
                        set GHS to item (x + 1) of Names
              else if nextLine contains "Last Price:" then
                        set lastPrice to item (x + 1) of Names
              end if
    end repeat

  • How do I get back my files and setting after re-installing Lion?

    After I deleted the wrong file, I had to re-install Lion. After I went through the setup none of my file were on the desktop and the settings had all defaulted. After I looked under the User folder, I noticed there are 2 different users listed, ajoep3 and my_full_name.my_full_name contains all the files, and prseumably setting that I had before the re-install.
    How do I get those back? It won't allow me sign in under any other login.

    I have a backup, through Time Machine, but I didn't use that. I had files that weren't backed up on Time Machine, so I re-installed Lion from the App store. I hoped it would just replace the system files I had deleted. It's hard to explain, but the user names, ajoep3 and my_full_name are tied together.
    When I open the users folder it shows, ajoep with a house next to it, my_full_name and Shared. When I log in or out it only shows ajoep3. my_full_name isn't list in the system preferences>>users or any where else.

  • Combine functionality Batch Create Multiple files and Set Security

    Greetings,
    Is there any way to combine the functionality of Acrobat Pro’s “Batch Create Multiple Files” (File (drop down) -> Create PDF -> Batch Create Multiple Files…) and running a batch process (Advanced -> Document Processing -> Batch Processing -> Batch Sequences -> Set Security)?
    Ideally I’d like to either:
    1)      Add the “Set Security” batch process to the “Batch Create Multiple Files … command located under the File (drop down) -> Create PDF
    or
    2)      Be able to create a batch process that first allows me to select the documents (Word, Excel, etc.) I want to convert into PDF files, then converts them, then runs the Set Security batch process.
    Right now it isn’t too much trouble to first “Create Multiple Files…” then run the batch process Set Security, but it would be nice to be able to do both with a single command.
    Any suggestions?
    Thank you,
    TPK

    I have uploaded the files and shared them.  These are the links
    Grade 11 Maths Standardisation Project Paper 2 2013.doc
    https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
    Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
    https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
    Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
    https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
    Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
    https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
    Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
    https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
    Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
    https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
    The first file is the problem file.  If you create this file separately, Acrobat will convert it perfectly.  But "Batch create multiple files" and the graphics are deconstructed on page 8

  • Photo Files and iPhoto Questions

    I have a few questions in relation to my actual picture files and when they are imported into iPhoto (on my mac).
    Intro: Let me catch you up on my situation, I have all my picture files (around 8000 of them!) on my time capsule; most of them are organized in their own folders (such as halloween 2011 and christmas 2010) but some of them are unsorted in their own folders (such as unsorted 2012 and moms cam). I've imported all these into iPhoto, the folders all appear as events, and I have applied faces and locations to almost all of them (about 85%). Now my questions:
    1: If I delete/move some pictures from my time capsule around the folders (so I move some picture from moms cam to halloween 2012 and thanksgiving 2012 folders), how do I sync this with iPhoto? (Ex. I have deleted some pictures from "my graduation" folder in my time capsule, but on the iphoto event for "my graduation", all the pics are there even the ones Ive deleted) Will I have to manually delete these from iphoto as well?
    Status: unanswered
    2: Is the data saved on the picture file? So If I were to delete the event from iPhoto, and re-import the folder, will all the faces and locations that Ive added on iPhoto still be saved? or would I have to manually add all the faces and locations again?
    Status: unanswered
    3: My main photo files are the files on my Time Capsule; If, by chance, iPhoto turns out to make its own file system of the photos I import, where would that location be? Are they individual files (such each pic as a .jpeg file) or is it something more like a single file with all the pictures and data?
    Status: unanswered

    1 - is the Time Capsule being used as an external hard drive or as a Time Machine backup drive - you must not use it as both
    2 - is the iPhoto preference to "copy imported items to the iPhoto library" is checked ( - a managed library - default and strongly recommended) or have you unchecked i (a referenced library - which it sound like you have - this is strongly not recomended)
    for your question 1, if you have a referenced library - iPhoto never does anything outside of its database - the iPhoto library - and it does not "sync" or watch external folders -  if you choose to manage the originals then you must do that  - one of the many reasons that a referenced library is not recommended is that improting is more difficult and deleting is more difficult
    for question 2, if you delete photos from iPhoto then they and all of their associated data is gone - if you reimport the "same" photo, its is totally new to iPhoto - you are starting from scratch with it
    for your question 3 - this is not a matter of chance - you either have a referenced library or a managed library which you choose - and in a referenced library the originals are not copied to the iPhoto library - for a managed library they are and are stored in the masters or originals folder in iPhoto depending on your version of iPhoto which you do not share as bit for bit copies of the originals
    LN

  • File and FTP Question

    We have a situation where a bank places an EDI document on their FTP site and then we go and download the file and process it. We are SOA Suite customers and have been using the tools for over a year. My question is would it be recommended to tackle this problem with BPEL or ESB and the ftp adapter? The bank doesn't require any kind of acknowledgement, but I've never dealt with EDI docs before and thought B2B might do a better and more seemless job of processing the EDI doc. My other concern is that B2B is overkill for this scenario since it isn't transaction based meaning the bank will place their file a couple of times a day and not everytime there's a transaction. Hope this makes sense. Be happy to provide more info as I'm just getting started.
    Thanks for any advice.

    Ramesh,
    Thank you for the reply. My confusion is that I don't really have a trading partner to setup or specify communication. I simply need to poll an FTP site for an EDI document and process it, basically a one-sided effort. Is this possible with B2B? There is essentially no interaction with the bank and no acknowledement that needs to be sent.
    Thanks again.

  • Loading a file and setting the values in a Jtextfield

    Hi all,
    I've created a save and open menu option for my application. The save option works as it writes to file using jFileChooser. However when using the open file option the program opens the correct file and stores the strings read into a string variable, however when I go to set the value stored in the variable to a specific textfield using settext method, it doesn't do anything. Please can someone give me some suggestions on what I am doing wrong. The following is the code snippet that accesses the file and reads from it:
    try
    int result = jFileChooser1.showOpenDialog(this);
    if ( result == JFileChooser.APPROVE_OPTION )
    String str1 = jFileChooser1.getCurrentDirectory() +
    System.getProperty("file.separator") + jFileChooser1.getSelectedFile().getName() ;
    FileReader f = new FileReader( str1 );
    BufferedReader b = new BufferedReader(f);
    while((text1 = b.readLine()) != null)
    //text2 = b.readLine();
    jTextArea1.append("\ntext1: "+text1+"\nsize: "+size);
    if(text1 == "// System Configuration")
    text1 = b.readLine();
    size = text1.length();
    //text2 = text1;
    jSampleRate.setText(text1);
    text1 = b.readLine();
    size = text1.length();
    //text2 = text1;
    jFrequency.setText(text1);
    text1 = b.readLine();
    size = text1.length();
    //text2 = text1;
    jVoltage.setText(text1);
    text1 = b.readLine();
    size = text1.length();
    text2 = text1;
    jFSVoltage1.setText(text1);
    /*if((text = b.readLine()) == "// Phase Selection")
    // READ INFORMATION LOOKING FOE THE SPECIFIC TAGS
    b.close();
    jFileChooser1.cancelSelection();
    Any suggestions wpould be very much appreciated. Thanks in advance.

    this is the result from the read in information:
    text1 is the string variable that is used to store the information read in from the file, while size is the variable used to obtian the size of the string. Does the readline() method have any properties which would affect what is being read in?
    text1: |=========================================================================================
    size: 0
    text1: | File Name: C:\CsoundTest\walid3
    size: 0
    text1: | Last Modified: 30-01-2003 11:25:11
    size: 0
    text1: | Warning: Do not modify the information stored in this file. If modified the inforamtion
    size: 0
    text1: | may not be retrieved correctly when loading the file into the main program.
    size: 0
    text1: |==========================================================================================
    size: 0
    text1:
    size: 0
    text1: // System Configuration
    size: 0
    text1: 500
    size: 0
    text1: 50
    size: 0
    text1: 230
    size: 0
    text1: 300
    size: 0
    text1:
    size: 0
    text1: // Phase Selection
    size: 0
    text1: 1VIncN
    size: 0
    text1:
    size: 0
    text1: // Duration
    size: 0
    text1: 0
    size: 0
    text1: 00
    size: 0
    text1: 00
    size: 0
    text1:
    size: 0
    text1: // Disturbances
    size: 0
    text1:
    size: 0
    Regards
    walidr

  • How to recognize string in txt file and set it as variable

    Hi, 
    I have txt file and somwhere in it string starting with:
    data directory....:
    How (using batch file) find it in the text, read and set the value as a variable? I mean the string is:
    data directory....: c:\datadir
    where what I mean value is  in this case "c:\datadir". So I want batch file to read the txt file, find string starting with "data directory....:" and then set "c:\datadir" as a variable. 
    Best, mac

    It's not very intuitive to do this sort of thing in a batch file. If you have the option to use PowerShell instead, I'd highly recommend it. It's the new way for performing command-line tasks in Windows, and there's no need to struggle with the old command
    prompt anymore.
    Here are PowerShell and batch examples of doing this type of string parsing:
    # PowerShell:
    $dataDirectory = Get-Content .\test.txt |
    ForEach-Object {
    if ($_ -match '^\s*data directory\.*:\s*(.+?)\s*$')
    $matches[1]
    break
    $dataDirectory
    # Batch file:
    @echo off
    setlocal EnableDelayedExpansion
    set DATA_DIRECTORY=
    for /F "tokens=1,* delims=:" %%a in (test.txt) do (
    set PROPERTY=%%a
    set PROPERTY=!PROPERTY:~0,14!
    if /I "!PROPERTY!" equ "data directory" (
    set DATA_DIRECTORY=%%b
    :RemovingSpaces
    if "%DATA_DIRECTORY:~0,1%" neq " " goto :SpacesRemoved
    set DATA_DIRECTORY=%DATA_DIRECTORY:~1%
    goto :RemovingSpaces
    :SpacesRemoved
    echo %DATA_DIRECTORY%
    endlocal

  • Audio files and duplicates question.

    Hello Group,
    After almost seven years my  Macbook pro is getting full., I have been using Omnidisksweeper to help locate files that are no longer needed. I have always been confused as to where My music files are kept. If I import audio files using Itunes, it seems I am creating duplicates, even if I name them, I seem to have an untitled artist or untitled album remaining, is this true?  The same question applies to Iphoto where are these Jpegs or digital photos kept? are files duplictaed when using these applications?
    thanks in advance
    Troy

    If you are adding tracks by dragging to iTunes or by using the Add To Library menu item then iTunes will put a copy into your media folder and leave the original where it is.  iTunes uses the copy.  If you add by dragging to the Automatically Add To iTunes folder then iTunes moves the file to the media folder.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • Files and Streams Question

    Hi! Java is my first and only language; and I am very new to Java. This is my first somewhat knowledgeable attempt to get a question answered on a forum of any kind. I put a question in this forum about two weeks ago, but I lost it. So, I am very grateful for any comments that can improve my ability to get my questions answered. Thank you. Mike
    Here is my problem:
    Read File: I want to read pT.txt or plainText.txt file (that is encoded in Unicode) into a String variable (inputLine).
    (I want to do some processing of the inputLine String and assign the processing results into outputLine.)
    Write File: I want to write outputLine into aPT.txt or anotherPlainText.txt file (that is encoded in ASCII).
    Here is my question:
    What is the simplest or easiest code for the Read File and Write File instructions?
    Thanks. Mike

    Why am I not entering the while loop?
    import java.io.*;
    //not yet: import java.util.Scanner;
    public class FnS
         public static void main(String[] args) throws Exception
              File inFile = new File("pT.txt");
              BufferedReader input = new BufferedReader (new FileReader (inFile));          
              //not yet: PrintWriter outFile = new PrintWriter (new BufferedWriter (new FileWriter ("outFile.txt")));
              String peek1, peek2, peek3, peek4, peek5, peek6;
              boolean pk1 = false, pk2 = false, pk3 = false, pk4 = false, pk5 = false;
              int count = 0;
              while(input.ready())     // begin search
                   peek1  = input.readLine();
                   if (peek1.startsWith("One"))
                        pk1 = true;
                        peek2  = input.readLine();
                        if(pk1 && peek2.startsWith("Two"))
                             pk2 =true;
                             while(pk1 && pk2)
                                  peek3  = input.readLine();
                                  if(pk1 && pk2 && peek3.startsWith("Three"))
                                       pk3 = true;
                                       peek4 = input.readLine();
                                       if(pk1 && pk2 && pk3 && peek4.startsWith("Four"))
                                            pk4 = true;
                                            while(pk1 && pk2 && pk3 && pk4)
                                                 peek5 = input.readLine();
                                                 if(pk1 && pk2 && pk3 && pk4 && peek5.startsWith("Five"))
                                                      pk5 = true;
                                                      peek6 = input.readLine();
                                                      if(pk1 && pk2 && pk3 && pk4 && pk5 && peek6.startsWith("Six"))
                                                            *  (I want to do some processing of the inputLine String and assign the processing results into outputLine.)
                                                            *     Write File:  I want to write outputLine into aPT.txt or anotherPlainText.txt file (that is encoded in ASCII).
                                                            *     Here is my question:
                                                            *  What is the simplest or easiest code for the Read File and Write File instructions?
                                                            *     Thanks.  Mike
                                                           System.out.println("\n" + peek6 + "\n" + peek5 + "\n" + peek4 + "\n" + peek3);
                                                           count++;
                                                           pk1 = false;
                                                           pk2 = false;
                                                           pk3 = false;
                                                           pk4 = false;
                                                           pk5 = false;
                                                           break;
                                                      }//if pk1 && pk2 && pk3 && pk4 && pk5 && peek6
                                                      else
                                                           pk1 = false;
                                                           pk2 = false;
                                                           pk3 = false;
                                                           pk4 = false;
                                                           pk5 = false;
                                                           break;
                                                      }//else begin  new search
                                                 }//if pk1 && pk2 && pk3 && pk4 && peek5
                                            }//while pk1 && pk2 && pk3 && pk4
                                       }// if pk1 && pk2 && pk3 && peek4
                                       else
                                            pk1 = false;
                                            pk2 = false;
                                            pk3 = false;
                                            pk4 = false;
                                            pk5 = false;
                                            break;
                                       }//else begin new search
                                  }//if pk1 && pk2 && peek3
                             }//while pk1 && pk2                              
                        }//if pk1 && peek2
                        else
                             pk1 = false;
                             pk2 = false;
                             pk3 = false;
                             pk4 = false;
                             pk5 = false;
                        }//else begin new search
                   }//if peek1
              }//while hasNext
              System.out.println("\nemail count = " + count);
    }

  • My MacBook will only turn on to a grey screen with a file and a question mark flashing on the screen

    When I turn my MacBook on a grey screen with a file and question mark in the center of the screen  flashing. What can I try to
    get out of this screen?

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive (CD/DVD drive) and reboot. Be sure to either use the disc that came with your Mac, or, if you installed a later Mac OS X version from disc, use the newer disc. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option Key until the Install Disk shows up) until the apple shows up. That will force your MacBook to boot from the install DVD in the optical drive.
    Or if you are running 10.7 Lion, boot from the recovery partition (Command +R on boot) and use Disk Utility to repair your OS 10.7 partition.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is, then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions. After repairing use Startup Disk from the same menu to choose your hard drive for restarting from your hard drive.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • Local MS Access file and SET COUNT

    I have a small app that relies on a local MS Access database file for retrieving and storing information.
    I've used the "Add new data source" wizard in Visual Studio and then I've bound a couple of richtextboxes to the one (1) table in the database file.
    I use this code to let the user save updated text to the file, however it sometimes keeps throwing an error. The code is:
    MyDataBindingSource.EndEdit()
    CustomersTableAdapter.Update(CustomerdatabaseDataSet)
    The error thrown, seemingly at random, but probably occuring when the users edit multiple values, is this: "An unhandled exception of type 'System.Data.DBConcurrencyException' occurred in System.Data.dll". According to http://support2.microsoft.com/kb/310375/en-us
    I should set "NOCOUNT" to OFF instead of ON, but no amount of googling is able to tell me how to do that. I've been all over my code and the queries/code generated by the VS wizard, but I cant find any NOCOUNT setting anywhere.
    Help, please?

    Hello again
    Does this output help? I've also pasted the code I'm using below. Many thanks, really out in the deep end here
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized
    and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code'
    is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is
    optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll', Skipped loading symbols. Module is optimized and the debugger
    option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\bin\Debug\RuBe Ktj.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is
    enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll', Skipped loading symbols. Module is optimized and the debugger option
    'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My
    Code' is enabled.
    The thread 'vshost.NotifyLoad' (0x1674) has exited with code 0 (0x0).
    The thread 'vshost.LoadReference' (0x1e80) has exited with code 0 (0x0).
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\bin\Debug\RuBe Ktj.exe', Symbols loaded.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_sv_b77a5c561934e089\System.Windows.Forms.resources.dll'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_sv_b77a5c561934e089\mscorlib.resources.dll'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is
    enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just
    My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll', Skipped loading symbols. Module is optimized and the debugger option
    'Just My Code' is enabled.
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code'
    is enabled.
    StackTrace: '   vid System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       vid System.Environment.get_StackTrace()
       vid RuBe_Ktj.Form1.Form1_Load(Object sender, EventArgs e) i C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\Form1.vb:rad 20
       vid System.EventHandler.Invoke(Object sender, EventArgs e)
       vid System.Windows.Forms.Form.OnLoad(EventArgs e)
       vid System.Windows.Forms.Form.OnCreateControl()
       vid System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       vid System.Windows.Forms.Control.CreateControl()
       vid System.Windows.Forms.Control.WmShowWindow(Message& m)
       vid System.Windows.Forms.Control.WndProc(Message& m)
       vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       vid System.Windows.Forms.ContainerControl.WndProc(Message& m)
       vid System.Windows.Forms.Form.WmShowWindow(Message& m)
       vid System.Windows.Forms.Form.WndProc(Message& m)
       vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       vid System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       vid System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
       vid System.Windows.Forms.Control.SetVisibleCore(Boolean value)
       vid System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       vid System.Windows.Forms.Control.set_Visible(Boolean value)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.Run(ApplicationContext context)
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       vid RuBe_Ktj.My.MyApplication.Main(String[] Args) i 17d14f5c-a337-4978-8281-53493378c1071.vb:rad 81
       vid System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       vid System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       vid Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       vid System.Threading.ThreadHelper.ThreadStart()'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic.resources\v4.0_10.0.0.0_sv_b03f5f7f11d50a3a\Microsoft.VisualBasic.resources.dll'
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.resources\v4.0_4.0.0.0_sv_b77a5c561934e089\System.Data.resources.dll'
    A first chance exception of type 'System.Data.DBConcurrencyException' occurred in System.Data.dll
    'RuBe Ktj.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Transactions.resources\v4.0_4.0.0.0_sv_b77a5c561934e089\System.Transactions.resources.dll'
    System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Ohanterat
    undantag</Description><AppDomain>RuBe Ktj.vshost.exe</AppDomain><Exception><ExceptionType>System.Data.DBConcurrencyException, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Simultankörningsfel:
    UpdateCommand inverkade på 0 i stället för 1 poster.</Message><StackTrace>   vid System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
       vid System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
       vid System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
       vid System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
       vid System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable)
       vid RuBe_Ktj.KunddatabasDataSetTableAdapters.KunderTableAdapter.Update(KunddatabasDataSet dataSet) i C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\KunddatabasDataSet.Designer.vb:rad 1409
       vid RuBe_Ktj.Form1.Button6_Click(Object sender, EventArgs e) i C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\Form1.vb:rad 152
       vid System.Windows.Forms.Control.OnClick(EventArgs e)
       vid System.Windows.Forms.Button.OnClick(EventArgs e)
       vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       vid System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
       vid System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.Button.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
       vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       vid System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
       vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.Run(ApplicationContext context)
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       vid RuBe_Ktj.My.MyApplication.Main(String[] Args) i 17d14f5c-a337-4978-8281-53493378c1071.vb:rad 81
       vid System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       vid System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       vid Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       vid System.Threading.ThreadHelper.ThreadStart()</StackTrace><ExceptionString>System.Data.DBConcurrencyException: Simultankörningsfel: UpdateCommand inverkade på 0 i stället för 1 poster.
       vid System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
       vid System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)
       vid System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
       vid System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
       vid System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable)
       vid RuBe_Ktj.KunddatabasDataSetTableAdapters.KunderTableAdapter.Update(KunddatabasDataSet dataSet) i C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\KunddatabasDataSet.Designer.vb:rad 1409
       vid RuBe_Ktj.Form1.Button6_Click(Object sender, EventArgs e) i C:\Users\rbl\Documents\Visual Studio 2012\Projects\RuBe Ktj\RuBe Ktj\Form1.vb:rad 152
       vid System.Windows.Forms.Control.OnClick(EventArgs e)
       vid System.Windows.Forms.Button.OnClick(EventArgs e)
       vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       vid System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
       vid System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.Button.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)
       vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)
       vid System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       vid System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
       vid System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       vid System.Windows.Forms.Application.Run(ApplicationContext context)
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       vid Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       vid RuBe_Ktj.My.MyApplication.Main(String[] Args) i 17d14f5c-a337-4978-8281-53493378c1071.vb:rad 81
       vid System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       vid System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       vid Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       vid System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       vid System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       vid System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       vid System.Threading.ThreadHelper.ThreadStart()</ExceptionString></Exception></TraceRecord>
    An unhandled exception of type 'System.Data.DBConcurrencyException' occurred in System.Data.dll
    Additional information: Simultankörningsfel: UpdateCommand inverkade på 0 i stället för 1 poster.
    The program '[7824] RuBe Ktj.vshost.exe: Managed (v4.0.30319)' has exited with code 0 (0x0).
    Adding a new row:
    Private Sub Button6_Click_1(sender As Object, e As EventArgs) Handles SkapanyrutinBtn.Click
    Dim newrow As DataRow = KunddatabasDataSet.Tables("Kunder").NewRow()
            Dim newrowname As Object = InputBox("Skriv in (kund)namn på den nya rutinen")
            newrow("Kundnamn") = newrowname
            If newrowname = "" Then
                Exit Sub
            End If
            KunddatabasDataSet.Tables("Kunder").Rows.Add(newrow)
    KunderBindingSource.EndEdit()
            KunderTableAdapter.Update(KunddatabasDataSet)
    End Sub
    Attempting to save:
    Private Sub Button6_Click(sender As Object, e As EventArgs) Handles SavechangedBtn.Click
    KunderBindingSource.EndEdit()
            KunderTableAdapter.Update(KunddatabasDataSet) ' <--- This is where the error is thrown!
    End Sub

Maybe you are looking for

  • Bulk Upoad of Excel file in oracle data-base

    Hi In my jsp application, I needed a utility which allows the user to locate the Excel-file on his/her machine and upload that data after proper validation in the database. How will I achieve this? Regards sachin

  • MSI E350IA-E45 USB Not recognised after cold boot.

    Any one else have the same issue? My asus (Bluetooth) BT211 is not recognised after cold boot. I also found the front USB's losing power when PC turned off. Connected them up to 5VSB to fix the issue. MSI tech has not been back to me if this is a fau

  • Cant move position of photos on gallery page

    Hi there, I am new at iweb this being my first project. I cant seem to move the gallery towards the top of the page. Can anyone please help? http://www.mazecatering.com.au/Maze_Catering/Gallery.html Also, all my text has skewed on this page for some

  • Missing beans for BI/Portal integration configuration

    I've configured BI/Portal configuration but when executing the tests or when using BEX I have an errors: com.sap.engine.services.rfcengine.RFCException: Bean RSWR_TEMPLATE_PROCESS_PROXY not found Caused by: .jndi.exceptions.NameNotFoundException: Obj

  • IMovie project corrupted?

    For some reason the video clips in the project project have "shrunk".  Also, none of the video clips play when I hover over them and press the spacebar.  You can also see some of the clips show up as gray squares, or not at all.  The same exact situa