Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > PocketVision Errors
 

PocketVision Errors

Just tried to install and run PocketVision sample and got following errors:

C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(172): The type or namespace name 'ToolboxItem' does not exist in the class or namespace 'System.ComponentModel' (are you missing an assembly reference?)

C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(169): The type or namespace name 'Serializable' could not be found (are you missing a using directive or an assembly reference?)

C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(184): The type or namespace name 'SerializationInfo' could not be found (are you missing a using directive or an assembly reference?)

C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(210): The type or namespace name 'Browsable' does not exist in the class or namespace 'System.ComponentModel' (are you missing an assembly reference?)

C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(211): The type or namespace name 'DesignerSerializationVisibilityAttribute' does not exist in the class or namespace 'System.ComponentModel' (are you missing an assembly reference?)

several times!

What am i making wrong?

Thanks
Michael
MigrationUser 1  Friday, April 11, 2003 12:23 PM
Have you ever found a solution. I'm having these same problems.

Fredrick
MigrationUser 1  Saturday, July 05, 2003 2:50 PM
When you refresh the web service references in pocket taskvision, the code behind files for the typed datasets get updated. .Net CF doesn't support typed datasets so there is a whole section of code that must be commented out. There is a reference to this in the pocket taskvision docs. 

Its not completely clear which code has to go but fortunately its all in a single block. If you go back to the original source code (before any refresh etc) for the DataAccess web service (Web References\DataAcces\Reference.cs) and take a look you'll see whats been commented out. Just do the same for the regenerated Reference.cs.

  
MigrationUser 1  Sunday, July 06, 2003 1:14 PM
Yes,

1.
In Project Explorer select that you want to see also hidden files.

2.
Go to the DataWS Webservice and expand to reference.vb under reference.map

3.
open reference.vb in code view

4.
Look for "<Serializable()"

5.
Mark all lines from "<Serializable()" to the last line (except the last "End Namespace")
and mark these lines (aroung 5400!!! lines) as comment.

6.
Save and close reference.vb and recompile


Michael



MigrationUser 1  Sunday, July 06, 2003 5:28 PM
Thanks guys, Michael and Larry.

Michael, where did you get the vb source code for PocketVision?
I downloaded from the windowsforms.net and it was cs by default.

Thanks.

Eldos.
MigrationUser 1  Friday, January 28, 2005 9:24 AM
Michael,

The code did compile correctly, but I was not able to deploy it on the emulator.

"Error while trying to run Project: Unable to start debugging.

Unable to start program 'C:\Program Files\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\bin\Debug\PocketVision.exe'

Did it deploy right? I haven't tried on a real pocket pc yet.

Any help would be greatly appreciated.

Thanks.

Eldos.
MigrationUser 1  Friday, January 28, 2005 10:14 AM

You can use google to search for other answers

Custom Search

More Threads

• TerrariumOrganism Documentation
• Adding the DataAccess WebReference
• IssueVision: Server Web Deployment Issue
• Using SMS HTTP API for sending SMS in bulk, How to split the recipients and add this to database for record?
• Don't have VS .Net 2003, how do I....
• Amazing !!!
• Error
• Draw in graph?
• DesignVision -- Formats
• Problem with merging assemblies using ILmerge