Every ASP.NET application in the world needs to do this

Discussion in 'ASP.NET / ASP.NET Core' started by SEAN432, Nov 12, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I cant think of a single ASP.NET application in existence on this planet that doesn?t need to be deployed from Development machine to host server but I cant get any information on how to do this successfully. I have no bizarre settings on my machine. I have tried to deploy both by FTP and Frontpage file extensions and every single time I get the following error.</o:p>
    </o:p>
    What is going on and why do I feel like I am the only person on the planet who has ever had this issue?</o:p>
    Server Error in '/quiz' Application. </o:p>



    The remote server returned an error: (404) Not Found. </o:p>
    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: </o:p>




    Code:
    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.
    </o:p>

    Stack Trace: </o:p>



    </o:p>[WebException: The remote server returned an error: (404) Not Found.]</o:p> System.Net.HttpWebRequest.CheckFinalStatus() +678</o:p> System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +139</o:p> System.Net.HttpWebRequest.GetResponse() +249</o:p> System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +65</o:p> System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94</o:p> System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55</o:p> System.Xml.XmlTextReader.CreateScanner() +384</o:p> System.Xml.XmlTextReader.Init() +23</o:p> System.Xml.XmlTextReader.Read() +530</o:p> System.Xml.XmlReader.MoveToContent() +75</o:p> System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean denyResolving) +122</o:p> System.Data.DataSet.ReadXmlSchema(String fileName) +60</o:p> quizengine.WebForm1.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\quizengine\default.aspx.cs:25</o:p> System.Web.UI.Control.OnLoad(EventArgs e) +67</o:p> System.Web.UI.Control.LoadRecursive() +35</o:p> System.Web.UI.Page.ProcessRequestMain() +750</o:p>
    </o:p>
    </o:p>
    </o:p>
    </o:p>

    Post Edited (SEAN432) : 11/14/2005 12:05:04 AM GMT
     
  2. PROBLEM SOLVED!!!

    I had some XML files and I changed the directory reference assuming it would search current directory first.

    I had to put the full path name of my website directory for it to work.

    Sorry about the rant.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page