Click here to get back home

Error when connecting to SQL Server

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Error when connecting to SQL Server KDogg 04-05-2007
Get Chitika Premium
Posted by KDogg on April 5, 2007, 3:44 pm
Please log in for more thread options
I have created a simple Windows Mobile 5.0 app using VS 2005 w/SP1 and can
deploy a basic form with text/buttons to the emulator just fine. When I add
a dataset and datagrid, the data shows up in design mode but when I deploy it
to the 5.0 emulator I get the following errors:
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\mscorlib.dll', No
symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'c:\documents and settings\donovank\my
documents\visual studio
2005\projects\devicesample\devicesample\bin\debug\DeviceSample.exe', Symbols
loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.Windows.Forms.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio 8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.Drawing.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.Data.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.Xml.dll', No
symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\System.Windows.Forms.DataGrid.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'c:\program files\microsoft visual
studio 8\smartdevices\sdk\sql server\client\v2.0\System.Data.SqlClient.dll',
No symbols loaded.
'DeviceSample.exe' (Managed): Loaded 'C:\Program Files\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework.0\v2.0\Debugger\BCL\Microsoft.VisualBasic.dll',
No symbols loaded.
A first chance exception of type 'System.IO.FileNotFoundException' occurred
in mscorlib.dll
'DeviceSample.exe' (Managed): Loaded 'System.Data.SqlClient.resources.dll',
No symbols loaded.
A first chance exception of type 'System.Data.SqlClient.SqlException'
occurred in System.Data.SqlClient.dll
A first chance exception of type 'System.Data.SqlClient.SqlException'
occurred in System.Data.SqlClient.dll
A first chance exception of type 'System.Data.SqlClient.SqlException'
occurred in System.Data.SqlClient.dll

The debbuger is showing the error: Specified SQL server not found: PHQDBA
on this line:
Dim returnValue As Integer = Me.Adapter.Fill(dataTable)

On my 'new connection' options I am using: Microsoft SQL Server (SqlClient)
and the test connection works properly and uses the .Net Framework Data
Provider for SQL Server.

Any suggestions?



Similar ThreadsPosted
Connecting to the internet August 30, 2007, 4:45 am
Connecting to internet using GPRS in C# January 2, 2006, 4:09 pm
connecting to bluetooth profile April 3, 2006, 11:19 pm
Problem in connecting to device November 24, 2006, 4:15 am
Connecting to the windws smartphone emulator November 1, 2005, 4:36 am
wireless manager connecting dialog box August 21, 2006, 7:24 pm
hiding the wireless connecting dialog box August 25, 2006, 9:26 am
Connecting device emulator to a wireless NIC May 2, 2008, 2:54 pm
how knows the device's connecting status with activesync. in device side March 26, 2006, 10:04 pm
Need help connecting Samsung Blackjack to UMTS network overseas January 21, 2007, 12:01 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap