Connecting to an ASP page using eVB - Windows Mobile Development and Hacking General

I have written a code which connects to an ASP page on a Server.
I have two problems:
1- every 20 minutes to an hour I receive an error : 500 SERVER ERROR
2- after running the software sending and receiving data for several hours, the software hangs when it it is executing InternetReadFile.
Has any body come accross any of the above two problems.
Or -- have you successfully managed to write the code to commiunicate with the Server with no problems??
:roll: :lol:

Related

Pocket Putty on Trinity WM6

Has anyone sucessfully ran the PocketPutty on the Trinity with WM6?
When I do, I sometimes get a connect, but then it interrupts, with an error saying that the server has closed the connection?
Could someone help me please
hi,
absolutley no problem with pocketPuTTY build on Feb 28 2007
bye
OK the time to wait for login on my ssh server was set to 10 seconds.
This is a littlebit to short for Pocket Putty. Now I can connect, but I takes up to 20 seconds.
With PC-Putty it takes less than 1 second. Reason
Using PocketPutty on my Kaiser.
Install to the phone as it comes up with a fatal error if installed on the storage card

FIX!!! Blackberry Connect Helmi Mobile 6 Pro R0 on Blue Angel / XDA iis on o2

Hi
I've managed to get WM6 Pro (build: BA_WM6_HELMI_BA_WM6_R0_Public) to work well on my Blue Angel (2nd Gen). I'm trying to get the Blackberry Client to work on 02 in the UK.
After a clean build followed by installing the 4.0.0.90 the blackberry data tunnel established for about 15 minutes, disconnected and now will not reconnect. (I can replicate the clean build, install 4.0.0.90 and I get the same results every time)
I have tried each of the following software in turn after a deinstall and reset of each preceding file:
Windows Mobile 6 Pro:
4.0.0.67 http://sems.org/content/download/bbc4/bbconnect_pocketpc_bb_4.0.0.67.zip
4.0.0.84 http://sems.org/content/download/bbc4/o2-terra-bbconnect_wm6_professional_bb_4.0.0.84.cab
4.0.0.90 http://sems.org/content/download/bbc4/bbconnect_wm6_pro_4.0.0.90.cab
4.0.0.91 http://sems.org/content/download/bbc4/bbconnect_wm6_professional_bb_4.0.0.91.cab
4.0.0.92 http://sems.org/content/download/bbc4/bbconnect_wm6_professional_bb.4.0.0.92.cab
I'm really keen to get Blackberry working, It is infuriating that you can do a clean build and install the 4.0.0.90 client and a tunnel will establish but only for a few minutes before disconnecting. Once the connection has been dropped, a "register now" on the utility tab click will cause a connect to start, and give the following outputs:
Not Connected (10 secs)
Network Avaialble (10 secs)
Data Tunnel Available (1-2 secs) (gives ip addresses alternately in the 10.5.0.0 or 10.7.0.0 network or 120.12.0.0 network)
Not Connected
Any ideas?
Cheers
Leon
Update: Have tried the hacking method mentioned elsewhere, same results.
Has anyone had any success with extracting the Blackberry Software from the official 02 XDA iis release software (O2_UK_XDAIIs_WWE_14000_242_11200_SHIP) from a working blue angel? Can anyone tell me where I can find some info on how to do this?
The fix is to install this file:
bbconnect_wm6_professional_bb._al_4.0.0.97.cab
you'll need to google it as I dont know where I found it!
post here: http://forum.xda-developers.com/showpost.php?p=1930398&postcount=3
not working for me..
I have the latest 6.1 Rom and tried the BB connect 4.0.0.97 and still get the same result: the BB connects for about 10 seconds then drops the connection.
You didn't have to tweak the registry?
anyone else out there with the same problem ?

eMail Problem... but not with WLAN

