Results 1 to 7 of 7

Thread: Emulator won't open the SQL network server

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Emulator won't open the SQL network server

    I had to do a hard reset on my pocket pc 2003 emulator.

    Now it will no longer open the network sql server - using SQLConnection.

    How do I make sure that the emulator has the SQLConnection stuff installed??

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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

    Re: Emulator won't open the SQL network server

    Hi,
    if you run your app from VS to the emulator, it should re-install SqlCe etc

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Emulator won't open the SQL network server

    Quote Originally Posted by petevick
    Hi,
    if you run your app from VS to the emulator, it should re-install SqlCe etc

    Pete
    and it is not - this happened on my handheld ppc last month and it fixed itself after installing some new SQLCE downloads on my laptop...

    but I cannot get the emulator to do this...

    Googling for: specified sql server not found sqlclient emulator

    finds some MS Technet sites - but they don't appear to be working right now!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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

    Re: Emulator won't open the SQL network server

    Hi,
    just added the references to a new project, and clicked on 'run' in VS2005 and it deployed the following to the emulator:-
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v2.0\wce400\ARMV4\sql.ppc.wce4.armv4.CAB'
    Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Client\v2.0\wce400\ARMV4\sql.dev.enu.ppc.wce4.armv4.CAB'


    I then put a connection string behind a button, clicked on it, and all was sweetness and light.

    When I went into 'add remove programs' on the settings>remove programs on the emulator, I saw the entries for Microsoft SQL Client there - do you see those on your emulator?

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Emulator won't open the SQL network server

    Here is a thread where I had the same problem on the PPC itself 2 weeks ago.

    http://www.vbforums.com/showthread.php?t=483020

    I wish I had a clear experience in troubleshooting that one - it all of a sudden started working after downloading fresh SQL stuff from MS.

    We are going with plan B - which is demo how the program works on the PPC without showing them the sync back to network db today (it's in 5 hours - so not much room for error right now).

    Here's what my PPC emulator program list looks like - I wonder if I've got some duplicates getting in the way?
    Attached Images Attached Images  

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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

    Re: Emulator won't open the SQL network server

    Hi,
    looks fine - just that you have SqlClient and SqlMobile loaded - shouldn't be a problem.

    Is the emulator just failing to connect to SqlServer? Have you cradled the device (In VS2005 Tools>Device Emulator Manager). Here you can open and cradle the emulator.

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  7. #7

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Emulator won't open the SQL network server

    I am back to having issues with this - we are trying to work up a new release of our PPC app after having it in production for a year...

    Having problems opening network DB's from my laptop using the emulator. Seems that it's "only" seeing the local sql server 2005 express on the laptop - that is grabbing the connection even though we are asking to open a network DB.

    Anyone else ever experience this?

    Anyone know of MS acknowledging this error or releasing fixes for it?

    I also re-opened this other thread - probably didn't really need to

    http://www.vbforums.com/showthread.php?t=483020

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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