Call WebService on Device application

A

Armando Rocha

Hello,

I m working on a device application. This App call a webservice (i add a
WebReference to my project) to insert data into a remote database, but when
i debug my device application on VS 2008 + CF 3.5 i received de error:
"No symbol are loaded for any call stack frame. The source code cannot be
displayed".

When i test my app in local database server its work fine...

Any one can help me?? Please.

Sorry for my english...

Best regards,

Armando Rocha
(Portugal)
 
S

Simon Hart [MVP]

Ensure you're running in debug mode on the device. Also check your dates are
correct.
 
A

Armando Rocha

Hi,

Yes, im running in debug mode on device, but i look the datatypes and i
found that a have in SQL parameters a float data and i pass trough
webservice a decimal var (could be the problem??).
Armando Rocha
 
S

Simon Hart [MVP]

That won't be the reason why you can't debug, you'll probebly find SQL server
will complain once you try to write that data to the database as the
datatypes are not consistant. Try clearing all debug files using the clean
function.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
 
A

Armando Rocha

Hi Simon,

I'm a begginer developer in compact framework and i dont know how i do that
(clear all debug files). Could you give me a sample?

Armando Rocha
 
S

Simon Hart [MVP]

Sure no problem. You can clear all debug .exe .obj and .pdb files by right
clicking your project and choosing 'Clean'. I believe this feature was
introduced in VS 2005. It could be the reason you can debug because the
binaries are out of sync - sometimes this is the reason.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top