I built a project in (ASP.NET/C#).net (four layers presentation,business, web service, and database layer.) in my local machine. Then I used the “Web Set UP” Project in VS2005 to deploy the project to another server.
I have two issues:
1- each time I try to access an aspx page by typing the url I get this error which is located in my web service.(the url contains the server name not localhost)
Example: IPserver/Websetup/page1.aspx
the error is:
The request failed with HTTP status 404: Not Found.
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 request failed with HTTP status 404: Not Found.
Source Error:
Line 49: [System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://tempuri.org/RetrievingItems", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse .Literal, ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]
Line 50: public Item[] RetrievingItems() {
Line 51: object[] results = this.Invoke("RetrievingItems", new object[0]);
Line 52: return ((Item[])(results[0]));
Line 53: }
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\yankinternalwebsetup\08ed54ec\dadb2745\App_W ebReferences.kjy-nhhb.3.cs Line: 51
Stack Trace:
[WebException: The request failed with HTTP status 404: Not Found.]
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533199
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) +204
ItemsWebRef.ItemWS.RetrievingItems() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\yankinternalwebsetup\08ed54ec\dadb2745\App_W ebReferences.kjy-nhhb.3.cs:51
ControlCard.BindingComboBoxClientName() in c:\Inetpub\wwwroot\YankInternalWebSetup\ControlCar d.aspx.cs:64
ControlCard.lnkNew_Click(Object sender, EventArgs e) in c:\Inetpub\wwwroot\YankInternalWebSetup\ControlCar d.aspx.cs:396
System.Web.UI.WebControls.LinkButton.OnClick(Event Args e) +105
System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument) +107
System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
2- I have a popup screen that is triggered by a button clicked on the page1.aspx. each time I hit this button I get the following error
The request failed with HTTP status 404: not found
The path I have is (serverIP/websetup/mypopupscreen.aspx.
I am really stuck can you help me please
Thanks in advance