Results 1 to 12 of 12

Thread: [RESOLVED] am i crazy or wat?

  1. #1

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Resolved [RESOLVED] am i crazy or wat?

    look, i lost alot of days, in searchin' and i didnt find any the same old error
    General Network error, check your network documentation
    someone help me and i will be so gratful , i can clean ur car, may b i can pay for U

    someone states to me wat is the steps to make a successful connection to SQL Server 2000 database working with c# .Net and the Emulator on my local machine wiche is called AVRAIL.
    thx alot,
    really i mean it when i said i will clean ur car
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: am i crazy or wat?

    In VS2005 try
    1. Run Tools->Device Emulator Manager
    2. Select Pocket PC 2003 SE Emulator
    3. Actions->Connect
    4. Actions->Cradle
    Then try connecting with a string like...

    Dim sqlConn As New SqlConnection
    Try
    sqlConn = New SqlConnection
    sqlConn.ConnectionString = "Persist Security Info=False;Integrated Security=False;Server=avrail;initial catalog=Pubs;user id=sa;password=;"
    sqlConn.Open()
    Catch ex As SqlException
    MessageBox.Show(ex.Message)
    End Try

    Pete

  3. #3

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    this wat i have done and i still have the same prob.
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: am i crazy or wat?

    Have you got a network card in your machine - if not, install the microsoft loopback adapter and try again.

    Pete

  5. #5

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    k, petevick i dont got a netowrk card on my pc, i get the microsoft loopback adapter, and i installed it on my pc.
    i used this link to install it. http://www.pocketpcdn.com/articles/e..._loopback.html

    but really i dont know how this can help me in my prob?
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  6. #6
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: am i crazy or wat?

    Hi,
    because you need a network connection from the emulator to the PC.

    Can you now ping the PC from the emulator?

    Pete

  7. #7

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    k, i try to ping my pc from the emulator using the vxUtil, my pc name is avrail
    i try to ping the host this was the message cannot find host avrail
    wat i have to do now
    Last edited by avrail; Mar 19th, 2007 at 02:59 PM.
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  8. #8

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    by the way, iam so sry, i cant connect to the internet using the emulator why?
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  9. #9
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: am i crazy or wat?

    Hi,
    what IP address does VXUtil give you?
    How did you install VXUtil - if you installed it to the emulator using activesync, you should have no problem.

    Try opening the database using ip address rather than host name.

    Did you try the connection string I gave you?

    If you can get the emulator to connect using activesync, you should be able to open the database

    Pete

  10. #10

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    this is the ip address that the vxutil gived it to me 192.168.55.101
    and i installed the emulator using activesync
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  11. #11
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: am i crazy or wat?

    Hi,
    in that case, unless it is a firewall or connection string problem, you should be able to open the database, as you have proved you can connect with the emulator by installing VXUtil.
    The IP address is correct for an activesync session, so step through your code, and put a try catch around the open statement.

  12. #12

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: am i crazy or wat?

    it is have been solved
    all i have done is getting the sp3 for sql server 2000
    hate u microsoft they have to tell us
    i lost about 4 days for this
    Last edited by avrail; Apr 5th, 2007 at 07:28 PM.
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width