Errors with samples
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
Errors with samples
I have unistalled the old version and installed mysqlnet350mob2.exe.
Some of the c# samples will not convert to visual studio 2005. Various failure errors.
The Table example converts but I have to re-ad the reference to Corelab.sql. When I try and open the mainform.cs I get the following errors and visual studio locks up with the error "the operation couldnot be completed. Not enough storage space to complete this operation"
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Do you have the examples compiled for 2005?
Some of the c# samples will not convert to visual studio 2005. Various failure errors.
The Table example converts but I have to re-ad the reference to Corelab.sql. When I try and open the mainform.cs I get the following errors and visual studio locks up with the error "the operation couldnot be completed. Not enough storage space to complete this operation"
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Do you have the examples compiled for 2005?
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
re errors
I have re-installed the samples.
When I open csharp.8 I have to re-refrence the Corelab.sql in each app.
I leave the target device as mobile 2003.
I can run the Datareader app and it works fine on the device.
When I try to open the mainform.cs I get:
Warning 1 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'. D:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\DataReader\CS\MainForm.cs 150 0
Hope this helps.
When I open csharp.8 I have to re-refrence the Corelab.sql in each app.
I leave the target device as mobile 2003.
I can run the Datareader app and it works fine on the device.
When I try to open the mainform.cs I get:
Warning 1 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'. D:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\DataReader\CS\MainForm.cs 150 0
Hope this helps.
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
re errors
I have re-installed the samples.
When I open pitcures.8.sln it opens okay.
The reference to mysql has to be deleted and re-added(D:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\CoreLab.MySql.dll) Is this correct?
I deploy to windows mobile 2003.
The app runs okay
I can edit Connectform.cs and NewPicture.cs but get an error on Mainform.cs as follows:
Could not find type 'CoreLab.MySql.MySqlConnection'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlCommand'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlDataAdapter'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlCommandBuilder'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
When I open pitcures.8.sln it opens okay.
The reference to mysql has to be deleted and re-added(D:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\CoreLab.MySql.dll) Is this correct?
I deploy to windows mobile 2003.
The app runs okay
I can edit Connectform.cs and NewPicture.cs but get an error on Mainform.cs as follows:
Could not find type 'CoreLab.MySql.MySqlConnection'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlCommand'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlDataAdapter'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
Could not find type 'CoreLab.MySql.MySqlCommandBuilder'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
more info
I hope I am doing something stupid here....
When I change the platform to mobile 2005 and try to open main form I get this error:
And the app will not compile on device.......
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
When I change the platform to mobile 2005 and try to open main form I get this error:
And the app will not compile on device.......
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
re errors
I am using your application Pictures.8.sln C#.
The only thing I changed is the reference to CoreLab.MySql.dll.
as explained previously.
The only thing I changed is the reference to CoreLab.MySql.dll.
as explained previously.
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
re-installed
I have the following installed:
Corelab DBmonitor 2.10
Corelab Mydac 4.30 for delphi
Corelab MySqldeveloper tools for visual studio 2005 Beta
Corelab Mysqlbuilder addin 1.10
Corelab Mysqldirect.net mobile data provider standard.
Cheers
SteveW
Corelab DBmonitor 2.10
Corelab Mydac 4.30 for delphi
Corelab MySqldeveloper tools for visual studio 2005 Beta
Corelab Mysqlbuilder addin 1.10
Corelab Mysqldirect.net mobile data provider standard.
Cheers
SteveW
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
errors
I have copied the directory picture to picture2 example directory.
I open pictures.8.sln
When opening the mainform.cs I get the following error:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Do I need to unistall any of the other components to test?
I open pictures.8.sln
When opening the mainform.cs I get the following error:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'.
Hide Edit
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
Do I need to unistall any of the other components to test?
-
- Posts: 38
- Joined: Fri 23 Dec 2005 11:51
error
I get the following when I try to build the project:
Warning 1 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 206 0
Warning 2 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 210 0
Warning 3 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 229 0
Warning 1 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'Connection'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 206 0
Warning 2 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'SelectCommand'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 210 0
Warning 3 The type 'Microsoft.CompactFramework.Design.UnsafeComponent' has no property named 'DataAdapter'. C:\Program Files\CoreLab\MySQLDirect.NET2 Mobile\Samples\Pictures2\CS\MainForm.cs 229 0