Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
.net remoting working on IIS7.5 Properly but sometimes not working inmy ASP.net Solution.

Error message as given below
Server Error in '/' Application.
--------------------------------------------------------------------------------
The remote server returned an error: (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 remote server returned an error: (404) Not Found.

Source Error: 


Line 26:             oDataSetCreator = new global::Amit.OleDb.Utility.DataSetCreator();
Line 27:             oDatabaseConnection = new global::Amit.OleDb.Utility.DatabaseConnection();
Line 28:             oDatabaseConnection.GetConnection();
Line 29:             oFormatDate = new global::Amit.OleDb.Utility.FormatDate();
Line 30:         }
 
Source File: D:\Amit Dhavan\Projects\JobHunters\JobHuntersServices\PickupData.cs    Line: 28 

Stack Trace: 

[WebException: The remote server returned an error: (404) Not Found.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +182
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1506
   Amit.OleDb.Utility.DatabaseConnection.GetConnection() +0
   JobHunters.PickupData..ctor() in D:\Amit Dhavan\Projects\JobHunters\JobHuntersServices\PickupData.cs:28
   AmitPage..ctor() in D:\Amit Dhavan\Projects\JobHunters\JobHuntersWeb\JobHuntersPage.cs:34
   JobHuntersWeb.Login..ctor() in D:\Amit Dhavan\Projects\JobHunters\JobHuntersWeb\Login.aspx.cs:22
   ASP.login_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d391b696\bd7f8b1\App_Web_login.aspx.cdcab7d2.d4a5ibxr.0.cs:0
   __ASP.FastObjectFactory_app_web_login_aspx_cdcab7d2_d4a5ibxr.Create_ASP_login_aspx() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d391b696\bd7f8b1\App_Web_login.aspx.cdcab7d2.d4a5ibxr.1.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +133
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +177
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +84
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +121
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +470
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +215
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +194
Posted
Updated 28-Jun-12 22:25pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900