Question : the object is not accessible because is a friend

Im working on a large web site with vb and asp using visual studio 2010
Intelisense has my page directive underlined and says that the object is not accessible because is a friend.  I found this on microsofts   site. But I don’t think it was what I  need. http://support.microsoft.com/kb/814319    When I click on the Form I don’t see   any properities option.
Is there another cause for this error?
Below is the asp file that cause this error. And the top two lines are causeing the error. The page declaration
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ClientDataMaintenance.aspx.vb"
    Inherits="GGIADeploy.ClientDataMaintenance" %>

<%@ Register TagPrefix="uc" TagName="theNav" Src="TopNav.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>GGIA Client Data Maintenance</title>
    <meta content="JavaScript" name="vs_defaultClientScript"/>
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    <link href="../Styles.css" type="text/css" rel="stylesheet" />
   
</head>
<body id="theBodyTag" runat="server">
   <form id = "form1" runat="server" defaultfocus = "txtlastname">
       <asp:SqlDataSource ID="SqlDataSource" runat="server" SelectCommand="Select * FROM ggia_Clients.*,ggia_Organizations INNER JOIN ggia_Logins ON ggia_Organization.OrganationID = ggia_Logins.OrgID RIGHT OUTER JOIN ggia_Clients ON ggia_Login.UserName = ggia_Clients.vchrEditedBy 
        WHERE (ggia_Clients.vchrEditedBy =  Session(username.Text) AND RecordStatus = 'DRAFT') or (RecordStatus = 'PERMIMENT') ORDERED BY   'SortExpression'"
               ConnectionString="<%$ ConnectionStrings:GGIAConnectionString %>"></asp:SqlDataSource>
        <uc:theNav ID="TopNav" runat="server"></uc:theNav>
    <br />
   <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Height="31px" Width="465px"
        Font-Names="Arial" CssClass="Header" Font-Size="Large" ForeColor="Navy">GGIA ClientData Maintenance</asp:Label>
    <br /><br />
     <asp:LinkButton ID="lbAddNew"  runat="server" Font-Bold="True" Font-Names="Arial">Add New
    </asp:LinkButton>
     &nbsp;
    <asp:LinkButton ID="lbSearch"  runat="server" Font-Bold="True" Font-Names="Arial"
        CommandName="SubSearchClick">Search</asp:LinkButton>
         &nbsp;
    <asp:LinkButton ID="lbShowAll"  runat="server" Visible="False" Font-Bold="True" Font-Names="Arial">Show All</asp:LinkButton>
    <br /><br />
    <asp:Label ID="lblFind_LastName" runat="server" Visible="False" ForeColor="Navy"
        Font-Bold="True" Height="20px" Width="72px" Font-Names="Arial"> Last Name:</asp:Label>
    &nbsp;
    <asp:TextBox ID="txtFind_LastName"  runat="server" Visible="False" Width="120px" BorderColor="DimGray"
        BorderStyle="Solid" BorderWidth="1px" Height="20px"></asp:TextBox>
    &nbsp;
    <asp:DropDownList ID="cboFilter" runat="server" Visible="False" Height="20px">
        <asp:ListItem Value="starts">Starts with</asp:ListItem>
        <asp:ListItem Value="contains">Contains</asp:ListItem>
    </asp:DropDownList>
    &nbsp;
    <asp:Label ID="lblFind_FirstName" runat="server" Visible="False" ForeColor="Navy"
        Font-Bold="True" Height="20px" Width="125px" Font-Names="Arial">(And) First Name:</asp:Label>
    <asp:TextBox ID="txtFind_FirstName" runat="server" Visible="False" Width="120px"
        BorderColor="DimGray" BorderStyle="Solid" BorderWidth="1px" Height="20px"></asp:TextBox>
    &nbsp;
    <asp:Button ID="cmdFind" runat="server" Visible="False" Font-Bold="True" Height="24px"
        Width="64px" Font-Names="Arial" Text="Find"></asp:Button>
        &nbsp;
    <asp:Button ID="cmdCancel" runat="server" Visible="False" Font-Bold="True" Width="72px" Height="24px"
        Font-Names="Arial" Text="Cancel"></asp:Button>
        <br />
    <asp:Label ID="lblFeedback" runat="server" Font-Bold="True" Height="16px" Width="721px"
        Font-Names="Arial" Font-Size="Medium"></asp:Label>
        <br />
    <asp:DataGrid runat="server" ID="dgClients" ForeColor="#333333" Width="808px" AllowSorting="True"
        AllowPaging="True" PageSize="15" CellPadding="4" AutoGenerateColumns="False"
        DataSourceID="SqlDataSource" GridLines="None">
        <AlternatingItemStyle BackColor="White" ForeColor="#284775"></AlternatingItemStyle>
        <ItemStyle BackColor="#F7F6F3" ForeColor="#333333"></ItemStyle>
        <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#5D7B9D"></HeaderStyle>
        <Columns>
            <asp:HyperLinkColumn Text="Edit" DataNavigateUrlFormatString="javascript:Edit({0});" DataNavigateUrlField="ClientID" />
            <asp:EditCommandColumn ButtonType="PushButton" EditText="View"></asp:EditCommandColumn>
            <asp:BoundColumn DataField="ClientID" SortExpression="ClientID" HeaderText="ID">
            </asp:BoundColumn>
            <asp:BoundColumn DataField="ClientLastName" SortExpression="ClientLastName" HeaderText="Last">
                <ItemStyle Width="100px"></ItemStyle>
            </asp:BoundColumn>
            <asp:BoundColumn DataField="ClientFirstName" SortExpression="ClientFirstName" HeaderText="First">
            </asp:BoundColumn>
            <asp:BoundColumn DataField="ClientCity" SortExpression="ClientCity" HeaderText="City">
            </asp:BoundColumn>
            <asp:BoundColumn DataField="ClientChurch" SortExpression="ClientChurch" HeaderText="Church">
            </asp:BoundColumn>
            <asp:BoundColumn DataField="DateAdded" SortExpression="DateAdded" HeaderText="Added"
                DataFormatString="{0:d}"></asp:BoundColumn>
            <asp:BoundColumn DataField="vchrReasonAdded" SortExpression="vchrReasonAdded" HeaderText="Reason">
            </asp:BoundColumn>
            <asp:ButtonColumn Text="Delete" ButtonType="PushButton" CommandName="Delete"></asp:ButtonColumn>
        </Columns>
        <PagerStyle NextPageText="Next" PrevPageText="Previous" ForeColor="White" Position="TopAndBottom"
            BackColor="#284775" HorizontalAlign="Center"></PagerStyle>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditItemStyle BackColor="#999999" />
        <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    </asp:DataGrid>
    </form>
</body>
</html>

Answer : the object is not accessible because is a friend

Can you check monitoring, if the IP that this is coming is being blocked due to flood mitigation?

Random Solutions  
 
programming4us programming4us