any clues on this one? i have forums and polls installed.
[NullReferenceException: Object reference not set to an instance of an object.]
DataSetTableAdapters.SiteSettingsTableAdapter.InitConnection() in App_Code.vqyiftnm.13.cs:2153
DataSetTableAdapters.SiteSettingsTableAdapter.get_Connection() in App_Code.vqyiftnm.13.cs:2091
DataSetTableAdapters.SiteSettingsTableAdapter.InitAdapter() in App_Code.vqyiftnm.13.cs:2144
DataSetTableAdapters.SiteSettingsTableAdapter.get_Adapter() in App_Code.vqyiftnm.13.cs:2081
DataSetTableAdapters.SiteSettingsTableAdapter.GetSiteSettings() in App_Code.vqyiftnm.13.cs:2171
DevCowSiteSettings.GetSiteSettings() in d:\hosting\frogmoreaero\App_Code\SiteSettings.cs:49
DevCow.Web.UI.DevCowThemePage.Page_PreInit(Object sender, EventArgs e) in d:\hosting\frogmoreaero\App_Code\DevCowThemePage.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Page.OnPreInit(EventArgs e) +8695022
System.Web.UI.Page.PerformPreInit() +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
ok i got the thing launched. anyone have any clue as to why the nav at the bottom will not expand past the poll section? i am assuming its css error but i cant figure it out..
www.frogmoreaeroclub.com
also on my manage poll page i cant get the css to work. you guys will not be able to see it but here is the code i use on that page and below this i will post my css file
/************************************************************************ * * Main navigation used by the masterpage * ************************************************************************/
/* Picture at the top of the site */ #poster { background: url(images/poster.jpg) no-repeat; margin-right: auto; margin-left: auto; width: 726px; height: 139px; margin-top: 17px; }
/************************************************************************ * * Formatting common to most pages * ************************************************************************/
/* Main part of the page that holds contents */ #body { width: 726px; margin-top: 7px; margin-right: auto; margin-left: auto; position: relative; }
/* for the login block picks up most of its properties from .fullwidth */
#loginbanner { padding-bottom: 0px; }
/* Goes around controls that need to be presented as a block of functionality */ .controlblock { border: 1px solid #DBDB79; padding: 3px; margin: 2px 0 5px 0; vertical-align: top; }
/* used as the cssclass of the actual calendar */ .eventmonthtable { width: 694px; margin-right: auto; margin-left: auto; position: relative; margin-bottom: 15px; border: 1px solid #DBDB79; border-collapse:collapse; }
/************************************************************************ * * Next / previous specific formatting * ************************************************************************/
/************************************************************************ * * List type pages * ************************************************************************/
/* represents each item in a vertical list */ .listitem { margin:0px 0px 0px 0px; width:444px; }
/* surrounds the buttons for list items */ .editbuttons { padding-top: 6px; }
/* floats the thumbnail off to the right */ .thumbnail { float: right; margin: 0 0 0 5px; }
/*used to clear the float for the thumbnail */ .clearlist { clear:right; margin:0; padding:0; height: 0px; font-size:0px; line-height:0px; }
/* Used by the page number control */ .PageNumbers { display:inline; }
.PageNumbers span { padding-left: 3px; }
.newscrumbs a { font-weight: bold; padding-right: 2px; }
/* value column */ .formvalue { vertical-align: top; }
.txtfield { width:300px; }
.txtblock { width:300px; }
/************************************************************************ * * Formatting common to Forum pages * *************************************/ .thread { padding-top: 5px; }
/* the rest is just to try to make Firefox and IE look similar */ .normalgrid, .stickygrid { border-width: 1px 1px 1px 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: white gray gray white; border-collapse: collapse; }
BoostedH23a1
Member
3 Points
72 Posts
what is up with my webpage?
Oct 19, 2009 03:26 AM|LINK
www.frogmoreaeroclub.com
oidldb
Contributor
2181 Points
419 Posts
Re: what is up with my webpage?
Oct 19, 2009 06:30 AM|LINK
Hi,
After looking at your class I'm guessing that you have a style sheet that you have declared in some pages and in others not.
In the head section of the pages that look ok see if you can find a declaration that looks like this:
<link href="My_style_sheet.css" rel="stylesheet" type="text/css" />
If you do than add that line in the pages that look awkward in the head section
Hope this helps!
Dani
P.S. Please mark as answer if this helps.
BoostedH23a1
Member
3 Points
72 Posts
Re: what is up with my webpage?
Oct 19, 2009 08:47 PM|LINK
BoostedH23a1
Member
3 Points
72 Posts
Re: what is up with my webpage?
Oct 19, 2009 08:48 PM|LINK
BoostedH23a1
Member
3 Points
72 Posts
Re: what is up with my webpage?
Oct 19, 2009 10:53 PM|LINK
BoostedH23a1
Member
3 Points
72 Posts
Re: what is up with my webpage?
Oct 25, 2009 12:52 AM|LINK
any clues on this one? i have forums and polls installed.
[NullReferenceException: Object reference not set to an instance of an object.]
DataSetTableAdapters.SiteSettingsTableAdapter.InitConnection() in App_Code.vqyiftnm.13.cs:2153
DataSetTableAdapters.SiteSettingsTableAdapter.get_Connection() in App_Code.vqyiftnm.13.cs:2091
DataSetTableAdapters.SiteSettingsTableAdapter.InitAdapter() in App_Code.vqyiftnm.13.cs:2144
DataSetTableAdapters.SiteSettingsTableAdapter.get_Adapter() in App_Code.vqyiftnm.13.cs:2081
DataSetTableAdapters.SiteSettingsTableAdapter.GetSiteSettings() in App_Code.vqyiftnm.13.cs:2171
DevCowSiteSettings.GetSiteSettings() in d:\hosting\frogmoreaero\App_Code\SiteSettings.cs:49
DevCow.Web.UI.DevCowThemePage.Page_PreInit(Object sender, EventArgs e) in d:\hosting\frogmoreaero\App_Code\DevCowThemePage.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Page.OnPreInit(EventArgs e) +8695022
System.Web.UI.Page.PerformPreInit() +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282
BoostedH23a1
Member
3 Points
72 Posts
Re: what is up with my webpage?
Oct 25, 2009 02:13 PM|LINK
ok i got the thing launched. anyone have any clue as to why the nav at the bottom will not expand past the poll section? i am assuming its css error but i cant figure it out..
www.frogmoreaeroclub.com
also on my manage poll page i cant get the css to work. you guys will not be able to see it but here is the code i use on that page and below this i will post my css file
<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Poll_Manage.aspx.cs" Inherits="Poll_Manage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="body">
<div>
<h3>Polls</h3>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataKeyNames="PollId" Width="100%" DataSourceID="SqlDataSource1" OnRowUpdating="GridView1_RowUpdating">
<Columns>
<asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
<asp:BoundField DataField="Question" HeaderText="Question" SortExpression="Question" />
<asp:BoundField DataField="CreationDate" HeaderText="Date" SortExpression="CreationDate" />
<asp:HyperLinkField DataNavigateUrlFields="PollId" DataNavigateUrlFormatString="~/Poll_Answers.aspx?PollId={0}"
HeaderText="Ga naar" Text="»»»" />
</Columns>
</asp:GridView>
</div>
<!-- Left column -->
<div id="columnleft">
<a name="content_start" id="content_start"></a>
<div>
On this page you can add new Polls. Steps:
<ul>
<li>First add a question or a statement</li>
<li>Next, add a few possible answers for your question or statement.</li>
</ul>
</div>
</div>
<!-- Right column -->
<div id="columnright">
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ClubSiteDB %>"
SelectCommand="SELECT [PollId], [Question], [CreationDate], [MemberId] FROM [PollQuestions]"
DeleteCommand="DELETE FROM [PollQuestions] WHERE [PollID] = @original_PollId"
InsertCommand="INSERT INTO [PollQuestions] ([PollId], [Question], [CreationDate], [Memberid]) VALUES (@pollId, @question, @creationDate, @memberid)"
OldValuesParameterFormatString="original_{0}" UpdateCommand="UPDATE [PollQuestions] SET [Question] = @question, [CreationDate] = @creationDate WHERE [PollId] = @original_PollId">
</asp:SqlDataSource>
<div>
<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="PollQuestionId"
Height="50px" Width="100%" DataSourceID="SqlDataSource1" DefaultMode="Insert" OnItemInserting="DetailsView1_ItemInserting">
<Fields>
<asp:BoundField DataField="PollQuestionId" HeaderText="Question" InsertVisible="False" ReadOnly="True"
SortExpression="PollQuestionId" />
<asp:TemplateField HeaderText="Question" SortExpression="topic">
<InsertItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Question") %>'></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="TextBox1" ValidationGroup="Insert"
ID="RequiredFieldValidator1" runat="server" ErrorMessage="Question is required">*</asp:RequiredFieldValidator>
</InsertItemTemplate>
</asp:TemplateField>
<asp:CommandField ValidationGroup="Insert" ShowInsertButton="True"
ShowCancelButton="False" InsertText="Add Poll" />
</Fields>
</asp:DetailsView>
</div>
</div>
</div>
</asp:Content>