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
None
0 Points
1 Post
'SiteConfiguration' could not be found compile error
Aug 20, 2003 10:25 AM|arjarj|LINK
None
0 Points
43 Posts
Re: 'SiteConfiguration' could not be found compile error
Aug 21, 2003 03:41 PM|alex3wworld|LINK
None
0 Points
3 Posts
Re: 'SiteConfiguration' could not be found compile error
May 02, 2008 10:50 PM|f_f_f|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
Member
40 Points
44 Posts
Re: 'SiteConfiguration' could not be found compile error
May 05, 2008 09:47 PM|javafun|LINK
Where can I find Choose 'Run Custom Tool' this option? I try to right click, but I can't find this option