Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > The IListSource does not contain any data sources.

Reply
Thread Tools

The IListSource does not contain any data sources.

 
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-12-2007
Hello:

I have migrated a site from IIS5 to IIS6. The site is configured and the we
app is installed on the new IIS site. I can get to the web page but when I
try to login, this is what I get the following error below. I would
appreciate any insight, direction or help regarding this.

Thank-you!!

Walid

************************************************** ************************************************** ********************
Server Error in '/' Application.
--------------------------------------------------------------------------------

The IListSource does not contain any data sources.
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.Web.HttpException: The IListSource does not
contain any data sources.

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:

[HttpException (0x80004005): The IListSource does not contain any data
sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
String dataMember) +376
System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
System.Web.UI.Control.DataBind() +26
T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +739
************************************************** **********
************************************************** **********


 
Reply With Quote
 
 
 
 
OZI
Guest
Posts: n/a
 
      09-13-2007
Did you trace your code and see where it is failing
somehow your data binding is failing, you are not getting data or something.
Limited info given.

OZI


"Walid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello:
>
> I have migrated a site from IIS5 to IIS6. The site is configured and the
> we
> app is installed on the new IIS site. I can get to the web page but when
> I
> try to login, this is what I get the following error below. I would
> appreciate any insight, direction or help regarding this.
>
> Thank-you!!
>
> Walid
>
> ************************************************** ************************************************** ********************
> Server Error in '/' Application.
> --------------------------------------------------------------------------------
>
> The IListSource does not contain any data sources.
> 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.Web.HttpException: The IListSource does not
> contain any data sources.
>
> 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:
>
> [HttpException (0x80004005): The IListSource does not contain any data
> sources.]
> System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
> String dataMember) +376
> System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
> System.Web.UI.Control.DataBind() +26
> T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +739
> ************************************************** **********
> ************************************************** **********
>
>



 
Reply With Quote
 
 
 
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-13-2007
Thank-you for replying!
I am very new to .NET and programming, very new How can I trace my
code? What more information can I provide to get some more help? Your
assistance is much appreciated.

Walid

"OZI" wrote:

> Did you trace your code and see where it is failing
> somehow your data binding is failing, you are not getting data or something.
> Limited info given.
>
> OZI
>
>
> "Walid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hello:
> >
> > I have migrated a site from IIS5 to IIS6. The site is configured and the
> > we
> > app is installed on the new IIS site. I can get to the web page but when
> > I
> > try to login, this is what I get the following error below. I would
> > appreciate any insight, direction or help regarding this.
> >
> > Thank-you!!
> >
> > Walid
> >
> > ************************************************** ************************************************** ********************
> > Server Error in '/' Application.
> > --------------------------------------------------------------------------------
> >
> > The IListSource does not contain any data sources.
> > 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.Web.HttpException: The IListSource does not
> > contain any data sources.
> >
> > 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:
> >
> > [HttpException (0x80004005): The IListSource does not contain any data
> > sources.]
> > System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object dataSource,
> > String dataMember) +376
> > System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
> > System.Web.UI.Control.DataBind() +26
> > T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
> > System.Web.UI.Control.OnLoad(EventArgs e) +67
> > System.Web.UI.Control.LoadRecursive() +35
> > System.Web.UI.Page.ProcessRequestMain() +739
> > ************************************************** **********
> > ************************************************** **********
> >
> >

>
>
>

 
Reply With Quote
 
OZI
Guest
Posts: n/a
 
      09-13-2007
Simply put,

set a BreakPoint ( need be in Debugging mode and not in Release Mode) in
your Page_Load event handler. Read about debugging and how to set a
breakpoint if you don't know how.
use F11 to step through the code line by line, to narrow down where the
error is occurring.
use F10 to step over etc...

I am assuming you are getting some data from a database to authenticate the
user etc..
check if you are getting any data back if you expecting data back.
You said that things break after you try to login, are you being
authenticated?

Without seeing any code it is very difficult to help you out.


OZI




"Walid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank-you for replying!
> I am very new to .NET and programming, very new How can I trace my
> code? What more information can I provide to get some more help? Your
> assistance is much appreciated.
>
> Walid
>
> "OZI" wrote:
>
>> Did you trace your code and see where it is failing
>> somehow your data binding is failing, you are not getting data or
>> something.
>> Limited info given.
>>
>> OZI
>>
>>
>> "Walid" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hello:
>> >
>> > I have migrated a site from IIS5 to IIS6. The site is configured and
>> > the
>> > we
>> > app is installed on the new IIS site. I can get to the web page but
>> > when
>> > I
>> > try to login, this is what I get the following error below. I would
>> > appreciate any insight, direction or help regarding this.
>> >
>> > Thank-you!!
>> >
>> > Walid
>> >
>> > ************************************************** ************************************************** ********************
>> > Server Error in '/' Application.
>> > --------------------------------------------------------------------------------
>> >
>> > The IListSource does not contain any data sources.
>> > 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.Web.HttpException: The IListSource does not
>> > contain any data sources.
>> >
>> > 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:
>> >
>> > [HttpException (0x80004005): The IListSource does not contain any data
>> > sources.]
>> > System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object
>> > dataSource,
>> > String dataMember) +376
>> > System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
>> > System.Web.UI.Control.DataBind() +26
>> > T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
>> > System.Web.UI.Control.OnLoad(EventArgs e) +67
>> > System.Web.UI.Control.LoadRecursive() +35
>> > System.Web.UI.Page.ProcessRequestMain() +739
>> > ************************************************** **********
>> > ************************************************** **********
>> >
>> >

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-13-2007
Ozi,
Here is the code:

<%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>StartPage</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<script language="JavaScript">
<!--
/***********************************************
* Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for this script and 100's more.
***********************************************/
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight < screen.availHeight||top.window.outerWidth <
screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//This code maximizes window-->
</script>
<script language="JavaScript">
<!--Hide
function CountryNotInit(form)
{
form.AppendixDownList.options[0].selected = true;
form.QueryDownList1.options[0].selected = true;
}

function AppendixNotInit(form)
{
form.CountryDropDownList1.options[0].selected = true;
form.QueryDownList1.options[0].selected = true;
}
function QueryNotInit(form)
{
form.CountryDropDownList1.options[0].selected = true;
form.AppendixDownList.options[0].selected = true;
//ShowQueryControls(form);
}

//function ShowQueryControls(form)
//{
// document.Form1.ddlTest.style.visibility="hidden";
// form.ddlTest.style.visibility="hidden";
//}

