Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • İdris 34 posts 184 karma points
    Oct 22, 2013 @ 09:50
    İdris
    0

    Error Loading User Control

    I got this message,

    Error loading userControl '~/usercontrols/TelefonRehberi/cv1.ascx'

    my code:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cv1.ascx.cs" Inherits="telRehber.cv1" %>

    <script runat="server">

     

     

    </script>

    <script type="text/javascript" src="/jscripts/tiny_mce/tiny_mce.js"></script>

    <asp:Panel runat="server" ID="ara">

    <style type="text/css">

        .style1

        {

            width: 260px;

        }

    </style>

     

        <table id="Table1" class="style1" runat="server" align="center">

        <tr>

        <td></td>

        <td>

            <asp:Label ID="lblMesaj" runat="server"></asp:Label>

            </td>

     

        </tr>

            <tr>

                <td>

        <asp:Label ID="lblAdi" runat="server" Text="Adı :"></asp:Label>

                </td>

                <td>

                    <asp:TextBox ID="txtAdi" runat="server" Width="158px"></asp:TextBox>

                    &nbsp;veya</td>

            </tr>

            <tr>

                <td>

     

        <asp:Label ID="Label1" runat="server" Text="Ünvanı :"></asp:Label>

     

                </td>

                <td>

                    <asp:TextBox ID="txtUnvani" runat="server" Width="160px"></asp:TextBox>

                </td>

            </tr>

            <tr>

            <td></td>

            <td>

                <asp:Button ID="btnBul" runat="server" Text="Bul" Width="69px" 

                    onclick="btnBul_Click" />

                </td>

            </tr>

        </table>

    <br/>

     

     

    <asp:GridView ID="GridView1" runat="server" 

        onrowdatabound="GridView1_RowDataBound" AutoGenerateColumns="False" 

        CellPadding="4" ForeColor="#333333" DataSourceID="SqlDataSource1" >

        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />

        <Columns>

            <asp:BoundField DataField="FAKULTE" HeaderText="FAKULTE" 

                SortExpression="FAKULTE" />

            <asp:BoundField DataField="UNVANI" HeaderText="UNVANI" 

                SortExpression="UNVANI" />

            <asp:BoundField DataField="NAME" HeaderText="NAME" SortExpression="NAME" />

            <asp:BoundField DataField="DAHILI" HeaderText="DAHILI" 

                SortExpression="DAHILI" />

            <asp:BoundField DataField="EMAIL" HeaderText="EMAIL" SortExpression="EMAIL" />

        </Columns>

        <EditRowStyle BackColor="#999999" />

        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />

        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />

        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />

        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />

        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />

        <SortedAscendingCellStyle BackColor="#E9E7E2" />

        <SortedAscendingHeaderStyle BackColor="#506C8C" />

        <SortedDescendingCellStyle BackColor="#FFFDF8" />

        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />

    </asp:GridView>

     

     

     

        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 

            ConnectionString="<%$ ConnectionStrings:BingolUmbracoConnectionString %>" 

     

            SelectCommand="SELECT [FAKULTE], [UNVANI], [NAME], [DAHILI], [EMAIL] FROM [cms_ST_PERSONELCV]">

        </asp:SqlDataSource>

    .....................

     

    .

    .

    .

    .

     

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 22, 2013 @ 11:14
    Ismail Mayat
    0

    Idris,

    This seems more like a .net than umbraco issue. Do you get a yellow screen if so what is the full error message.

    Regards

    Ismail

  • İdris 34 posts 184 karma points
    Oct 22, 2013 @ 12:42
    İdris
    0

    no yellow screen I just got this error.

  • İdris 34 posts 184 karma points
    Oct 22, 2013 @ 12:57
    İdris
    0

    System.Web.HttpParseException (0x80004005): Could not load type 'eskicv.cv1'. ---> System.Web.HttpParseException (0x80004005): Could not load type 'eskicv.cv1'. ---> System.Web.HttpException (0x80004005): Could not load type 'eskicv.cv1'. at System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) at System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) at System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at umbraco.developer.assemblyBrowser.Page_Load(Object sender, EventArgs e)

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 22, 2013 @ 13:17
    Ismail Mayat
    0

    Idris,

    Are you missing a dll? The eskicv.cv1 not sure if that is referring to a missing dll check your bin directory.

    Regards

    Ismail

  • İdris 34 posts 184 karma points
    Oct 23, 2013 @ 14:13
    İdris
    0

    Hi Ismail,

    I checked my bin directory and nothing wrong. I created from scratch the same one but still have the same issue. I need to search staff as academic and administrative. With sql connection.

    Regards.

     

Please Sign in or register to post replies

Write your reply to:

Draft