networking errors

Discussion in 'Questions (Windows Mobile)' started by bGoody_iPAC_rx1950PPC, Dec 3, 2007.

  1. bGoody_iPAC_rx1950PPC

    bGoody_iPAC_rx1950PPC Member Licensed User

    When I run the Chit-Chat program I get an exception error....
    LINE #9 'Type initializer' for system.net.ipaddress'
    When I ran the program some months ago it ran fine on the other
    motherboard????
    Trying to get some simple interface I can use with my current project.

    using Hp iPAC rx1950 PDA WM5,XP home ED,and BACIC4PPC ver.4.05

    For that matter never did get my irda to work properly...

    Any Ideas out there????

    :sign0148:
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you write the exact error message?
     
  3. bGoody_iPAC_rx1950PPC

    bGoody_iPAC_rx1950PPC Member Licensed User

    the command is ---server.New1(50000)

    ERROR Message was......
    The type initializer for "system.net.IPaddress" threw an exception
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Maybe your firewall prevents this operation.
    Does this error happen on the device too?
     
  5. bGoody_iPAC_rx1950PPC

    bGoody_iPAC_rx1950PPC Member Licensed User

    No it does not????? The chit-chat program is working fine on the IPAC,just not on the deskTop-tried turning off the firewall.....did not help???? might it be in the ver.s of .NET
    on my desktop??? 1.1 and 2- Also 1.1 and of the compact as well?????
    Just getting into NET programming,seems a bit messy...
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    I don't think that it is related to the .Net version.
    You can download Basic4ppc v5.80 trial version and see if it helps.
     
  7. bGoody_iPAC_rx1950PPC

    bGoody_iPAC_rx1950PPC Member Licensed User


    FOUND one solution...Have two hard drives,one with an older ver. of
    A-Sync(ver.4.0),but had to use my ipac as the server and desktop as a
    client.It does not work any other way so far...very strange????
     
  8. bGoody_iPAC_rx1950PPC

    bGoody_iPAC_rx1950PPC Member Licensed User

    Yes,Erel it .net ver. 1.1 that was the problem...uninstalled it from my new hard drive.
    The chit-chat program works fine now!!!Time for me to get down to some real programming...now that I have com and .net to use!!!
     
  9. lavcastillo

    lavcastillo Member

    ChitChat Error

    HI guys,

    I was trying your ChitChat program but I keep getting an error when I try to connect my ppc wm5 using wifi to my desktop connected hard-wired to a wireless router. The error is:

    "An error occurred on sub
    tmrwaitforclient_tick.

    Line number: 0

    Error description:
    ArgumentOutOfRangeException
    Continue?"
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    Please try to run the source code instead of the compiled file and see the exact line that raises this error.
     
  11. lavcastillo

    lavcastillo Member

    I ran the source code on the desktop... If I select the server on the desktop and client on the ppc, I get a "Error connecting to server. Do you want to try again?" message. When I do it the other way around.... the desktop shows a "Connection established" message but the ppc will display the:

    "An error occurred on sub
    tmrwaitforclient_tick.

    Line number: 0

    Error description:
    ArgumentOutOfRangeException
    Continue?"

    and if I click the "yes" button, the message will just keep repeating itself until I click the "no" button.
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    Comment the ErrorLabel lines.
    You will then receive a more helpful error messages.
     
  13. lavcastillo

    lavcastillo Member

    Hi erel,

    I forgot to mention, I'm only getting errors on the ppc and not on the desktop. Do I still need to comment out the ErrorLabel lines on the source code on the desktop? I just thought you need to know.
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    You should run the code on the device without the relevant ErrorLabel statement.
    Then, when the error occurs you will see the underlying error message.
     
Loading...