473,320 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

unable to access web services on new server

I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.

I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)

What could be causing my app not being able to access the web service on the new server?

Oct 9 '07 #1
4 1446
Have you changed URL of the web service in your app's code?

When you first set reference to the web Services, the service' url is
pointing to the server where the WS is. Now you moved the WS to other
server, you supposed to change the URL in your code:

MyWebService sv=new MyWebService();
sv.Url="http://newServer/..../GetUsers.asmx";

Of course, you can reset the web services reference in your project and
rre-build it.

"Mike" <Mi**@community.nospam.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
I moved my web services to a new web server and now I can't access the web
services through my web app. I am able to access them using IE:
(http://newservername:110/webService/GetUsers.asmx) that works, but when I
try to run my app that is using this web service it fails.

I looked at the configuration under IIS and it matches the same
configuration I took the web service off of (asp.net 2.0, security, etc)

What could be causing my app not being able to access the web service on the
new server?

Oct 9 '07 #2
yes, I changed all of the references in the web.config file.


"Norman Yuan" <No*******@NoEmail.fakewrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Have you changed URL of the web service in your app's code?

When you first set reference to the web Services, the service' url is
pointing to the server where the WS is. Now you moved the WS to other
server, you supposed to change the URL in your code:

MyWebService sv=new MyWebService();
sv.Url="http://newServer/..../GetUsers.asmx";

Of course, you can reset the web services reference in your project and
rre-build it.

"Mike" <Mi**@community.nospam.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
I moved my web services to a new web server and now I can't access the web
services through my web app. I am able to access them using IE:
(http://newservername:110/webService/GetUsers.asmx) that works, but when I
try to run my app that is using this web service it fails.

I looked at the configuration under IIS and it matches the same
configuration I took the web service off of (asp.net 2.0, security, etc)

What could be causing my app not being able to access the web service on
the new server?

Oct 9 '07 #3
I found it. The id that is being used got locked out. Once I 'unlocked' the ID I was then able to access the web services via my web app
"Mike" <Mi**@community.nospam.comwrote in message news:u4**************@TK2MSFTNGP03.phx.gbl...
I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.

I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)

What could be causing my app not being able to access the web service on the new server?

Oct 9 '07 #4
Most likely security....
Or your server can not resolver the name to ip address

George.
"Mike" <Mi**@community.nospam.comwrote in message news:u4**************@TK2MSFTNGP03.phx.gbl...
I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.

I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)

What could be causing my app not being able to access the web service on the new server?

Oct 9 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Baima | last post by:
I am unable to create Web project now. If I do a File | New Project | ASP.NET Web Application, I always get a message like: ====== Unable to create Web project 'MyTestWeb'. The file path...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
1
by: Srinivasan Vasudevan via DotNetMonster.com | last post by:
Dear All, I am having windows 2003 server as Operation System and iam using Visual Studio .NET 2003, my problem is if i open the ASP.NET project the application showing the below given error. ...
0
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
4
by: Khamal | last post by:
Hello.... My web service cannot connect to My MsSql DB. error message... ---------------------- An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in...
0
by: Chris Fink | last post by:
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE...
8
by: =?Utf-8?B?RGFuTQ==?= | last post by:
Can someone help with the following problem. I am sending an encrypted SOAP message to a .NET 2.0 + WSE 3.0 web service. When .NET attempts to decrypt the message it cannot read the private key...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.