-----Original Message-----
That sounded like a great idea so I tried it. However, that didnot work. I
am getting the same error. Here is the error that I am receiving: The lines
that say \\FDFSYS02\\blahblahblah is what is registered as localhost.
Server Error in '/EmpRemoval' Application.
--------------------------------------------------------- -------------------
----
The underlying connection was closed: The remote name could not be resolved.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Net.WebException: The underlying connection was
closed: The remote name could not be resolved.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The underlying connection was closed: The remote name could
not be resolved.]
System.Net.HttpWebRequest.CheckFinalStatus() +673
System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult)
+75
System.Net.HttpWebRequest.GetRequestStream() +132
System.Web.Services.Protocols.SoapHttpClientProtocol.Invok
e(String
methodName, Object[] parameters) +105
EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee (String sEmpName) in
\\Fdfsys02\FMIS-Users\jwames\My Documents\My Projects\BEKGO1
Intranet\FoodNet\EmpRemoval\Web
References\EmpSearch\Reference.cs:43
EmpRemoval.EmployeeSearch.Page_Load(Object sender, EventArgs e) in
\\fdfsys02\fmis-users\jwames\my documents\my projects\bekgo1
intranet\foodnet\empremoval\empsearch.aspx.cs:33
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------- -------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Hi,
When the web reference is created, there are couple of
settings,
1) Static
2) Dynamic
Static as the name suggests that the web service is
always hosted on same system like Microsoft.com,
Dyanamic, is more what your situation warrants, it
changes when you change your server like from your
localhost to your production server.
So change the web reference properties to Dynamic and
when you build the solution it automatically creates the
configuration file which will have a entry in the
appsettings to point to the specific web service. Thus,
this setting can be changed at any time...
Hope this helps...
Regards,
Prashant
-----Original Message-----
I have created a web application that uses a custom control and a web
service on my local system. I have gotten all of the bugs worked out on my
local system and now it is time to move it to the sever. I have tried
copying all of the files and folders within my application folder. I have
even tried building a web setup and installing it on the server. The problem
that I am having is that my web service is still looking for the web service
files from the web services folder on my local system. How do I get it to
point to the production sever where I already have the service installed?
.
.