Hi everyone!
I'm the proud owner of a HTC Kaiser for about 2 weeks know which works just fine, at least if there wouldn't be this extremely annoying eMail problem :-(
I configured my eMail account and when I'm downloading my eMails with WLAN everything works fine, which proves that username/password/... must be correct.
Today I was "on the road" and tried to fetch my mails via grps/hsdpa/whatever was available and it just won't work. I suddently get a "Synchronisierungsfehler" (I'm running a german ROM, in english it should be something like "synchronisation error") and a bubble tells me to check my proxy etc settings, but it seems that the phone doesn't even try to connect :-(
I deleted and recreated my eMail account a couple of times, trying all the different network connections but it just won't work.
If I run IE, it automatically connects over 3G and I'm able to browse the web. While connected and surfing through the www I'm still unable to download my mails with the same error message, although I'm definitely connected to the internet. As soons as I disconnet 3G and enable WLAN, I'm able to send and receive eMails (while surfing still works of course).
Any ideas what I'm doing wrong? Slowly but surely I'm going insane ;-)
Thanks,
Simpson
What's your mobile carrier? Maybe the provider is blocking the necessary port(s) which are used by POP3/SMTP/IMAP.
So in first instance you could try a different APN if there is one...
Thanks for the reply!
I'm on 3 (Austria) and the strange thing to me is that it aborts so quickly. When downloading my Mails via WLAN it says Connection, Logging in, ... but over GPRS, which should take longer i guess, within the very first second (REALLY withing the very first second), there is "Connection", "Synchronisationerror", so I'm wondering if the connection could be dropped that fast by my provider or if the phone isn't even trying :-(
Thanks again,
Simpson
I guess it could be the port thing I mentioned above.
When you're connected via wifi (i.e. at home) there is usually no specific port blocked. So you're able to receive emails without any issues. If you're connected via GPRS/EDGE/3G/... the provider is able to block an incoming traffic on specific ports. The whole procedure works like that (simplyfied): your mobile establishes a connection via GPRS (which seems to work since you can browse the internet via GPRS). Afterwards it tries to connect on port 110 (which is for POP3) to your inbox. I think there's the point where your provider comes into play. If this port is blocked there's no way for your mobile to reach the mail account.
edit:
Do you have the option to try fetching your mails with a different SIM card from a different provider? If so you should try that.
And yes... the connection can be dropped that fast.
Basti756 said:
I guess it could be the port thing I mentioned above.
When you're connected via wifi (i.e. at home) there is usually no specific port blocked. So you're able to receive emails without any issues. If you're connected via GPRS/EDGE/3G/... the provider is able to block an incoming traffic on specific ports. The whole procedure works like that (simplyfied): your mobile establishes a connection via GPRS (which seems to work since you can browse the internet via GPRS). Afterwards it tries to connect on port 110 (which is for POP3) to your inbox. I think there's the point where your provider comes into play. If this port is blocked there's no way for your mobile to reach the mail account.
edit:
Do you have the option to try fetching your mails with a different SIM card from a different provider? If so you should try that.
And yes... the connection can be dropped that fast.
Click to expand...
Click to collapse
I called 3 yesterday and they swore that the ports are NOT blocked. It must be possible to fetch mails from any provider.
Another funny thing is that if I configure my email account and try to automatically fetch the settings, the Kaiser connects via the same modem as if I would start IE and is able to fetch the settings!!! After finishing the configuration and trying to send/receive my mails, I get the same message again: Synchronisationsfehler bzw Überprüfen Sie Ihre DFÜ und Proxy Einstellungen.
Thanks to this great forum I unlocked my Kaiser with this cute All-in-one solution unlocker (donation will follow ;-) and tomorrow I'll try it with a different SIM card
Thanks again!
Greets,
Simpson
Well... if 3 doesn't block any ports... this whole thing doesn't get much easier
I suggest to take a look at your email provider settings (pop3 server, smtp server, login credentials). Maybe you have to use different settings when connecting via GPRS/3G.
I had a similar issue a couple of days ago with a Kaiser ( ), T-Mobile and T-Online. To keep things short... the login credentials have to be different when fetching mails via GPRS from T-Online.
So you should take a look at these settings. Especially at the server settings, since your device gives a connection error.
Well, I started messing aroung with this stuff on thusday. Today is sunday and.... It finally works!!!!!
Do you know what I did?
Well, after 4 days of fooling around I thought maybe I should try to reboot my Kaiser (Ein Reboot tut immer gut!) and after rebooting, without changing any account settings: Start -> Messaging -> Send/Receive -> AUTOMATICALLY dialing Planet3Modem -> You've got 2 new messages!
I'm so happy that it finally works, I don't even care why I didn't try a reboot earlier ;-)
Yippeee!!!!!! ))))
Thanks again for the help!
Greets,
Simpson
I'd never guessed that it would be that simple
Anyways... herzlichen Glückwunsch

