• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Changing Web Service from Localhost to Server

Hi Experts,

My window app use web service to talk to a web app, it work fine on my localhost machine, but after I put the web app remotely to a web server, the window app can’t connect to it any more.
uploaded is the catch message got from the window app.

What goes wrong ? please help !

Thanks in advance
error-message1.JPG
0
LoGa1234567890
Asked:
LoGa1234567890
  • 4
  • 3
3 Solutions
 
Bob LearnedCommented:
What does the web method do?
0
 
Jacques Bourgeois (James Burger)Commented:
Is it possible that your localhost machine is 64-bit, that you have set the project's options to compile for 64-bit, and that the server is 32-bit? This could trigger an overflow in some situations.

Try compiling the application as x86, it might correct the problem.
0
 
LoGa1234567890Author Commented:
Hi,
Initially it was set for any CPU, then i change it to x86, but make no different, that error message still come up.
Could it be the server is 64 bit and causing the problem ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Bob LearnedCommented:
Please show what the web method looks like, so we might see some possible candidates for that error.
0
 
LoGa1234567890Author Commented:
TheLearnedOne give me a hint to review my web method, because the method is for checking login from user, username and password all encrypted with a lot of special characters and send back to web service via url string, may be some of them were not allowed. I change it back for testing just simple handshake, and it work, can you tell me what character is not allow for my encryption ?
0
 
Bob LearnedCommented:
What type of encryption are you using?  Are you converting to Base-64 string after encryption?
0
 
LoGa1234567890Author Commented:
There are special characters after encryption because I generate my own encryption dictionary, which include special characters as well.
I should avoid special character and go back to base64 or 62.

Thank you for helping me to solve my problem.
0
 
LoGa1234567890Author Commented:
There are special characters after encryption because I generate my own encryption dictionary, which include special characters as well.
I should avoid special character and go back to base64 or 62.

Thank you for helping me to solve my problem.
0

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now