function RedirectToNewWindow()
{
var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';

if (document.Form1.CountryDropDownList1.options[0].selected == false)
{
window.open("NewWindowRedirector.aspx?CID=" +
document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
return;
}
if (document.Form1.AppendixDownList.options[0].selected == false)
{
window.open("NewWindowRedirector.aspx?AID=" +
document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
return;
}
if (document.Form1.QueryDownList1.options[0].selected == false)
{
window.open("NewWindowRedirector.aspx?QID=" +
document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
return;
}
}

// End Hide --->
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
<TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
TOP: 248px; HEIGHT: 208px"
width="100%" border="0">
<TR>
<TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
<DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
ms_positioning="GridLayout">
<asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
56px; POSITION: absolute; TOP: 32px"
tabIndex="6" runat="server"
OnSelectedIndexChanged="ChangeAppendixItem"
onChange="AppendixNotInit(this.form);"
AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
Font-Size="XX-Small">
<asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
<asp:ListItem Value="2">Appendix 2 (Gateway International Service
Center/Exchange Office Country Distribution Listing)</asp:ListItem>
<asp:ListItem Value="3">Appendix 3 (International Service
Centers/Exchange Offices)</asp:ListItem>
<asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
Code List)</asp:ListItem>
<asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
</asp:dropdownlist>
<asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
336px; POSITION: absolute; TOP: 8px"
tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
onChange="QueryNotInit(this.form);"
AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
Font-Size="XX-Small">
<asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
<asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
<asp:ListItem Value="2">Variation in Routing
Restrictions</asp:ListItem>
<asp:ListItem Value="3">Countries Not Honoring a Specific Mail
Type</asp:ListItem>
<asp:ListItem Value="4">Services Available for a
Country</asp:ListItem>
</asp:dropdownlist>
<asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
POSITION: absolute; TOP: 32px"
onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
BackColor="White" Height="21px"
Font-Size="XX-Small" Font-Bold="True" Text="Submit"
ForeColor="OrangeRed" Font-Names="Arial"
Visible="False"></asp:button><a href="#"
onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106; LEFT:
664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
type="button" value="Submit"></a>
<asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
LEFT: 16px; POSITION: absolute; TOP: 8px"
tabIndex="5" runat="server"
OnSelectedIndexChanged="ChangeCountryItem"
onChange="CountryNotInit(this.form);"
Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
BackColor="White" Height="32px"
Font-Size="XX-Small">
<asp:ListItem Value="0" Selected="True">SELECT A
COUNTRY</asp:ListItem>
</asp:dropdownlist></DIV>
<DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
ms_positioning="GridLayout">
<asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
POSITION: absolute; TOP: 8px"
runat="server" Font-Size="X-Small" Font-Names="Arial"
Font-Bold="True" Target="_blank"
NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
<asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
POSITION: absolute; TOP: 8px"
runat="server" Font-Size="X-Small" Font-Names="Arial"
Font-Bold="True" Target="_blank"
NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
<asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
POSITION: absolute; TOP: 8px"
runat="server" Font-Size="X-Small" Font-Names="Arial"
Font-Bold="True" NavigateUrl="(E-Mail Removed)"
Target="_blank">Feedback</asp:HyperLink></DIV>
<DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
ms_positioning="FlowLayout"><FONT face="Arial" size="1">
Click Subscribe to notification for receiving a daily/weekly/monthly
summary of
changes to the country pages and appendices.</FONT></DIV>
<br>
<DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
Print to print a selection of country pages.</FONT></DIV>
</TD>
</TR>
</TABLE>
<asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
absolute; TOP: 16px" onclick="butTrace_click"
runat="server" Font-Size="XX-Small" Height="18px"
BackColor="MidnightBlue" Visible="False"
ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
turn trace on or off"
BorderColor="White"></asp:button>
<TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD style="HEIGHT: 22px" vAlign="middle" align="center">
<asp:Label id="lblHeading" runat="server" Font-Size="Large"
ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
</TR>
<TR>
<TD vAlign="middle" align="center">
<asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
Font-Bold="True" Height="16px"
Width="100%"></asp:Label></TD>
</TR>
<TR>
</TR>
</TABLE>
</form>
<!--Removed from QueryDropDownList -->
<!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
<!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
</body>
</HTML>


"OZI" wrote:

> Simply put,
>
> set a BreakPoint ( need be in Debugging mode and not in Release Mode) in
> your Page_Load event handler. Read about debugging and how to set a
> breakpoint if you don't know how.
> use F11 to step through the code line by line, to narrow down where the
> error is occurring.
> use F10 to step over etc...
>
> I am assuming you are getting some data from a database to authenticate the
> user etc..
> check if you are getting any data back if you expecting data back.
> You said that things break after you try to login, are you being
> authenticated?
>
> Without seeing any code it is very difficult to help you out.
>
>
> OZI
>
>
>
>
> "Walid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thank-you for replying!
> > I am very new to .NET and programming, very new How can I trace my
> > code? What more information can I provide to get some more help? Your
> > assistance is much appreciated.
> >
> > Walid
> >
> > "OZI" wrote:
> >
> >> Did you trace your code and see where it is failing
> >> somehow your data binding is failing, you are not getting data or
> >> something.
> >> Limited info given.
> >>
> >> OZI
> >>
> >>
> >> "Walid" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Hello:
> >> >
> >> > I have migrated a site from IIS5 to IIS6. The site is configured and
> >> > the
> >> > we
> >> > app is installed on the new IIS site. I can get to the web page but
> >> > when
> >> > I
> >> > try to login, this is what I get the following error below. I would
> >> > appreciate any insight, direction or help regarding this.
> >> >
> >> > Thank-you!!
> >> >
> >> > Walid
> >> >
> >> > ************************************************** ************************************************** ********************
> >> > Server Error in '/' Application.
> >> > --------------------------------------------------------------------------------
> >> >
> >> > The IListSource does not contain any data sources.
> >> > 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.Web.HttpException: The IListSource does not
> >> > contain any data sources.
> >> >
> >> > 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:
> >> >
> >> > [HttpException (0x80004005): The IListSource does not contain any data
> >> > sources.]
> >> > System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object
> >> > dataSource,
> >> > String dataMember) +376
> >> > System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e) +75
> >> > System.Web.UI.Control.DataBind() +26
> >> > T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
> >> > System.Web.UI.Control.OnLoad(EventArgs e) +67
> >> > System.Web.UI.Control.LoadRecursive() +35
> >> > System.Web.UI.Page.ProcessRequestMain() +739
> >> > ************************************************** **********
> >> > ************************************************** **********
> >> >
> >> >
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
OZI
Guest
Posts: n/a
 
      09-13-2007
Walid,

This is the markup with JavaScript,

do you have any code behind?
after your login where are you redirected to what page.
in that page place a break point and trace.

OZI.


