Solved

Changing Web Service from Localhost to Server

Posted on 2013-12-18
8
249 Views
Last Modified: 2013-12-25
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
Comment
Question by:LoGa1234567890
  • 4
  • 3
8 Comments
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
What does the web method do?
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 200 total points
Comment Utility
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
 

Author Comment

by:LoGa1234567890
Comment Utility
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
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 300 total points
Comment Utility
Please show what the web method looks like, so we might see some possible candidates for that error.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Accepted Solution

by:
LoGa1234567890 earned 0 total points
Comment Utility
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
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
What type of encryption are you using?  Are you converting to Base-64 string after encryption?
0
 

Author Comment

by:LoGa1234567890
Comment Utility
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
 

Author Closing Comment

by:LoGa1234567890
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now