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?)
Hi, The solution for this problem is really easy: You need to check the tag value at Web.config file. It should be something like: 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
arjarj
Member
5 Points
1 Post
'SiteConfiguration' could not be found compile error
Aug 20, 2003 02:25 PM|LINK
alex3wworld
Member
225 Points
45 Posts
Re: 'SiteConfiguration' could not be found compile error
Aug 21, 2003 07:41 PM|LINK
f_f_f
Member
6 Points
3 Posts
Re: 'SiteConfiguration' could not be found compile error
May 03, 2008 02:50 AM|LINK
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
javafun
Member
110 Points
44 Posts
Re: 'SiteConfiguration' could not be found compile error
May 06, 2008 01:47 AM|LINK
Where can I find Choose 'Run Custom Tool' this option? I try to right click, but I can't find this option