?
Solved

Changing Web Service from Localhost to Server

Posted on 2013-12-18
8
Medium Priority
?
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39729189
What does the web method do?
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 800 total points
ID: 39730038
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
ID: 39730478
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
Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 1200 total points
ID: 39730874
Please show what the web method looks like, so we might see some possible candidates for that error.
0
 

Accepted Solution

by:
LoGa1234567890 earned 0 total points
ID: 39731171
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
ID: 39731821
What type of encryption are you using?  Are you converting to Base-64 string after encryption?
0
 

Author Comment

by:LoGa1234567890
ID: 39733312
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
ID: 39738979
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

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

762 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