Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Hi Jeff I suspect that you may not have included all the components to be carried across to the device. They are on your workstation, hence why it runs, but fails on the device. I believe there is a description of the items that need to be included in the sdk in the ibm or rocket directory. You can put the web service on a different machine and talk to the server hence isolating the data. The U2 webservice can encrypt and provide security connection to that server and is fairly easy to set up. With Web services your application runs on any device where .Net limits you to Microsoft. Regards David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I have a working VB application which I literally cut and pasted the code from into a new project on the Windows mobile platform rather that straight windows. The only difference is the use of the uniobjects for compact framework .dll in the windows mobile application. This is an internal non routable subnet with symbol guns connecting to a server. I can not run a web service because I can't run an http service on the server due to PCI requirements. Yes, I could probably take the demo C# app apart and insert my own code but why should I have to do that? It should work in VB as I have it constructed. It works in windows and as an ASP web application so why should it not work on this platform. Tony Gravagno wrote: While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T From: Holt, Jake Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. From: Jeff Schasny Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I can't run a web service on the machine I'm communicating with because it is in scope for PCI compliance. I can't grab the whole error right now because I'm running in the emulator. I'll deploy the thing to a real device tomorrow and save the whole error to a file. Symeon Breen wrote: Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem
Thanks Wally for confirming what I thought. Much appreciated, -Dan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wally Terhune Sent: Tuesday, May 10, 2011 11:31 AM To: U2 Users List Subject: Re: [U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem Yes. UniData uses standard C runtime calls for file system file access. In general, you want to tune your SAN to optimize for random access. RAID0+1 with small (64K range) stripe size. Lots of small disk vs a few large disks. [AD] Rocket Professional Services are an excellent resource for UniData system tuning. Regards, Wally Terhune U2 Support Architect Rocket Software 4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble Sent: Tuesday, May 10, 2011 9:23 AM To: U2 Users List Subject: [U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem We have been dealing with performance issues with our system and it seems to be I/O bound when we look at the stats using nmon and topas. We have our SAN engineers looking at it from the backend to make sure that it is tuned well, plus IBM looking from an AIX point of view. One thing I was asked is does the database have the ability to take advantage of AIO / CIO / DIO . From what I remember from the internals classes (taken over 10 years ago) for the U2 products they take advantage of the generic filesystem and are not compiled to use any filesystem variants. Is this still a true statement today? Thanks in advance for all feedback Daniel Goble Unidata DBA INTERLINE BRANDS, INC. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem
Yes. UniData uses standard C runtime calls for file system file access. In general, you want to tune your SAN to optimize for random access. RAID0+1 with small (64K range) stripe size. Lots of small disk vs a few large disks. [AD] Rocket Professional Services are an excellent resource for UniData system tuning. Regards, Wally Terhune U2 Support Architect Rocket Software 4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA Tel: +1.720.475.8055 Email: wterh...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble Sent: Tuesday, May 10, 2011 9:23 AM To: U2 Users List Subject: [U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem We have been dealing with performance issues with our system and it seems to be I/O bound when we look at the stats using nmon and topas. We have our SAN engineers looking at it from the backend to make sure that it is tuned well, plus IBM looking from an AIX point of view. One thing I was asked is does the database have the ability to take advantage of AIO / CIO / DIO . From what I remember from the internals classes (taken over 10 years ago) for the U2 products they take advantage of the generic filesystem and are not compiled to use any filesystem variants. Is this still a true statement today? Thanks in advance for all feedback Daniel Goble Unidata DBA INTERLINE BRANDS, INC. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Unidata take advantage of DIO / AIO /CIO in JFS2 filesystem
We have been dealing with performance issues with our system and it seems to be I/O bound when we look at the stats using nmon and topas. We have our SAN engineers looking at it from the backend to make sure that it is tuned well, plus IBM looking from an AIX point of view. One thing I was asked is does the database have the ability to take advantage of AIO / CIO / DIO . From what I remember from the internals classes (taken over 10 years ago) for the U2 products they take advantage of the generic filesystem and are not compiled to use any filesystem variants. Is this still a true statement today? Thanks in advance for all feedback Daniel Goble Unidata DBA INTERLINE BRANDS, INC. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: > Are you using a secure connection or connection pooling? I don't think > either are supported yet with UniObjects on the compact framework. > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: Tuesday, May 10, 2011 8:32 AM > To: U2-Users@listserver.u2ug.org > Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic > > Has anyone successfully written a VB application using the compact > framework .dll? I attempted to convert on of my working > Windows/Uniobjects applications and have never been able to get a > session open under Windows Mobile. All of the example apps are C# which > really does me no good. Case number 470569*US was opened with Rocket on > 12/01/10 which has resulted in total silence. > -- > > Jeff Schasny - Denver, Co, USA > jschasny at gmail dot com > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T > From: Holt, Jake > Are you using a secure connection or connection pooling? I > don't think > either are supported yet with UniObjects on the compact framework. > From: Jeff Schasny > Has anyone successfully written a VB application using > the compact framework .dll? I attempted to convert on > of my working Windows/Uniobjects applications and have > never been able to get a session open under Windows > Mobile. All of the example apps are C# which really > does me no good. Case number 470569*US was opened > with Rocket on 12/01/10 which has resulted in total > silence. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
C# to vb.net conversion is quite simple, if it works in one it should work in the other. - have you some example code that you need help with ? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 14:32 To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Uniobjects.Net Compact Framework and Visual Basic
Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users