Deploying Web Application

J

Jeremy Ames

I made a post yesterday under the same title, and I think I finally fixed
yesterday's problem by playing with the setup files. However, I am still
having a problem with the web service that the application is using. Here is
the error message I am receiving:


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.Invoke(String
methodName, Object[] parameters) +105
EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee(String sEmpName)
EmpRemoval.EmployeeSearch.Page_Load(Object sender, EventArgs e)
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


If you follow the stack trace, you can see that the Web Reference is called
at the line says EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee(String
sEmpName). I am pretty lost here becuase I really don't know what I am
looking for.
 
J

Jeremy Ames

Alright! I have finally found the answer to my problem. This is pretty
obscure though. The problem was not in the code anywhere. The problem was
that we had created an alias for the server in our DNS table. The system
that we are running our intranet site on did not recognize the alias (ie. I
could not ping the alias from that server), so I created an entry for the
alias in the LMHOSTS.SAM file and ran an import. At that point I was able to
ping the alias, and it resolved my issue with the web service.

I made a post yesterday under the same title, and I think I finally fixed
yesterday's problem by playing with the setup files. However, I am still
having a problem with the web service that the application is using. Here is
the error message I am receiving:


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.Invoke(String
methodName, Object[] parameters) +105
EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee(String sEmpName)
EmpRemoval.EmployeeSearch.Page_Load(Object sender, EventArgs e)
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


If you follow the stack trace, you can see that the Web Reference is called
at the line says EmpRemoval.EmpSearch.EmployeeSearch.FindEmployee(String
sEmpName). I am pretty lost here becuase I really don't know what I am
looking for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top