Emails over approx 4k cause ActiveSync to fail

Hi all
I have 2 x HD2s configured for ActiveSync with our SBS2003 server. Everything works fine when connected to my laptop via USB or when connected to WiFi (whether at my office or at any remote site unrelated to my local LAN). However, once I am using my data connection I experience the following issue which I have narrowed down through lots of trail and error:
When an email of approx 4k and above arrives I can see ActiveSync trying to sync and it then fails with an error code of 0x80830002. ActiveSync will then never reestablish a connection unless I either remove the particular email from my Outlook inbox, or, I connect to any WiFi connection.
If I set the download limit to 1k, it never fails and I simply receive a trunkated version of the email. However, if I select to download the remained of the text it fails again.
The issue is related to the size of the text within the email as attachements can be downloaded fine.
I have been on to T-Mobile as this feels like a carrier problem as I only experience it when using mobile data connection but they haven't come up with anything.
I'd really appreciate any help you can offer as this is driving me mad!!!!!
Many thanks,
Tom.
I seem to be having similar problems
Which all started in Mid April. I too am on T-Mobile.....
Though e-mails in excess of 4k have been syncing when OTA is actually working. I hope an expert out there has an idea of what may be wrong!
Niall
Hi Niall
I should have posted my solution back here.
I thought (mistakenly) that my SBS2003 box was running service pack 2. It wasn't.
Went to the Microsoft updates website, allowed it to download and install and hey presto!!!
Also, I have noticed that on occasion, for example if the SBS loses its internet connection, that ActiveSync does not reestablish. Simply terminating it in WM task manager causes it to restart and then its fine.
Hope this helps.
Thanks for the suggestions. We're on Exchange 2003 SP2 already.
Terminating Activesync in the Task Manager on the phone doesn't help either. The only way to "restart" OTA syncing is to do a USB laptop sync. With SSL it falls down eventually with "Waiting for Network". Without SSL it lasts longer before falling down with error 0x80830002.
I do still wonder if it's related to us changing ISP for head office, but then surely the iPhone or WM6.1 device would also fail?
Niall

time to connect is getting bigger amnd bigger

Resently I noticed that the time needed to connect to a remote server is getting bigger and bigger. I made an application that measures the time from sending a request to and getting a response from the server.
About 6 months ago I made a hard reset. At that time the server response took only 12 seconds, after 4 months it was 40 seconds. One month ago it was 55 seconds and now it is 65 seconds. I connect via gprs or 3G+, in both cases same result. I alwas use the same application that connects to the server.
The same situation is if I want to see www pages. No matter if I use IE or Opera browser and switch between http or socket connection. When I type the url address and click connect, approx. the first 50 seconds - nothing is happening, then an indication of data connection pops up at the top and the page is opening. After that when I connect to any different url address, the page opens very quickly.
I tried to delete cookies, temp files but with no effect. Something is apparently growing up in my device but don't know what. The time to connect for the first time is getting longer and longer/
My device is Acer DX900 with WM6.5.
I don't want to make a hard reset again. All advices are wellcome.

Categories

Resources