Solved

Server Error in '/Test' Application.

Posted on 2011-02-11
2
239 Views
Last Modified: 2013-02-27
Hello,

We are facing an issue when accessing a web application via the corporate firewall. The site opens correctly from inside the LAN. However, it is published correctly on the firewall and we are able to access the login page from external networks. Once we provide the credentials, it crashes with the below information:

Server Error in '/Test' 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:

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 remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +5313085
   System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +69
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +3929007
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +54
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +74
   System.Threading.CompressedStack.runTryCode(Object userData) +70
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +108
   System.Xml.XmlTextReaderImpl.OpenUrl() +186
   System.Xml.XmlTextReaderImpl.Read() +208
   System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) +217
   System.Xml.XPath.XPathDocument..ctor(String uri, XmlSpace space) +116
   System.Xml.XPath.XPathDocument..ctor(String uri) +6
   CybeRM.DataAccesslayer.UserDal.FillAccessFunctionDetails(DataTable& grantedMenuDt) +210
   CybeRM.DataAccesslayer.UserDal.LoadUserGrantedFunction() +151
   CybeRM.DataAccesslayer.UserDal..ctor(String Username, String Password, String menuPath) +2492
   CybeRM.Login.BtnSubmit_Click(Object sender, EventArgs e) +361
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Any hint would be much appreciated!!

0
Comment
Question by:Grayhat7
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 250 total points
ID: 34876608
I would suggest reading the detailed article from MSDN about this error to see if anything there helps:

http://blogs.msdn.com/b/sudeepg/archive/2009/11/10/content-deployment-the-remote-server-returned-an-error-404-not-found.aspx
0
 

Author Comment

by:Grayhat7
ID: 36202946
Problem ain't solving but the server is being used inside the LAN only. I will close this question. Pony, thanks for your input.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now