"Walid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ozi,
> Here is the code:
>
> <%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx" %>
> <%@ Page Language="vb" AutoEventWireup="false"
> Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>StartPage</title>
> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> <meta name="vs_defaultClientScript" content="JavaScript">
> <meta name="vs_targetSchema"
> content="http://schemas.microsoft.com/intellisense/ie5">
> <script language="JavaScript">
> <!--
> /***********************************************
> * Auto Maximize Window Script- Dynamic Drive (www.dynamicdrive.com)
> * This notice must stay intact for use
> * Visit http://www.dynamicdrive.com/ for this script and 100's more.
> ***********************************************/
> top.window.moveTo(0,0);
> if (document.all) {
> top.window.resizeTo(screen.availWidth,screen.avail Height);
> }
> else if (document.layers||document.getElementById) {
> if (top.window.outerHeight < screen.availHeight||top.window.outerWidth <
> screen.availWidth){
> top.window.outerHeight = screen.availHeight;
> top.window.outerWidth = screen.availWidth;
> }
> }
> //This code maximizes window-->
> </script>
> <script language="JavaScript">
> <!--Hide
> function CountryNotInit(form)
> {
> form.AppendixDownList.options[0].selected = true;
> form.QueryDownList1.options[0].selected = true;
> }
>
> function AppendixNotInit(form)
> {
> form.CountryDropDownList1.options[0].selected = true;
> form.QueryDownList1.options[0].selected = true;
> }
> function QueryNotInit(form)
> {
> form.CountryDropDownList1.options[0].selected = true;
> form.AppendixDownList.options[0].selected = true;
> //ShowQueryControls(form);
> }
>
> //function ShowQueryControls(form)
> //{
> // document.Form1.ddlTest.style.visibility="hidden";
> // form.ddlTest.style.visibility="hidden";
> //}
>
> function RedirectToNewWindow()
> {
> var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
> ',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';
>
> if (document.Form1.CountryDropDownList1.options[0].selected == false)
> {
> window.open("NewWindowRedirector.aspx?CID=" +
> document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
> return;
> }
> if (document.Form1.AppendixDownList.options[0].selected == false)
> {
> window.open("NewWindowRedirector.aspx?AID=" +
> document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
> return;
> }
> if (document.Form1.QueryDownList1.options[0].selected == false)
> {
> window.open("NewWindowRedirector.aspx?QID=" +
> document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
> return;
> }
> }
>
> // End Hide --->
> </script>
> </HEAD>
> <body MS_POSITIONING="GridLayout">
> <form id="Form1" method="post" runat="server">
> <uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
> <TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
> TOP: 248px; HEIGHT: 208px"
> width="100%" border="0">
> <TR>
> <TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
> <DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
> ms_positioning="GridLayout">
> <asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
> 56px; POSITION: absolute; TOP: 32px"
> tabIndex="6" runat="server"
> OnSelectedIndexChanged="ChangeAppendixItem"
> onChange="AppendixNotInit(this.form);"
> AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
> Font-Size="XX-Small">
> <asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
> <asp:ListItem Value="2">Appendix 2 (Gateway International Service
> Center/Exchange Office Country Distribution Listing)</asp:ListItem>
> <asp:ListItem Value="3">Appendix 3 (International Service
> Centers/Exchange Offices)</asp:ListItem>
> <asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
> Code List)</asp:ListItem>
> <asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
> </asp:dropdownlist>
> <asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
> 336px; POSITION: absolute; TOP: 8px"
> tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
> onChange="QueryNotInit(this.form);"
> AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
> Font-Size="XX-Small">
> <asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
> <asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
> <asp:ListItem Value="2">Variation in Routing
> Restrictions</asp:ListItem>
> <asp:ListItem Value="3">Countries Not Honoring a Specific Mail
> Type</asp:ListItem>
> <asp:ListItem Value="4">Services Available for a
> Country</asp:ListItem>
> </asp:dropdownlist>
> <asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
> POSITION: absolute; TOP: 32px"
> onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
> BackColor="White" Height="21px"
> Font-Size="XX-Small" Font-Bold="True" Text="Submit"
> ForeColor="OrangeRed" Font-Names="Arial"
> Visible="False"></asp:button><a href="#"
> onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106;
> LEFT:
> 664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
> type="button" value="Submit"></a>
> <asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
> LEFT: 16px; POSITION: absolute; TOP: 8px"
> tabIndex="5" runat="server"
> OnSelectedIndexChanged="ChangeCountryItem"
> onChange="CountryNotInit(this.form);"
> Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
> BackColor="White" Height="32px"
> Font-Size="XX-Small">
> <asp:ListItem Value="0" Selected="True">SELECT A
> COUNTRY</asp:ListItem>
> </asp:dropdownlist></DIV>
> <DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
> ms_positioning="GridLayout">
> <asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
> POSITION: absolute; TOP: 8px"
> runat="server" Font-Size="X-Small" Font-Names="Arial"
> Font-Bold="True" Target="_blank"
> NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
> <asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
> POSITION: absolute; TOP: 8px"
> runat="server" Font-Size="X-Small" Font-Names="Arial"
> Font-Bold="True" Target="_blank"
> NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
> <asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
> POSITION: absolute; TOP: 8px"
> runat="server" Font-Size="X-Small" Font-Names="Arial"
> Font-Bold="True" NavigateUrl="(E-Mail Removed)"
> Target="_blank">Feedback</asp:HyperLink></DIV>
> <DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
> ms_positioning="FlowLayout"><FONT face="Arial" size="1">
> Click Subscribe to notification for receiving a daily/weekly/monthly
> summary of
> changes to the country pages and appendices.</FONT></DIV>
> <br>
> <DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
> ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
> Print to print a selection of country pages.</FONT></DIV>
> </TD>
> </TR>
> </TABLE>
> <asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
> absolute; TOP: 16px" onclick="butTrace_click"
> runat="server" Font-Size="XX-Small" Height="18px"
> BackColor="MidnightBlue" Visible="False"
> ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
> turn trace on or off"
> BorderColor="White"></asp:button>
> <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
> TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
> cellSpacing="1" cellPadding="1" width="100%" border="0">
> <TR>
> <TD style="HEIGHT: 22px" vAlign="middle" align="center">
> <asp:Label id="lblHeading" runat="server" Font-Size="Large"
> ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
> </TR>
> <TR>
> <TD vAlign="middle" align="center">
> <asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
> Font-Bold="True" Height="16px"
> Width="100%"></asp:Label></TD>
> </TR>
> <TR>
> </TR>
> </TABLE>
> </form>
> <!--Removed from QueryDropDownList -->
> <!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
> <!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
> </body>
> </HTML>
>
>
> "OZI" wrote:
>
>> Simply put,
>>
>> set a BreakPoint ( need be in Debugging mode and not in Release Mode) in
>> your Page_Load event handler. Read about debugging and how to set a
>> breakpoint if you don't know how.
>> use F11 to step through the code line by line, to narrow down where the
>> error is occurring.
>> use F10 to step over etc...
>>
>> I am assuming you are getting some data from a database to authenticate
>> the
>> user etc..
>> check if you are getting any data back if you expecting data back.
>> You said that things break after you try to login, are you being
>> authenticated?
>>
>> Without seeing any code it is very difficult to help you out.
>>
>>
>> OZI
>>
>>
>>
>>
>> "Walid" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Thank-you for replying!
>> > I am very new to .NET and programming, very new How can I trace my
>> > code? What more information can I provide to get some more help? Your
>> > assistance is much appreciated.
>> >
>> > Walid
>> >
>> > "OZI" wrote:
>> >
>> >> Did you trace your code and see where it is failing
>> >> somehow your data binding is failing, you are not getting data or
>> >> something.
>> >> Limited info given.
>> >>
>> >> OZI
>> >>
>> >>
>> >> "Walid" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Hello:
>> >> >
>> >> > I have migrated a site from IIS5 to IIS6. The site is configured
>> >> > and
>> >> > the
>> >> > we
>> >> > app is installed on the new IIS site. I can get to the web page but
>> >> > when
>> >> > I
>> >> > try to login, this is what I get the following error below. I would
>> >> > appreciate any insight, direction or help regarding this.
>> >> >
>> >> > Thank-you!!
>> >> >
>> >> > Walid
>> >> >
>> >> > ************************************************** ************************************************** ********************
>> >> > Server Error in '/' Application.
>> >> > --------------------------------------------------------------------------------
>> >> >
>> >> > The IListSource does not contain any data sources.
>> >> > 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.Web.HttpException: The IListSource does
>> >> > not
>> >> > contain any data sources.
>> >> >
>> >> > 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:
>> >> >
>> >> > [HttpException (0x80004005): The IListSource does not contain any
>> >> > data
>> >> > sources.]
>> >> > System.Web.UI.DataSourceHelper.GetResolvedDataSour ce(Object
>> >> > dataSource,
>> >> > String dataMember) +376
>> >> > System.Web.UI.WebControls.ListControl.OnDataBindin g(EventArgs e)
>> >> > +75
>> >> > System.Web.UI.Control.DataBind() +26
>> >> > T5DB.StartPage.Page_Load(Object sender, EventArgs e) +259
>> >> > System.Web.UI.Control.OnLoad(EventArgs e) +67
>> >> > System.Web.UI.Control.LoadRecursive() +35
>> >> > System.Web.UI.Page.ProcessRequestMain() +739
>> >> > ************************************************** **********
>> >> > ************************************************** **********
>> >> >
>> >> >
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-14-2007
This is the page that I get the error. When I login, I get to this page and
the error comes up. On a working server, the same page comes up after I
login.

Thanks for you help!

"OZI" wrote:

> Walid,
>
> This is the markup with JavaScript,
>
> do you have any code behind?
> after your login where are you redirected to what page.
> in that page place a break point and trace.
>
> OZI.
>
>
> "Walid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Ozi,
> > Here is the code:
> >
> > <%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx" %>
> > <%@ Page Language="vb" AutoEventWireup="false"
> > Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <title>StartPage</title>
> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="http://schemas.microsoft.com/intellisense/ie5">
> > <script language="JavaScript">
> > <!--
> > /***********************************************
> > * Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
> > * This notice must stay intact for use
> > * Visit http://www.dynamicdrive.com/ for this script and 100's more.
> > ***********************************************/
> > top.window.moveTo(0,0);
> > if (document.all) {
> > top.window.resizeTo(screen.availWidth,screen.avail Height);
> > }
> > else if (document.layers||document.getElementById) {
> > if (top.window.outerHeight < screen.availHeight||top.window.outerWidth <
> > screen.availWidth){
> > top.window.outerHeight = screen.availHeight;
> > top.window.outerWidth = screen.availWidth;
> > }
> > }
> > //This code maximizes window-->
> > </script>
> > <script language="JavaScript">
> > <!--Hide
> > function CountryNotInit(form)
> > {
> > form.AppendixDownList.options[0].selected = true;
> > form.QueryDownList1.options[0].selected = true;
> > }
> >
> > function AppendixNotInit(form)
> > {
> > form.CountryDropDownList1.options[0].selected = true;
> > form.QueryDownList1.options[0].selected = true;
> > }
> > function QueryNotInit(form)
> > {
> > form.CountryDropDownList1.options[0].selected = true;
> > form.AppendixDownList.options[0].selected = true;
> > //ShowQueryControls(form);
> > }
> >
> > //function ShowQueryControls(form)
> > //{
> > // document.Form1.ddlTest.style.visibility="hidden";
> > // form.ddlTest.style.visibility="hidden";
> > //}
> >
> > function RedirectToNewWindow()
> > {
> > var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
> > ',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';
> >
> > if (document.Form1.CountryDropDownList1.options[0].selected == false)
> > {
> > window.open("NewWindowRedirector.aspx?CID=" +
> > document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
> > return;
> > }
> > if (document.Form1.AppendixDownList.options[0].selected == false)
> > {
> > window.open("NewWindowRedirector.aspx?AID=" +
> > document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
> > return;
> > }
> > if (document.Form1.QueryDownList1.options[0].selected == false)
> > {
> > window.open("NewWindowRedirector.aspx?QID=" +
> > document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
> > return;
> > }
> > }
> >
> > // End Hide --->
> > </script>
> > </HEAD>
> > <body MS_POSITIONING="GridLayout">
> > <form id="Form1" method="post" runat="server">
> > <uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
> > <TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
> > TOP: 248px; HEIGHT: 208px"
> > width="100%" border="0">
> > <TR>
> > <TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
> > <DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
> > ms_positioning="GridLayout">
> > <asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
> > 56px; POSITION: absolute; TOP: 32px"
> > tabIndex="6" runat="server"
> > OnSelectedIndexChanged="ChangeAppendixItem"
> > onChange="AppendixNotInit(this.form);"
> > AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
> > Font-Size="XX-Small">
> > <asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
> > <asp:ListItem Value="2">Appendix 2 (Gateway International Service
> > Center/Exchange Office Country Distribution Listing)</asp:ListItem>
> > <asp:ListItem Value="3">Appendix 3 (International Service
> > Centers/Exchange Offices)</asp:ListItem>
> > <asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
> > Code List)</asp:ListItem>
> > <asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
> > </asp:dropdownlist>
> > <asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
> > 336px; POSITION: absolute; TOP: 8px"
> > tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
> > onChange="QueryNotInit(this.form);"
> > AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
> > Font-Size="XX-Small">
> > <asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
> > <asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
> > <asp:ListItem Value="2">Variation in Routing
> > Restrictions</asp:ListItem>
> > <asp:ListItem Value="3">Countries Not Honoring a Specific Mail
> > Type</asp:ListItem>
> > <asp:ListItem Value="4">Services Available for a
> > Country</asp:ListItem>
> > </asp:dropdownlist>
> > <asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
> > POSITION: absolute; TOP: 32px"
> > onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
> > BackColor="White" Height="21px"
> > Font-Size="XX-Small" Font-Bold="True" Text="Submit"
> > ForeColor="OrangeRed" Font-Names="Arial"
> > Visible="False"></asp:button><a href="#"
> > onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106;
> > LEFT:
> > 664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
> > type="button" value="Submit"></a>
> > <asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
> > LEFT: 16px; POSITION: absolute; TOP: 8px"
> > tabIndex="5" runat="server"
> > OnSelectedIndexChanged="ChangeCountryItem"
> > onChange="CountryNotInit(this.form);"
> > Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
> > BackColor="White" Height="32px"
> > Font-Size="XX-Small">
> > <asp:ListItem Value="0" Selected="True">SELECT A
> > COUNTRY</asp:ListItem>
> > </asp:dropdownlist></DIV>
> > <DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
> > ms_positioning="GridLayout">
> > <asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
> > POSITION: absolute; TOP: 8px"
> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> > Font-Bold="True" Target="_blank"
> > NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
> > <asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
> > POSITION: absolute; TOP: 8px"
> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> > Font-Bold="True" Target="_blank"
> > NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
> > <asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
> > POSITION: absolute; TOP: 8px"
> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> > Font-Bold="True" NavigateUrl="(E-Mail Removed)"
> > Target="_blank">Feedback</asp:HyperLink></DIV>
> > <DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">
> > Click Subscribe to notification for receiving a daily/weekly/monthly
> > summary of
> > changes to the country pages and appendices.</FONT></DIV>
> > <br>
> > <DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
> > Print to print a selection of country pages.</FONT></DIV>
> > </TD>
> > </TR>
> > </TABLE>
> > <asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
> > absolute; TOP: 16px" onclick="butTrace_click"
> > runat="server" Font-Size="XX-Small" Height="18px"
> > BackColor="MidnightBlue" Visible="False"
> > ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
> > turn trace on or off"
> > BorderColor="White"></asp:button>
> > <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
> > TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
> > cellSpacing="1" cellPadding="1" width="100%" border="0">
> > <TR>
> > <TD style="HEIGHT: 22px" vAlign="middle" align="center">
> > <asp:Label id="lblHeading" runat="server" Font-Size="Large"
> > ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
> > </TR>
> > <TR>
> > <TD vAlign="middle" align="center">
> > <asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
> > Font-Bold="True" Height="16px"
> > Width="100%"></asp:Label></TD>
> > </TR>
> > <TR>
> > </TR>
> > </TABLE>
> > </form>
> > <!--Removed from QueryDropDownList -->
> > <!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
> > <!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
> > </body>
> > </HTML>
> >
> >
> > "OZI" wrote:
> >
> >> Simply put,
> >>
> >> set a BreakPoint ( need be in Debugging mode and not in Release Mode) in
> >> your Page_Load event handler. Read about debugging and how to set a
> >> breakpoint if you don't know how.
> >> use F11 to step through the code line by line, to narrow down where the
> >> error is occurring.
> >> use F10 to step over etc...
> >>
> >> I am assuming you are getting some data from a database to authenticate
> >> the
> >> user etc..
> >> check if you are getting any data back if you expecting data back.
> >> You said that things break after you try to login, are you being
> >> authenticated?
> >>
> >> Without seeing any code it is very difficult to help you out.
> >>
> >>
> >> OZI
> >>
> >>
> >>
> >>
> >> "Walid" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Thank-you for replying!
> >> > I am very new to .NET and programming, very new How can I trace my
> >> > code? What more information can I provide to get some more help? Your
> >> > assistance is much appreciated.
> >> >
> >> > Walid
> >> >
> >> > "OZI" wrote:
> >> >
> >> >> Did you trace your code and see where it is failing
> >> >> somehow your data binding is failing, you are not getting data or
> >> >> something.
> >> >> Limited info given.
> >> >>
> >> >> OZI
> >> >>
> >> >>
> >> >> "Walid" <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Hello:
> >> >> >
> >> >> > I have migrated a site from IIS5 to IIS6. The site is configured
> >> >> > and
> >> >> > the
> >> >> > we
> >> >> > app is installed on the new IIS site. I can get to the web page but
> >> >> > when
> >> >> > I
> >> >> > try to login, this is what I get the following error below. I would
> >> >> > appreciate any insight, direction or help regarding this.
> >> >> >
> >> >> > Thank-you!!
> >> >> >
> >> >> > Walid
> >> >> >
> >> >> > ************************************************** ************************************************** ********************
> >> >> > Server Error in '/' Application.
> >> >> > --------------------------------------------------------------------------------
> >> >> >
> >> >> > The IListSource does not contain any data sources.
> >> >> > 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.

 
Reply With Quote
 
OZI
Guest
Posts: n/a
 
      09-14-2007
Where is the code behind on this page? Do you have any?
are you accessing a DATABASE?

OZI


"Walid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This is the page that I get the error. When I login, I get to this page
> and
> the error comes up. On a working server, the same page comes up after I
> login.
>
> Thanks for you help!
>
> "OZI" wrote:
>
>> Walid,
>>
>> This is the markup with JavaScript,
>>
>> do you have any code behind?
>> after your login where are you redirected to what page.
>> in that page place a break point and trace.
>>
>> OZI.
>>
>>
>> "Walid" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Ozi,
>> > Here is the code:
>> >
>> > <%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx"
>> > %>
>> > <%@ Page Language="vb" AutoEventWireup="false"
>> > Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
>> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> > <HTML>
>> > <HEAD>
>> > <title>StartPage</title>
>> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
>> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
>> > <meta name="vs_defaultClientScript" content="JavaScript">
>> > <meta name="vs_targetSchema"
>> > content="http://schemas.microsoft.com/intellisense/ie5">
>> > <script language="JavaScript">
>> > <!--
>> > /***********************************************
>> > * Auto Maximize Window Script- Dynamic Drive (www.dynamicdrive.com)
>> > * This notice must stay intact for use
>> > * Visit http://www.dynamicdrive.com/ for this script and 100's more.
>> > ***********************************************/
>> > top.window.moveTo(0,0);
>> > if (document.all) {
>> > top.window.resizeTo(screen.availWidth,screen.avail Height);
>> > }
>> > else if (document.layers||document.getElementById) {
>> > if (top.window.outerHeight < screen.availHeight||top.window.outerWidth
>> > <
>> > screen.availWidth){
>> > top.window.outerHeight = screen.availHeight;
>> > top.window.outerWidth = screen.availWidth;
>> > }
>> > }
>> > //This code maximizes window-->
>> > </script>
>> > <script language="JavaScript">
>> > <!--Hide
>> > function CountryNotInit(form)
>> > {
>> > form.AppendixDownList.options[0].selected = true;
>> > form.QueryDownList1.options[0].selected = true;
>> > }
>> >
>> > function AppendixNotInit(form)
>> > {
>> > form.CountryDropDownList1.options[0].selected = true;
>> > form.QueryDownList1.options[0].selected = true;
>> > }
>> > function QueryNotInit(form)
>> > {
>> > form.CountryDropDownList1.options[0].selected = true;
>> > form.AppendixDownList.options[0].selected = true;
>> > //ShowQueryControls(form);
>> > }
>> >
>> > //function ShowQueryControls(form)
>> > //{
>> > // document.Form1.ddlTest.style.visibility="hidden";
>> > // form.ddlTest.style.visibility="hidden";
>> > //}
>> >
>> > function RedirectToNewWindow()
>> > {
>> > var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
>> > ',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';
>> >
>> > if (document.Form1.CountryDropDownList1.options[0].selected == false)
>> > {
>> > window.open("NewWindowRedirector.aspx?CID=" +
>> > document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
>> > return;
>> > }
>> > if (document.Form1.AppendixDownList.options[0].selected == false)
>> > {
>> > window.open("NewWindowRedirector.aspx?AID=" +
>> > document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
>> > return;
>> > }
>> > if (document.Form1.QueryDownList1.options[0].selected == false)
>> > {
>> > window.open("NewWindowRedirector.aspx?QID=" +
>> > document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
>> > return;
>> > }
>> > }
>> >
>> > // End Hide --->
>> > </script>
>> > </HEAD>
>> > <body MS_POSITIONING="GridLayout">
>> > <form id="Form1" method="post" runat="server">
>> > <uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
>> > <TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
>> > TOP: 248px; HEIGHT: 208px"
>> > width="100%" border="0">
>> > <TR>
>> > <TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
>> > <DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
>> > ms_positioning="GridLayout">
>> > <asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
>> > 56px; POSITION: absolute; TOP: 32px"
>> > tabIndex="6" runat="server"
>> > OnSelectedIndexChanged="ChangeAppendixItem"
>> > onChange="AppendixNotInit(this.form);"
>> > AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
>> > Font-Size="XX-Small">
>> > <asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
>> > <asp:ListItem Value="2">Appendix 2 (Gateway International Service
>> > Center/Exchange Office Country Distribution Listing)</asp:ListItem>
>> > <asp:ListItem Value="3">Appendix 3 (International Service
>> > Centers/Exchange Offices)</asp:ListItem>
>> > <asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
>> > Code List)</asp:ListItem>
>> > <asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
>> > </asp:dropdownlist>
>> > <asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
>> > 336px; POSITION: absolute; TOP: 8px"
>> > tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
>> > onChange="QueryNotInit(this.form);"
>> > AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
>> > Font-Size="XX-Small">
>> > <asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
>> > <asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
>> > <asp:ListItem Value="2">Variation in Routing
>> > Restrictions</asp:ListItem>
>> > <asp:ListItem Value="3">Countries Not Honoring a Specific Mail
>> > Type</asp:ListItem>
>> > <asp:ListItem Value="4">Services Available for a
>> > Country</asp:ListItem>
>> > </asp:dropdownlist>
>> > <asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
>> > POSITION: absolute; TOP: 32px"
>> > onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
>> > BackColor="White" Height="21px"
>> > Font-Size="XX-Small" Font-Bold="True" Text="Submit"
>> > ForeColor="OrangeRed" Font-Names="Arial"
>> > Visible="False"></asp:button><a href="#"
>> > onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106;
>> > LEFT:
>> > 664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
>> > type="button" value="Submit"></a>
>> > <asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
>> > LEFT: 16px; POSITION: absolute; TOP: 8px"
>> > tabIndex="5" runat="server"
>> > OnSelectedIndexChanged="ChangeCountryItem"
>> > onChange="CountryNotInit(this.form);"
>> > Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
>> > BackColor="White" Height="32px"
>> > Font-Size="XX-Small">
>> > <asp:ListItem Value="0" Selected="True">SELECT A
>> > COUNTRY</asp:ListItem>
>> > </asp:dropdownlist></DIV>
>> > <DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
>> > ms_positioning="GridLayout">
>> > <asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
>> > POSITION: absolute; TOP: 8px"
>> > runat="server" Font-Size="X-Small" Font-Names="Arial"
>> > Font-Bold="True" Target="_blank"
>> > NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
>> > <asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
>> > POSITION: absolute; TOP: 8px"
>> > runat="server" Font-Size="X-Small" Font-Names="Arial"
>> > Font-Bold="True" Target="_blank"
>> > NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
>> > <asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
>> > POSITION: absolute; TOP: 8px"
>> > runat="server" Font-Size="X-Small" Font-Names="Arial"
>> > Font-Bold="True" NavigateUrl="(E-Mail Removed)"
>> > Target="_blank">Feedback</asp:HyperLink></DIV>
>> > <DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
>> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">
>> > Click Subscribe to notification for receiving a daily/weekly/monthly
>> > summary of
>> > changes to the country pages and appendices.</FONT></DIV>
>> > <br>
>> > <DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
>> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
>> > Print to print a selection of country pages.</FONT></DIV>
>> > </TD>
>> > </TR>
>> > </TABLE>
>> > <asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
>> > absolute; TOP: 16px" onclick="butTrace_click"
>> > runat="server" Font-Size="XX-Small" Height="18px"
>> > BackColor="MidnightBlue" Visible="False"
>> > ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
>> > turn trace on or off"
>> > BorderColor="White"></asp:button>
>> > <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
>> > TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
>> > cellSpacing="1" cellPadding="1" width="100%" border="0">
>> > <TR>
>> > <TD style="HEIGHT: 22px" vAlign="middle" align="center">
>> > <asp:Label id="lblHeading" runat="server" Font-Size="Large"
>> > ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
>> > </TR>
>> > <TR>
>> > <TD vAlign="middle" align="center">
>> > <asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
>> > Font-Bold="True" Height="16px"
>> > Width="100%"></asp:Label></TD>
>> > </TR>
>> > <TR>
>> > </TR>
>> > </TABLE>
>> > </form>
>> > <!--Removed from QueryDropDownList -->
>> > <!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
>> > <!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
>> > </body>
>> > </HTML>
>> >
>> >
>> > "OZI" wrote:
>> >
>> >> Simply put,
>> >>
>> >> set a BreakPoint ( need be in Debugging mode and not in Release Mode)
>> >> in
>> >> your Page_Load event handler. Read about debugging and how to set a
>> >> breakpoint if you don't know how.
>> >> use F11 to step through the code line by line, to narrow down where
>> >> the
>> >> error is occurring.
>> >> use F10 to step over etc...
>> >>
>> >> I am assuming you are getting some data from a database to
>> >> authenticate
>> >> the
>> >> user etc..
>> >> check if you are getting any data back if you expecting data back.
>> >> You said that things break after you try to login, are you being
>> >> authenticated?
>> >>
>> >> Without seeing any code it is very difficult to help you out.
>> >>
>> >>
>> >> OZI
>> >>
>> >>
>> >>
>> >>
>> >> "Walid" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Thank-you for replying!
>> >> > I am very new to .NET and programming, very new How can I trace
>> >> > my
>> >> > code? What more information can I provide to get some more help?
>> >> > Your
>> >> > assistance is much appreciated.
>> >> >
>> >> > Walid
>> >> >
>> >> > "OZI" wrote:
>> >> >
>> >> >> Did you trace your code and see where it is failing
>> >> >> somehow your data binding is failing, you are not getting data or
>> >> >> something.
>> >> >> Limited info given.
>> >> >>
>> >> >> OZI
>> >> >>
>> >> >>
>> >> >> "Walid" <(E-Mail Removed)> wrote in message
>> >> >> news:(E-Mail Removed)...
>> >> >> > Hello:
>> >> >> >
>> >> >> > I have migrated a site from IIS5 to IIS6. The site is configured
>> >> >> > and
>> >> >> > the
>> >> >> > we
>> >> >> > app is installed on the new IIS site. I can get to the web page
>> >> >> > but
>> >> >> > when
>> >> >> > I
>> >> >> > try to login, this is what I get the following error below. I
>> >> >> > would
>> >> >> > appreciate any insight, direction or help regarding this.
>> >> >> >
>> >> >> > Thank-you!!
>> >> >> >
>> >> >> > Walid
>> >> >> >
>> >> >> > ************************************************** ************************************************** ********************
>> >> >> > Server Error in '/' Application.
>> >> >> > --------------------------------------------------------------------------------
>> >> >> >
>> >> >> > The IListSource does not contain any data sources.
>> >> >> > 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.



 
Reply With Quote
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-14-2007
Ozi,

Yes, the application is accessing a SQL database which I believe is defined
within the code (I believe it is defiend in the web config file). I don't
know what you mean the code behind this page. I thought what I sent you is
the code. How can I find where the code behind this page is?

Thanks for your patience!



"OZI" wrote:

> Where is the code behind on this page? Do you have any?
> are you accessing a DATABASE?
>
> OZI
>
>
> "Walid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > This is the page that I get the error. When I login, I get to this page
> > and
> > the error comes up. On a working server, the same page comes up after I
> > login.
> >
> > Thanks for you help!
> >
> > "OZI" wrote:
> >
> >> Walid,
> >>
> >> This is the markup with JavaScript,
> >>
> >> do you have any code behind?
> >> after your login where are you redirected to what page.
> >> in that page place a break point and trace.
> >>
> >> OZI.
> >>
> >>
> >> "Walid" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Ozi,
> >> > Here is the code:
> >> >
> >> > <%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx"
> >> > %>
> >> > <%@ Page Language="vb" AutoEventWireup="false"
> >> > Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
> >> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> >> > <HTML>
> >> > <HEAD>
> >> > <title>StartPage</title>
> >> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> >> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> >> > <meta name="vs_defaultClientScript" content="JavaScript">
> >> > <meta name="vs_targetSchema"
> >> > content="http://schemas.microsoft.com/intellisense/ie5">
> >> > <script language="JavaScript">
> >> > <!--
> >> > /***********************************************
> >> > * Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
> >> > * This notice must stay intact for use
> >> > * Visit http://www.dynamicdrive.com/ for this script and 100's more.
> >> > ***********************************************/
> >> > top.window.moveTo(0,0);
> >> > if (document.all) {
> >> > top.window.resizeTo(screen.availWidth,screen.avail Height);
> >> > }
> >> > else if (document.layers||document.getElementById) {
> >> > if (top.window.outerHeight < screen.availHeight||top.window.outerWidth
> >> > <
> >> > screen.availWidth){
> >> > top.window.outerHeight = screen.availHeight;
> >> > top.window.outerWidth = screen.availWidth;
> >> > }
> >> > }
> >> > //This code maximizes window-->
> >> > </script>
> >> > <script language="JavaScript">
> >> > <!--Hide
> >> > function CountryNotInit(form)
> >> > {
> >> > form.AppendixDownList.options[0].selected = true;
> >> > form.QueryDownList1.options[0].selected = true;
> >> > }
> >> >
> >> > function AppendixNotInit(form)
> >> > {
> >> > form.CountryDropDownList1.options[0].selected = true;
> >> > form.QueryDownList1.options[0].selected = true;
> >> > }
> >> > function QueryNotInit(form)
> >> > {
> >> > form.CountryDropDownList1.options[0].selected = true;
> >> > form.AppendixDownList.options[0].selected = true;
> >> > //ShowQueryControls(form);
> >> > }
> >> >
> >> > //function ShowQueryControls(form)
> >> > //{
> >> > // document.Form1.ddlTest.style.visibility="hidden";
> >> > // form.ddlTest.style.visibility="hidden";
> >> > //}
> >> >
> >> > function RedirectToNewWindow()
> >> > {
> >> > var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
> >> > ',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';
> >> >
> >> > if (document.Form1.CountryDropDownList1.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?CID=" +
> >> > document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > if (document.Form1.AppendixDownList.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?AID=" +
> >> > document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > if (document.Form1.QueryDownList1.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?QID=" +
> >> > document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > }
> >> >
> >> > // End Hide --->
> >> > </script>
> >> > </HEAD>
> >> > <body MS_POSITIONING="GridLayout">
> >> > <form id="Form1" method="post" runat="server">
> >> > <uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
> >> > <TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
> >> > TOP: 248px; HEIGHT: 208px"
> >> > width="100%" border="0">
> >> > <TR>
> >> > <TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
> >> > <DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
> >> > ms_positioning="GridLayout">
> >> > <asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
> >> > 56px; POSITION: absolute; TOP: 32px"
> >> > tabIndex="6" runat="server"
> >> > OnSelectedIndexChanged="ChangeAppendixItem"
> >> > onChange="AppendixNotInit(this.form);"
> >> > AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
> >> > <asp:ListItem Value="2">Appendix 2 (Gateway International Service
> >> > Center/Exchange Office Country Distribution Listing)</asp:ListItem>
> >> > <asp:ListItem Value="3">Appendix 3 (International Service
> >> > Centers/Exchange Offices)</asp:ListItem>
> >> > <asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
> >> > Code List)</asp:ListItem>
> >> > <asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
> >> > </asp:dropdownlist>
> >> > <asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
> >> > 336px; POSITION: absolute; TOP: 8px"
> >> > tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
> >> > onChange="QueryNotInit(this.form);"
> >> > AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
> >> > <asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
> >> > <asp:ListItem Value="2">Variation in Routing
> >> > Restrictions</asp:ListItem>
> >> > <asp:ListItem Value="3">Countries Not Honoring a Specific Mail
> >> > Type</asp:ListItem>
> >> > <asp:ListItem Value="4">Services Available for a
> >> > Country</asp:ListItem>
> >> > </asp:dropdownlist>
> >> > <asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
> >> > POSITION: absolute; TOP: 32px"
> >> > onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
> >> > BackColor="White" Height="21px"
> >> > Font-Size="XX-Small" Font-Bold="True" Text="Submit"
> >> > ForeColor="OrangeRed" Font-Names="Arial"
> >> > Visible="False"></asp:button><a href="#"
> >> > onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106;
> >> > LEFT:
> >> > 664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
> >> > type="button" value="Submit"></a>
> >> > <asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
> >> > LEFT: 16px; POSITION: absolute; TOP: 8px"
> >> > tabIndex="5" runat="server"
> >> > OnSelectedIndexChanged="ChangeCountryItem"
> >> > onChange="CountryNotInit(this.form);"
> >> > Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
> >> > BackColor="White" Height="32px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0" Selected="True">SELECT A
> >> > COUNTRY</asp:ListItem>
> >> > </asp:dropdownlist></DIV>
> >> > <DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
> >> > ms_positioning="GridLayout">
> >> > <asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" Target="_blank"
> >> > NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
> >> > <asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" Target="_blank"
> >> > NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
> >> > <asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" NavigateUrl="(E-Mail Removed)"
> >> > Target="_blank">Feedback</asp:HyperLink></DIV>
> >> > <DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
> >> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">
> >> > Click Subscribe to notification for receiving a daily/weekly/monthly
> >> > summary of
> >> > changes to the country pages and appendices.</FONT></DIV>
> >> > <br>
> >> > <DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
> >> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
> >> > Print to print a selection of country pages.</FONT></DIV>
> >> > </TD>
> >> > </TR>
> >> > </TABLE>
> >> > <asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
> >> > absolute; TOP: 16px" onclick="butTrace_click"
> >> > runat="server" Font-Size="XX-Small" Height="18px"
> >> > BackColor="MidnightBlue" Visible="False"
> >> > ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
> >> > turn trace on or off"
> >> > BorderColor="White"></asp:button>
> >> > <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
> >> > TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
> >> > cellSpacing="1" cellPadding="1" width="100%" border="0">
> >> > <TR>
> >> > <TD style="HEIGHT: 22px" vAlign="middle" align="center">
> >> > <asp:Label id="lblHeading" runat="server" Font-Size="Large"
> >> > ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
> >> > </TR>
> >> > <TR>
> >> > <TD vAlign="middle" align="center">
> >> > <asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
> >> > Font-Bold="True" Height="16px"
> >> > Width="100%"></asp:Label></TD>
> >> > </TR>
> >> > <TR>
> >> > </TR>
> >> > </TABLE>
> >> > </form>
> >> > <!--Removed from QueryDropDownList -->
> >> > <!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
> >> > <!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
> >> > </body>
> >> > </HTML>
> >> >
> >> >
> >> > "OZI" wrote:
> >> >
> >> >> Simply put,
> >> >>
> >> >> set a BreakPoint ( need be in Debugging mode and not in Release Mode)
> >> >> in
> >> >> your Page_Load event handler. Read about debugging and how to set a
> >> >> breakpoint if you don't know how.
> >> >> use F11 to step through the code line by line, to narrow down where
> >> >> the
> >> >> error is occurring.
> >> >> use F10 to step over etc...
> >> >>
> >> >> I am assuming you are getting some data from a database to
> >> >> authenticate
> >> >> the
> >> >> user etc..
> >> >> check if you are getting any data back if you expecting data back.
> >> >> You said that things break after you try to login, are you being
> >> >> authenticated?
> >> >>
> >> >> Without seeing any code it is very difficult to help you out.
> >> >>
> >> >>
> >> >> OZI
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> "Walid" <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Thank-you for replying!
> >> >> > I am very new to .NET and programming, very new How can I trace
> >> >> > my
> >> >> > code? What more information can I provide to get some more help?
> >> >> > Your
> >> >> > assistance is much appreciated.
> >> >> >
> >> >> > Walid
> >> >> >
> >> >> > "OZI" wrote:
> >> >> >
> >> >> >> Did you trace your code and see where it is failing
> >> >> >> somehow your data binding is failing, you are not getting data or
> >> >> >> something.
> >> >> >> Limited info given.
> >> >> >>
> >> >> >> OZI
> >> >> >>
> >> >> >>
> >> >> >> "Walid" <(E-Mail Removed)> wrote in message
> >> >> >> news:(E-Mail Removed)...
> >> >> >> > Hello:
> >> >> >> >
> >> >> >> > I have migrated a site from IIS5 to IIS6. The site is configured

 
Reply With Quote
 
=?Utf-8?B?V2FsaWQ=?=
Guest
Posts: n/a
 
      09-14-2007
This is working on the production box which is running IIS5 on Windows 2000
server. We are migrating the site to Windows 2003 Server IIS6. So, after I
migrate the site through the IIS migration tool, compared all IIS settings,
the site does not work on the new IIS6 server.

"OZI" wrote:

> Where is the code behind on this page? Do you have any?
> are you accessing a DATABASE?
>
> OZI
>
>
> "Walid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > This is the page that I get the error. When I login, I get to this page
> > and
> > the error comes up. On a working server, the same page comes up after I
> > login.
> >
> > Thanks for you help!
> >
> > "OZI" wrote:
> >
> >> Walid,
> >>
> >> This is the markup with JavaScript,
> >>
> >> do you have any code behind?
> >> after your login where are you redirected to what page.
> >> in that page place a break point and trace.
> >>
> >> OZI.
> >>
> >>
> >> "Walid" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Ozi,
> >> > Here is the code:
> >> >
> >> > <%@ Register TagPrefix="uc1" TagName="T5DBHeader" Src="T5DBHeader.ascx"
> >> > %>
> >> > <%@ Page Language="vb" AutoEventWireup="false"
> >> > Codebehind="StartPage.aspx.vb" Inherits="T5DB.StartPage"%>
> >> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> >> > <HTML>
> >> > <HEAD>
> >> > <title>StartPage</title>
> >> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> >> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> >> > <meta name="vs_defaultClientScript" content="JavaScript">
> >> > <meta name="vs_targetSchema"
> >> > content="http://schemas.microsoft.com/intellisense/ie5">
> >> > <script language="JavaScript">
> >> > <!--
> >> > /***********************************************
> >> > * Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
> >> > * This notice must stay intact for use
> >> > * Visit http://www.dynamicdrive.com/ for this script and 100's more.
> >> > ***********************************************/
> >> > top.window.moveTo(0,0);
> >> > if (document.all) {
> >> > top.window.resizeTo(screen.availWidth,screen.avail Height);
> >> > }
> >> > else if (document.layers||document.getElementById) {
> >> > if (top.window.outerHeight < screen.availHeight||top.window.outerWidth
> >> > <
> >> > screen.availWidth){
> >> > top.window.outerHeight = screen.availHeight;
> >> > top.window.outerWidth = screen.availWidth;
> >> > }
> >> > }
> >> > //This code maximizes window-->
> >> > </script>
> >> > <script language="JavaScript">
> >> > <!--Hide
> >> > function CountryNotInit(form)
> >> > {
> >> > form.AppendixDownList.options[0].selected = true;
> >> > form.QueryDownList1.options[0].selected = true;
> >> > }
> >> >
> >> > function AppendixNotInit(form)
> >> > {
> >> > form.CountryDropDownList1.options[0].selected = true;
> >> > form.QueryDownList1.options[0].selected = true;
> >> > }
> >> > function QueryNotInit(form)
> >> > {
> >> > form.CountryDropDownList1.options[0].selected = true;
> >> > form.AppendixDownList.options[0].selected = true;
> >> > //ShowQueryControls(form);
> >> > }
> >> >
> >> > //function ShowQueryControls(form)
> >> > //{
> >> > // document.Form1.ddlTest.style.visibility="hidden";
> >> > // form.ddlTest.style.visibility="hidden";
> >> > //}
> >> >
> >> > function RedirectToNewWindow()
> >> > {
> >> > var setSize='height=' + screen.height + ',' + 'width=' + screen.width +
> >> > ',top=0,left=0,<BR>scrollbars=yes,resizable=yes,to olbar=yes,status=yes,menubar=yes';
> >> >
> >> > if (document.Form1.CountryDropDownList1.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?CID=" +
> >> > document.Form1.CountryDropDownList1.options[document.Form1.CountryDropDownList1.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > if (document.Form1.AppendixDownList.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?AID=" +
> >> > document.Form1.AppendixDownList.options[document.Form1.AppendixDownList.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > if (document.Form1.QueryDownList1.options[0].selected == false)
> >> > {
> >> > window.open("NewWindowRedirector.aspx?QID=" +
> >> > document.Form1.QueryDownList1.options[document.Form1.QueryDownList1.selectedIndex].value,"_blank",setSize);
> >> > return;
> >> > }
> >> > }
> >> >
> >> > // End Hide --->
> >> > </script>
> >> > </HEAD>
> >> > <body MS_POSITIONING="GridLayout">
> >> > <form id="Form1" method="post" runat="server">
> >> > <uc1:T5DBHeader id="T5DBHeader1" runat="server"></uc1:T5DBHeader>
> >> > <TABLE id="Table2" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute;
> >> > TOP: 248px; HEIGHT: 208px"
> >> > width="100%" border="0">
> >> > <TR>
> >> > <TD style="HEIGHT: 42px" tabIndex="3" vAlign="middle" align="center">
> >> > <DIV style="WIDTH: 786px; POSITION: relative; HEIGHT: 56px"
> >> > ms_positioning="GridLayout">
> >> > <asp:dropdownlist id="AppendixDownList" style="Z-INDEX: 102; LEFT:
> >> > 56px; POSITION: absolute; TOP: 32px"
> >> > tabIndex="6" runat="server"
> >> > OnSelectedIndexChanged="ChangeAppendixItem"
> >> > onChange="AppendixNotInit(this.form);"
> >> > AutoPostBack="false" Width="536px" BackColor="White" Height="14px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0">SELECT AN APPENDIX</asp:ListItem>
> >> > <asp:ListItem Value="2">Appendix 2 (Gateway International Service
> >> > Center/Exchange Office Country Distribution Listing)</asp:ListItem>
> >> > <asp:ListItem Value="3">Appendix 3 (International Service
> >> > Centers/Exchange Offices)</asp:ListItem>
> >> > <asp:ListItem Value="5">Appendix 5 (International Air Mail Carrier
> >> > Code List)</asp:ListItem>
> >> > <asp:ListItem Value="6">Appendix 6 (IATA Airport Codes)</asp:ListItem>
> >> > </asp:dropdownlist>
> >> > <asp:dropdownlist id="QueryDownList1" style="Z-INDEX: 103; LEFT:
> >> > 336px; POSITION: absolute; TOP: 8px"
> >> > tabIndex="7" runat="server" OnSelectedIndexChanged="ChangeQueryItem"
> >> > onChange="QueryNotInit(this.form);"
> >> > AutoPostBack="false" Width="304px" BackColor="White" Height="24px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0">SELECT A QUERY</asp:ListItem>
> >> > <asp:ListItem Value="1">Routing Restrictions</asp:ListItem>
> >> > <asp:ListItem Value="2">Variation in Routing
> >> > Restrictions</asp:ListItem>
> >> > <asp:ListItem Value="3">Countries Not Honoring a Specific Mail
> >> > Type</asp:ListItem>
> >> > <asp:ListItem Value="4">Services Available for a
> >> > Country</asp:ListItem>
> >> > </asp:dropdownlist>
> >> > <asp:button id="btnSubmit" style="Z-INDEX: 104; LEFT: 664px;
> >> > POSITION: absolute; TOP: 32px"
> >> > onclick="btnSubmit_Click" tabIndex="8" runat="server" Width="57px"
> >> > BackColor="White" Height="21px"
> >> > Font-Size="XX-Small" Font-Bold="True" Text="Submit"
> >> > ForeColor="OrangeRed" Font-Names="Arial"
> >> > Visible="False"></asp:button><a href="#"
> >> > onclick="javascript:RedirectToNewWindow();"><INPUT style="Z-INDEX: 106;
> >> > LEFT:
> >> > 664px; WIDTH: 88px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
> >> > type="button" value="Submit"></a>
> >> > <asp:dropdownlist id="CountryDropDownList1" style="Z-INDEX: 107;
> >> > LEFT: 16px; POSITION: absolute; TOP: 8px"
> >> > tabIndex="5" runat="server"
> >> > OnSelectedIndexChanged="ChangeCountryItem"
> >> > onChange="CountryNotInit(this.form);"
> >> > Width="312px" DataValueField="ctry_id" DataTextField="ctry_name"
> >> > BackColor="White" Height="32px"
> >> > Font-Size="XX-Small">
> >> > <asp:ListItem Value="0" Selected="True">SELECT A
> >> > COUNTRY</asp:ListItem>
> >> > </asp:dropdownlist></DIV>
> >> > <DIV style="WIDTH: 393px; POSITION: relative; HEIGHT: 48px"
> >> > ms_positioning="GridLayout">
> >> > <asp:HyperLink id="hlSubscribe" style="Z-INDEX: 100; LEFT: 40px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" Target="_blank"
> >> > NavigateUrl="Subscribe.aspx">Subscribe</asp:HyperLink>
> >> > <asp:HyperLink id="hlPrinting" style="Z-INDEX: 101; LEFT: 176px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" Target="_blank"
> >> > NavigateUrl="PrintPageCountrySelection.aspx">Print ing</asp:HyperLink>
> >> > <asp:HyperLink id="hlFeedbackEmail" style="Z-INDEX: 102; LEFT: 288px;
> >> > POSITION: absolute; TOP: 8px"
> >> > runat="server" Font-Size="X-Small" Font-Names="Arial"
> >> > Font-Bold="True" NavigateUrl="(E-Mail Removed)"
> >> > Target="_blank">Feedback</asp:HyperLink></DIV>
> >> > <DIV style="DISPLAY: inline; WIDTH: 416px; HEIGHT: 17px"
> >> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">
> >> > Click Subscribe to notification for receiving a daily/weekly/monthly
> >> > summary of
> >> > changes to the country pages and appendices.</FONT></DIV>
> >> > <br>
> >> > <DIV style="DISPLAY: inline; WIDTH: 232px; HEIGHT: 17px"
> >> > ms_positioning="FlowLayout"><FONT face="Arial" size="1">Click
> >> > Print to print a selection of country pages.</FONT></DIV>
> >> > </TD>
> >> > </TR>
> >> > </TABLE>
> >> > <asp:button id="butTrace" style="Z-INDEX: 101; LEFT: 600px; POSITION:
> >> > absolute; TOP: 16px" onclick="butTrace_click"
> >> > runat="server" Font-Size="XX-Small" Height="18px"
> >> > BackColor="MidnightBlue" Visible="False"
> >> > ForeColor="Red" Text="Trace is Off" Font-Bold="True" ToolTip="Click to
> >> > turn trace on or off"
> >> > BorderColor="White"></asp:button>
> >> > <TABLE id="Table1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute;
> >> > TOP: 120px; HEIGHT: 88px; TEXT-ALIGN: center"
> >> > cellSpacing="1" cellPadding="1" width="100%" border="0">
> >> > <TR>
> >> > <TD style="HEIGHT: 22px" vAlign="middle" align="center">
> >> > <asp:Label id="lblHeading" runat="server" Font-Size="Large"
> >> > ForeColor="Blue" Font-Bold="True"></asp:Label></TD>
> >> > </TR>
> >> > <TR>
> >> > <TD vAlign="middle" align="center">
> >> > <asp:Label id="lblSubHeading" runat="server" Font-Size="Medium"
> >> > Font-Bold="True" Height="16px"
> >> > Width="100%"></asp:Label></TD>
> >> > </TR>
> >> > <TR>
> >> > </TR>
> >> > </TABLE>
> >> > </form>
> >> > <!--Removed from QueryDropDownList -->
> >> > <!-- <asp:ListItem Value="5">Service and Mail Type</asp:ListItem>-->
> >> > <!-- <asp:ListItem Value="6">Country to Gateway</asp:ListItem>-->
> >> > </body>
> >> > </HTML>
> >> >
> >> >
> >> > "OZI" wrote:
> >> >
> >> >> Simply put,
> >> >>
> >> >> set a BreakPoint ( need be in Debugging mode and not in Release Mode)
> >> >> in
> >> >> your Page_Load event handler. Read about debugging and how to set a
> >> >> breakpoint if you don't know how.
> >> >> use F11 to step through the code line by line, to narrow down where
> >> >> the
> >> >> error is occurring.
> >> >> use F10 to step over etc...
> >> >>
> >> >> I am assuming you are getting some data from a database to
> >> >> authenticate
> >> >> the
> >> >> user etc..
> >> >> check if you are getting any data back if you expecting data back.
> >> >> You said that things break after you try to login, are you being
> >> >> authenticated?
> >> >>
> >> >> Without seeing any code it is very difficult to help you out.
> >> >>
> >> >>
> >> >> OZI
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> "Walid" <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Thank-you for replying!
> >> >> > I am very new to .NET and programming, very new How can I trace
> >> >> > my
> >> >> > code? What more information can I provide to get some more help?
> >> >> > Your
> >> >> > assistance is much appreciated.
> >> >> >
> >> >> > Walid
> >> >> >
> >> >> > "OZI" wrote:
> >> >> >
> >> >> >> Did you trace your code and see where it is failing
> >> >> >> somehow your data binding is failing, you are not getting data or
> >> >> >> something.
> >> >> >> Limited info given.
> >> >> >>
> >> >> >> OZI
> >> >> >>
> >> >> >>
> >> >> >> "Walid" <(E-Mail Removed)> wrote in message
> >> >> >> news:(E-Mail Removed)...
> >> >> >> > Hello:
> >> >> >> >
> >> >> >> > I have migrated a site from IIS5 to IIS6. The site is configured

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IListSource does not contain any data Mike P ASP .Net 0 01-31-2007 11:26 AM
DataBind to DropDownList Problem "The IListSource does not contain any data sources" Assimalyst ASP .Net 10 07-08-2005 03:09 PM
The IListSource does not contain any data sources. <-- ? KK ASP .Net Datagrid Control 1 01-13-2005 12:13 PM
'IListSource does not contain any data sources' peter@yahoo.not ASP .Net 2 01-13-2005 08:23 AM
IListSource does not contain any data sources. troutbum ASP .Net 1 10-06-2004 04:43 PM



Advertisments