webservices smart device c# - c#

Hello guys I really have a big problem. Everytime I try to consume a webservice from an emulator, I always receive the message "Unable to connect to remote server". I already tried installing mobile device center and cradle the emulator. I literally tried doing all the stuff I see on the internet but no success. Hope you have new suggesion. Thanks in advance! By the way even my professor cant fix this problem LOL

Ensure, that you're connecting to the My Work networks in control panel, not the My ISP and craddle the emulator with the emulator device manager (you'll find it under Tools in Visual Studio 2008). Verify, that you can access your webservice from the mobile version of IE. I'm currently not at work, so I can't give you a more detailed description.

Related

Deployment to Remote Machine failed - UWP Debugging

I am currently attempting to deploy an app to a Windows 10 tablet running the Creator's Update, over my local network. When I select remote machine and enter my debug settings, I can discover the tablet on my network, and get its address and Authentication mode automatically.
However, when I try to deploy, I get this error:
DEP6957 : Failed to connect to device using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. 0x8007274C: The network event being waited on triggered an error.
As far as I can tell from the documentation that I've read, this process should be more or less plug and play since the Creator's Update, can anyone explain what I might be doing wrong, or what might be going wrong?
Listed here are my debug settings currently in use.
Update: Since its not the solution I was looking for, I'm not adding it as an answer, but if anyone comes across this looking for a fix and no one has suggested one, the way I ended up working through this is just downloading the remote debugger to the tablet and running the old method for C# apps. I never did find out why the UWP method didn't work.

C# working with fingerprint device

First of all, there are 3 questions here, here and here in stack overflow, but I couldn't find any resourceful help there. I have a biometric device ZKTeco (Model tx628). Task is very simple, just to read the thumb impression from this device. I am working on visual studio 2015 windows form application. I've downloaded the sdk from the manufacturer company's website. but cannot trigger any of them. they don't even connect with the device. I could connect the device through usb connection. but this doesn't work every time (I have no idea why. though its my first time working with device and dll). I might have missing something. please enlighten me with any suggestion, link or something. *yet I didn't find my device name on their website. I have found a solution there, but this didn't worked on mine.

Xamarin.iOS + RestSharp and IPv6 App Store Rejection

I'm developing an iOS app using Xamarin.iOS and RestSharp to send requests to my server.
The app has been already beena approved in January but now, after some fixes, I try to update it with no success.
AppStore has sent me a message (on iTunesConnect) saying:
Please revise your app and test it on a device while connected to an IPv6 network (all apps must support IPv6) to ensure that it runs as expected.
After some researches I found that IPv6 compatibility is now required.
The problem is that I don't need that and I'm not able to test on a IPv6-only network also because I'm developing and testing the application from Visual Studio on Windows using VMware build-host with Mac OSX installed on it.
How can I resolve this issue? Is there a way to test my app emulating IPv6 network on VMware making it works using RestSharp or maybe is there a way to make AppStore to approve my application?
NOTE: I've already try to change HttpClient implementation selecting CFNetwork (iOS 6+) as suggested on many articles on the Web but AppStore still reject my app without any advice and keeping on saying the same (useless) things.
Please help me, I'm stuck and I really don't know how to resolve this :(
Thanks in advance
This morning Apple has approved my application. It seems that I had to perform a clean rebuild of the project after setting the HttpClient implementation to CFNetwork (iOS 6+).
The problem is solved, for now.

Consuming WCF service from windows ce 5.0

I am experiencing a strange problem. I know there are quite a few questions about WCF around, but I am almost sure I have already seen the majority of them and cant solve my problem yet. The problem is, I have a WCF service up and running on the remote server and I am able to consume it from the program I have written on the motorola mc65 device(OS is Windows Embedded Handheld 6.5). Now I need a slightly different web service on the same server, for another Motorola device, mk4000 kiosk that has Windows ce 5.0 running on it. Both of the devices are using .NET CF 3.5 and since generating the proxy for WCF using NetCFSvcutil worked for first case, I thought I would be able to use the same proxy for Windows ce app, but I am getting this error: This protocol version is not supported and that's all. There no error description in inner exception, too. I have no idea what can be the cause of this message, after a bit of research I found what it means that the server does not support http, but I am able to exchange information via http from another device. I would really appreciate if anyone could at least point me to the right direction about solving this matter :/
The problem turned out to be pretty funny in the end, once I connect my laptop to the device via usb port, the device cannot connect to anything, ethernet connection just stops and I found out about it pretty randomly, because I had our IT guys check if everything is ok with connection to the server and all was good. I have never thought about checking the connection right after usb connection, as the message was so unclear. I still do not know the exact reasons of this, but still it may help others working with that Motorola MK4000 Micro Kiosk device.

Problems with starting windows service on windows xp SP3

I'm currently facing a problem which I can not resolve and I really don't know what to do anymore.
When I'm trying to start the service I receive the message: "The service is started but again also stopped, this because that some of the services will stop if they have nothing to do, for example the performance logs and the alerts service".
I've looked into the Windows Logs but nothing is written there which could describe why my service is all the time stopping. I've also tried to fire the windows service via the command prompt which gives me the message: "The service is not started, but the service didn't return any faults.".
I've tried to remove all keys which references to my service, which didn't resolve the issue.
I've searched on google (maybe not good enough) to find an answer but I didn't found any. I did found some websites which describes what I could do, but all of these suggestions didn't work.
This is kinda ** because I do not know where to look. I do not have any error message, i do not have any id which i can use to search on. I really don't know where to start and I hope you guys can help me on this one.
Detailed explanation about the windows service
OS: Windows XP SP3
.Net Framework: .Net 4.0 Client Profile
Language: C#
Development environment: Visual Studio 2010 Professional (but Visual Studio 2012 RC is installed)
Communications: WCF (Named Pipes), WCF (BasicHTTPBinding)
Named Pipes:
I have chosen for this solution because I wanted to communicate from a windows service to a windows form application. It worked now for quite some time but suddenly my windows service shuts it self down and I couldn't restart it anymore.
There are two named pipes services implemented: An event service which will send any notification to the windows form application and an management service which gives my windows form application the possibility to maintain my windows service.
BasicHTTPBinding:
The basic http binding makes the connection to a central server. This connection is then used for streaming information from the client to the server.
I do not know which additional information you will need, but if you guys need something then I'll try to give it as detailed as possible.
Thank you in advance.
Ok, I have solved the issue and really it is a stupid one. Windows XP will not throw any error or does not report to you that the book where all logs are stored is full!!! After cleaning the log my service started perfectly and keeps running. How stupid! :)

Categories