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(IAsy ncResult asyncResult)
+75
System.Net.HttpWebRequest.GetRequestStream() +132
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) +105
EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee(S tring 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
"Prashant Malviya" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
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 webservice on my local system. I have gotten all of the
bugs worked out on mylocal system and now it is time to move it to the sever.
I have triedcopying all of the files and folders within my
application folder. I haveeven tried building a web setup and installing it on the
server. The problemthat I am having is that my web service is still looking
for the web servicefiles from the web services folder on my local system.
How do I get it topoint to the production sever where I already have the
service installed?
.