Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 1st, 2009, 10:16 AM
tom1330 tom1330 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 1 tom1330 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 34 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Troubleshooting - Index.aspx problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT