Login password field "The field is to small to accept the data."

Hi Guys,
I'm having a problem with the SDK.
I.m creating a .net application that connects via SAPbobsCOM.
And getting the folliowing error when i fill the password.
We are using sap business one 2005.
The field is to small to accept the data.
comp = new SAPbobsCOM.Company();
      //You then need to set the following company object properties (connection parameters): Server,
      //UserName, Password, language, and CompanyDB , for example:
      comp.Server = @"VLSRV901"; //Name of the MS SQL DB Server
      comp.DbUserName = "sa";
      comp.DbPassword = "abcdefg!";
      comp.DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL;
      comp.CompanyDB = "VLA-0209-PROD-William"; //Enter the name of your company
      comp.UserName = "manager";
      comp.Password = "abcdefg09";
      comp.language = SAPbobsCOM.BoSuppLangs.ln_English;
      //To connect to the company database, you call the company object Connect() method:
      int i = comp.Connect();
      if (i != 0)
        int errorCode;
        string errormessage;
        comp.GetLastError(out errorCode, out errormessage);
        throw new Exception(errorCode + " " + errormessage);
The password i'm using is exactly as long as the password i show in the example code.
Please advise, how to use "long" passwords??
Thanks in advance.

Hi Gordon,
We are using sql server 2005.
For your information, the password of the manager is already 9 characters long.
This works when I login to Sap Business One.
But  not when I log in through the SDK.
Please advise.
William
Edited by: wvaert on Sep 7, 2010 8:04 AM

