|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Troubleshooting - Index.aspx problems
Sorry i have also posted this on the IIS 6 board but the shared server we are using is IIS7
Hi, I am a novice at .net and am trying to get to the bottom of a problem with a website application that has been developed for myself. As a background, the website is hosted on a shared windows host. It speaks to a MSSQL2008 database and currently we are unable to get the index.aspx to work. There are other pages which at least present errors when you directly enter their URL, however the index.aspx tries to download a file rather than process the file with .NET. The hosts have informed us that the problem lies with our code. The index.aspx has the following code: <%@ Page Language="C#" AutoEventWireup="true" Inherits="domainname.Controller" Trace="false" Codebehind="index.aspx.cs" MasterPageFile="~/templates/domainname.master" %> There is no index.aspx.cs!!!!!!!! i thought this was the problem but our develioper has informed us that it is a complied application and thats not a problem. The hosts have said that our application throws an error as below: The error from your weblogs is: HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.0 X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET Date: Mon, 01 Jun 2009 08:19:53 GMT The hosts uploaded a file called text.aspx which worked fine. If i change the file name from index.aspx to default.aspx then we are presented with an error which is progress at least. Having worked on IIS in the past to me this means that index.aspx is not on the list of default documents. However the hosts argue that it is on there. When we run the files as default.aspx we are presented with: Server Error in '/' Application. -------------------------------------------------------------------------------- PageEntity not found where iCurrentPage = 0, iCnt=0 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.Exception: PageEntity not found where iCurrentPage = 0, iCnt=0 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: [Exception: PageEntity not found where iCurrentPage = 0, iCnt=0] OlympusSpine.Bol.Template.Navigation.GetPageTree(P ageSettings objData, Int32 iCurrentPage) in C:\inetpub\wwwroot\domainname\Bol\Template\Navigat ion.cs:49 OlympusSpine.Bol.Template.Breadcrumbs.BuildCrumbs( Page PageClass) in C:\inetpub\wwwroot\domainname\Bol\Template\Navigat ion.cs:501 OlympusSpine.Controller.Page_PreInit(Object sender, EventArgs e) in C:\inetpub\wwwroot\domainname\index.aspx.cs:57 System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +15 System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +33 System.Web.UI.Page.OnPreInit(EventArgs e) +2062552 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +663 However again our developer has said that the site works fine on their test servers. Does this sound correct to everyone else. Is there anyway else we can pin this down. Any help would be greatly apprecited as this project has now run over and im running out of things to look for. Kind Regards Tom |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Troubleshooting - Index.aspx problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|