MSMQ - Windows Mobile 5 - C#

GeordieLife

Member
Jul 7, 2008
51
0
0
I want to cry. Got SQL Server access working, but due to some other issues I need to have a client/middle tier/server setup. Figured it'd be ok to use MSMQ.

Can't get it to work on the device (error c00e000b). There are few sites recommending fixes but I have no idea where to start.

Any other way of managing this?

User scans barcode
Check valid item in MRP system
Confirm to user
User scans quantity
Check enough stock of said item
Confirm to user
User Moves stock

For example.

It has to be real time and needs the middle tier as we use a specific set of dlls to talk to the MRP system (which bring up another error if I try to deploy to mobile device)

could not load type system.runtime.remoting.lifetime.ilease blah blah

Any help or advice would be great!
 

imported_Dhaval00

Senior member
Jul 23, 2004
573
0
0
You sound desperate! Not in a bad way, but I guess people are stomping on you to get this done? :)

In any case, my question is why would you be using MSMQ for this? That is just an additional overhead - if you simply need a middle tier, why don't you use a Windows/Web Service as mentioned by some of us in the previous thread? I mean all these steps you explain, they all sound like method calls to a middle tier.

And also, unless you post some code, etc., we aren't going to know what's causing your exceptions.
 

brandonb

Diamond Member
Oct 17, 2006
3,731
2
0
As Dhaval said, post which MSMQ line gives you the exception.

Message Queues are great for their intended use, but from what you explain, it doesn't sound like MSMQ would work good for your situation. You'd be better off using WCF or as Dhaval said, Web Services.

MSMQ is just a bucket to drop data into, which another app can pull out of when it feels like it.
 

GeordieLife

Member
Jul 7, 2008
51
0
0
Thanks. Yeah, stomped is kind of the word...working in automotive it's all hands on deck to get things "lean".

I'm not convinced that web services can do the job, mainly due to my inexperience with them. I'll have a look over the next few days.

Many thanks again for your time :)