#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Location
    Western Isle of Scotland
    Posts
    258
    Rep Power
    17

    Error Message ASP.net


    Can someone help me I'm geeting an error at line 11 - MasterPage.master.cs.

    Code:
    using System;
    using System.Data;
    using System.Configuration;
    using System.Collections;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;
    using Udev.MasterPageWithLocalization.Classes;
    using System.Globalization;
    using System.Threading;
    
    public partial class MasterPage : System.Web.UI.MasterPage
    {
    
        protected void Page_Load(object sender, EventArgs e)
        {
    
        }
    
        protected void RequestLanguageChange_Click(object sender, EventArgs e)
        {
            LinkButton senderLink = sender as LinkButton;
    
            Session[Global.SESSION_KEY_CULTURE] = senderLink.CommandArgument;
    
            Server.Transfer(Request.Path);
        }
    }
    The website work locally but not on webserver.

    CS0246: The type or namespace name 'Udev' could not be found (are you missing a using directive or an assembly reference?)

    Line 9: using System.Web.UI.WebControls.WebParts;
    Line 10: using System.Web.UI.HtmlControls;
    Line 11: using Udev.MasterPageWithLocalization.Classes;
    Line 12: using System.Globalization;
    Line 13: using System.Threading;
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Location
    Western Isle of Scotland
    Posts
    258
    Rep Power
    17

    Sorted


    Sorted - place App_Code into the wwwroot directory of the server

IMN logo majestic logo threadwatch logo seochat tools logo