473,394 Members | 1,746 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,394 software developers and data experts.

How to repoint a Web Service location?

Using ASP.NET 2.0

I thought just changing the <add key="ListService.ListService"
value="http://localhost/ListService.asmx"/> to <add
key="ListService.ListService" value="http://MyNewServer/ListService.asmx"/>
in Web.config would do. But when I do that, I get HTTP 404 in my Web
application. Any help?

Thanks
Michael
Dec 19 '05 #1
2 1357
Hi Michael,
Have you tested the WebService Url with your Browser ?
Are you sure to have your Development environment and Production environment
in the root of IIS ?

--
Daniel TIZON
MCP - MCSD.NET - MCT

"Michael" <no****@nospam.com> a écrit dans le message de news:
Oo*************@TK2MSFTNGP11.phx.gbl...
Using ASP.NET 2.0

I thought just changing the <add key="ListService.ListService"
value="http://localhost/ListService.asmx"/> to <add
key="ListService.ListService"
value="http://MyNewServer/ListService.asmx"/> in Web.config would do. But
when I do that, I get HTTP 404 in my Web application. Any help?

Thanks
Michael

Dec 19 '05 #2
Oh my. Stupid mistake on my part. The Web Service was not at the root. Just
wrong URL. Thanks Daniel.
"Daniel TIZON" <da********************@hotmail.com> wrote in message
news:Oa**************@TK2MSFTNGP10.phx.gbl...
Hi Michael,
Have you tested the WebService Url with your Browser ?
Are you sure to have your Development environment and Production
environment in the root of IIS ?

--
Daniel TIZON
MCP - MCSD.NET - MCT

"Michael" <no****@nospam.com> a écrit dans le message de news:
Oo*************@TK2MSFTNGP11.phx.gbl...
Using ASP.NET 2.0

I thought just changing the <add key="ListService.ListService"
value="http://localhost/ListService.asmx"/> to <add
key="ListService.ListService"
value="http://MyNewServer/ListService.asmx"/> in Web.config would do. But
when I do that, I get HTTP 404 in my Web application. Any help?

Thanks
Michael


Dec 19 '05 #3

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

Similar topics

5
by: | last post by:
Hi, I have a Windows Service that uses a referenced dotnet-dll. In my dll I set some public string to a stringvalue that I get from reading a xml-file(my config file). It works fine if I use it...
10
by: Clint | last post by:
Hey all - I'm having a really confusing problem concerning a web service. Right now, I have an application that needs to call a web service that does nothing but return "true" (this will...
8
by: Nils Magnus Englund | last post by:
Hi, I have a production, test and development environment for my web application and a web service (The test web application connects to the test web service, and so on). Is it possible to...
6
by: Willie wjb | last post by:
Hi, i created a windows service. This service is installed in some c:\program files\x directory when started it needs the directory in which it is started. when i use the...
0
by: dfcoates | last post by:
I am hoping someone else has run into this before... Here's the situation: Win2K3 Server running a .NET Windows Service application. On the front end, the service is a TCP/IP host application...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
2
by: KayC | last post by:
Hi, I use Access2002 SP3. I have taken ownership of a mdb which I would like to redesign. I want to repoint all current queries from a daily table to a new historic table. There are over 30 queries...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.