Similar Messages

  • We are exporting data to the SAP Business one. Error: "The field is too small to accept the data you attempt to add. try inserting or pasting less data"

    Hi,
    I have exported the data from two sources, MS-Excel and SAP Business One to Sap Business One (8.81). While exporting the data, I got the error "The field is too small to accept the data you attempt to add. try inserting or pasting less data" for the first time, Immediately when I run it again, it shows export successfully completed, but nothing is changed in the SAP Business One. Could you please provide the solution as early as possible?
    Thanks & Regards,
    Chaitanya.B

    ok
    i solve the problem.i rezise the colomn size
    thanks

  • My phone's earphone doesn't work which was bought from USA last month,the china apple store didn't accept the free repaired,so what can i do now?

    my new iphone5s's earphone doesn't work which was bought from USA last month,probably it was cause by falling down on floor insidentally one day before I came back china , the problem is ,the china apple store didn't accept the free repaire even the phone was bought only one month age, I was so disappointed and realized the iphone 5s is so  fragile,although I previous iphone4 which was also bought from USA 4 years age, it also fell down many times, it still works well now.  what can i do now? send it back to USA for repairing? if like that,it will take almost two month to finish the all processes,that not only waste the time spent on the way, also waste expense on the expense,the important prlblem is,  I can't use the phone during the repairing~ please give me a solution as soon as you can ,thank you very much!

    You can send it to someone you know in the US to have them take it in for service or you can get on a plane and take it there yourself. You can not ship it to Apple in the US for service.

  • I have a new laptop and want to keepon using  Adobe Pro X. I have downloaded the programe but adobe will not accept the serial number although I am a registered user .

    I have a new laptop and want to keepon using  Adobe Pro X. I have downloaded the programe but adobe will not accept the serial number although I am a registered user .

    Hi tapanb34358563,
    Could you please let me know what error prompts on your screen when you are trying to enter the serial number.
    Have you bought subscription for Acrobat, if yes then you might need to sign in at "adobe.com" using your Adobe ID credentials to activate subscription.
    Let me know.
    Regards,
    Anubha

  • "A problem caused the program stop working," after I accepted the TERMS and Conditions for Adobe Reader 11 installstion. What I need to do next? Thanks.

    "A problem caused the program stop working," after I accepted the TERMS and Conditions for Adobe Reader 11 installstion. What I need to do next? Thanks.

    Thanks for your reply. I did get upgraded to 10. something. Not on that computer now. 11 is not supported on Vista
    Pat Willener <[email protected]> wrote:
    Pat Willener  created the discussion
    ""A problem caused the program stop working," after I accepted the TERMS and Conditions for Adobe Reader 11 installstion. What I need to do next? Thanks."
    To view the discussion, visit: https://forums.adobe.com/message/6442262#6442262

  • HT2240 I bought the Pro upgrade and quicktime wont accept the code

    I paid for the Pro upgrade and Quicktime wont accept the code

    I have the same problem, and I copied exxactly the info from the apple e-mail, and it still does not work, any links to the customer support??

  • I cant use the app mylib anymore since i accept the os update on my ipad3

    I cant use the app mylib anymore since i accept the os update on my ipad3

    Try to find the App on the phone and press it and see if the download resumes. If that does not work then power the phone off with the power button, restart, and try the first method.

  • HT201441 Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Unless you have the owners email address you can't email them.
    If you have found a stolen iPhone and are trying to return it to its rightful owner, hand it in to the police.

  • HT1918 I have changed my internet provider and so changed my apple ID and password to reflect this.  However all the apps I purchased before refuse to accept this new password for updates but nor will it now accept the old one.  Help

    I have changed my internet provider and so changed my apple ID and password to reflect this change.  Now all the apps I purchased and downloaded on my old ID will not update as it won't accept my new apple id or the old one.   Help!

    All the apps are "connected" with the AppleID which was used to purchase them and there is no way to update them with a new or different id.

  • FF18.0 Mac OS. right click (control click) on left half of an additional display brings the menu up in small font on the laptop

    Upgraded to FF18.0 from the prior version (Mac OS 10.8.2) and it works great on my MacBook Pro Retina display. However, if either a 27" Thunderbolt Display or 27" LED Cinema Display is also plugged in and the browser is on the separate display there is a problem:
    Right or control clicking the browser window anywhere on the left half of the separate display brings the pop up menu on the laptop in very small font (presumably at the higher resolution of the separate monitor). The problem also occurs with links on web pages that have preview pop ups when you hold the cursor over the link.
    These were not issues in the FF17.x version I was previously using.

    Try to disable hardware acceleration in Firefox.
    *Firefox > Preferences > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    ''[edited to fix incorrect Tools > Options menu link]''

  • Due to my account being hacked, I changed my Apple ID, I did not create a new account.  Now my software updates want the old ID but will not accept the password.  How can I update built in software.

    My orginal Apple ID was hacked, so I changed my Apple ID.  I did not create a new ID.  I have changed my ID on my profile on my MacBook Pro.  However now I have an update for factory installed software iPhoto and iMovie that is asking for the old ID.  How can I get the updates or force them to use the new ID that I am using for every other Apple product I own.

    You'll have to talk to Apple about AppleID and account issues, we are just other users here.

  • Why do I all of the sudden have a small box in the middle of my screen it is asking for something but I cannot do anything with the page?

    The box has a gray bar and two tiny little check boxes in the middle of it. I check the post and nothing. I cannot move the page I cannot move anything as the page is frozen and waiting for me to do something with this box. I uninstalled and reinstalled and the same stupid box comes up in the middle of the page.

    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    #Open Firefox ''Options'' window (''Preferences'' on Mac or Linux) as follows:
    #* In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]] and select ''Options'' for Windows or ''Preferences'' on Mac or Linux.
    #* In Firefox 28.0 and previous versions, click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    #In the Firefox Options (or Preferences) window, click the ''Advanced'' tab, then select ''General''.
    #In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    #Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Why is my pdf always coming up with the comment that I have not accepted the download?

    I am having problems, getting my pdf from a telephone statement.  Everytime a go the see if it will print, it says I have not accepted the program.  what am i doing wrong!

    Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement.
    This is what my response is when I am trying to view a pdf!

  • Facetime between iPad2 and MacBook Air worked fine here in the USA.  The iPad2 is now in Rome, Italy and we can't connect internationally.  We both can hear the caller ringing in, but after accepting the call we cannot connect.  No voice, no video.

    Facetime between iPad2 and MacBook Air worked fine here in the USA.  The iPad2 is now in Rome, Italy and we can't connect internationally.  We both can hear the caller ringing in and can see who is trying to call, but after accepting the call we cannot connect.  No voice, no video. iPad is successfully sending and receiving eMails, but no Factime connection   What's up?

    I am curious if possibly the hotel has some sort of VOIP block on.  Have you tried Skype?  Did you talk to the hotel staff?  My husband is traveling to Milan in a couple of days and I wonder if he will run into the same issue.  He has had no problems from Istanbul but he is staying in a corporate apartment there.  If you find an answer please post back.  Thanks

  • The reader is not letting me accept the license agreement.

    The reader, vers 8.2, is not letting me accept the license agreement.
    Running XP sp 3.
    The question has been here before, but the thread has gone missing.

    Can you give us a little more detail.
    Can you see the accept button or is it off-screen? You can see it but when you accept nothing happens...etc.?

Maybe you are looking for