应该在default.aspx的page_load事件中加载的

解决方案 »

  1.   

    default.aspx
    只是 一个简单加载
    这个 是 调用 了
    已经 做好 的用户 控件
    直接放在 主页面上!
      

  2.   

    看看有没有动态加载的东西,一个完整的网站如果把aspx的页面部分都封装在后台代码里,编译后只需在一个页面里用一个dll就可以现在一个完整的网站,要看你的页面里怎么加载了!
      

  3.   

    *********default.aspx內容*************
    <%@ Page %>
    <%@ import Namespace="ASPNET.StarterKit.Communities" %>
    <html>
    <head>
        <title>Community Starter Kit CSSDK 1.0</title>
    </head>
    <body>
        <form runat="server">
            <div style="FONT: 12pt Arial; WIDTH: 600px">No community is configured for <%=Request.Url.Host%>. 
                <p>
                </p>
                If this is the first page that you see after installation, then installation has failed.
                Here are some things to check: 
                <ul>
                    <li>
                        <b>The Community Starter Kit must be installed within its own virtual directory</b> 
                        <br />
                        Open the Internet Services Manager from Start, Settings, Control Panel, Administrative
                        Tools, Internet Services Manager and confirm that there is a virtual directory configured
                        for <%=Request.Path%>. 
                        <br /> <br />
                    </li>
                    <li>
                        <b>A community must be configured for the domain <%=Request.Url.Host %></b>
                        <br />
                        Click <a href="ISPAdmin/Default.aspx">here</a> to configure a community for <%=Request.Url.Host%> with
                        the ISP Admin page. 
                    </li>
                </ul>
                Finally, if all else fails, rerun the Community Starter Kit Setup Wizard located at
                Start, Programs, ASP.NET Starter Kits, Community Starter Kit, Community Starter Kit
                Setup Wizard. 
                <br />
                <br />
                For additional help, visit the Community Starter Kit forum at <a href="http://www.ASP.net/Forums/default.aspx">www.ASP.net/Forums</a>. 
            </div>
        </form>
    </body>
    </html>
      

  4.   

    default.aspx頁就是如此簡單﹐引用一個命名空間﹐并沒有用戶控件的引用
      

  5.   


    先試樓上幾位的方法,
    如果還不行的話你試下自已建個需目錄,
    隻丟個html文件進去.
    如果還出現你說的情況的話,那就是IIS設置的問題..
    進IIS ---> 預設網站(右鍵-->內容)-->文件--> 最下面...
     看你是不是鉤選了" 啟用文件尾"..
      

  6.   


    你把 webconfig 裡的... <pagePaths>
                <add key="basePage" value="/communityDefault.aspx" />
                <add key="baseService" value="/communityService.asmx" />
            </pagePaths>去掉試試
      

  7.   

    to  CtrlT(我自由!我变坏!) 
    IIS設置沒問題
      

  8.   

    内容肯定封装在dll里面了,你看到的aspx只是html部分
      

  9.   

    to  CtrlT(我自由!我变坏!) 
    去掉那兩行就找不到資源了。但為什么呢?
    所有的源碼都有﹐但為什么就是找不到頁面在哪個cs文件﹑哪個aspx文件或是用戶自定義控件里呢???
      

  10.   

    此頁面沒有相應的cs文件呀.. 這樣試,  新建一空的aspx頁面測試還有沒有附加內容..
      

  11.   

    添加一新的aspx文件進去瀏覽都有問題﹕
    '/communityStarterKit' 應用程式中發生伺服器錯誤。
    --------------------------------------------------------------------------------剖析器錯誤 
    描述: 當剖析服務此要求所需的資源時發生錯誤。請檢閱下列的特定剖析錯誤詳細資訊,並且適當地修改您的原始程式檔。 剖析器錯誤訊息: 無法載入型別 'ASPNET.StarterKit.Communities.WebForm111'。原始程式錯誤: 
    行 1:  <%@ Page language="c#" Codebehind="WebForm111.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.WebForm111" %>
    行 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 
    行 3:
      

  12.   

    它把代码封装了,你看到的也只不过是一些最基本的htm语言。别找别的实例吧
      

  13.   

    to Tony8002003(冷)代碼封裝了嗎?還是封裝了一部分?
    但那些相關的服務器控件(.cs文件)都可以看到源碼啊
      

  14.   

    他没有用 vs.net 的codebehind , 而是封裝了一部分 , 手工编译成 dll 的建议看看 petshop 吧