'SiteConfiguration' could not be found compile error

Last post 05-05-2008 9:47 PM by javafun. 3 replies.

Sort Posts:

  • 'SiteConfiguration' could not be found compile error

    08-20-2003, 10:25 AM
    • Member
      5 point Member
    • arjarj
    • Member since 08-20-2003, 10:23 AM
    • Posts 1
    I am getting the following error when I compile the application...any ideas how I can solve this?

    c:\program files\asp.net starter kits\asp.net portal (csvs)\portalcsvs\components\configuration.cs(695,10): error CS0246: The type or namespace name 'SiteConfiguration' could not be found (are you missing a using directive or an assembly reference?)

    c:\program files\asp.net starter kits\asp.net portal (csvs)\portalcsvs\components\configuration.cs(724,17): error CS0246: The type or namespace name 'SiteConfiguration' could not be found (are you missing a using directive or an assembly reference?)

  • Re: 'SiteConfiguration' could not be found compile error

    08-21-2003, 3:41 PM
    • Member
      225 point Member
    • alex3wworld
    • Member since 06-30-2003, 3:25 PM
    • Posts 45
    Hi,
    The solution for this problem is really easy: You need to check the <appSettings> tag value at Web.config file. It should be something like:
    <appSettings>
    <add key="configFile" value="/PortalVBVS/PortalCfg.xml" />
    </appSettings>
    When I moved my contents to the web-hosting provider, I was also getting an error like that because the path is changed and only here it is not relative.
    I hope it will help.
    Alex
  • Re: 'SiteConfiguration' could not be found compile error

    05-02-2008, 10:50 PM
    • Member
      6 point Member
    • f_f_f
    • Member since 04-25-2007, 8:37 AM
    • Viet Nam
    • Posts 3

    I got the same issue and the solution that worked is:

    - Right-click on file PortalCfg.xsd -> Choose 'Run Custom Tool' .

    - Re-compile.

     I am using VS.NET 2008.

    HTH

    Thuc 

  • Re: 'SiteConfiguration' could not be found compile error

    05-05-2008, 9:47 PM
    • Member
      110 point Member
    • javafun
    • Member since 08-14-2006, 11:35 PM
    • Posts 42

    Where can I find Choose 'Run Custom Tool'  this option? I try to right click, but I can't find this option

    The more you cook the ASP.NET, the much better you taste it.
Page 1 of 1 (4 items)