Compile Error after migration or portal to new serverhttp://forums.asp.net/t/1373459.aspx/1?Compile+Error+after+migration+or+portal+to+new+serverTue, 20 Jan 2009 22:24:05 -050013734592879567http://forums.asp.net/p/1373459/2879567.aspx/1?Compile+Error+after+migration+or+portal+to+new+serverCompile Error after migration or portal to new server <p>Hi - </p> <p>I moved my rainbow 2006 application to a new server.&nbsp; I am getting the following error:</p> <p>Compiler Error Message: CS0246: The type or namespace name 'ControlDesigner' <br> could not be found (are you missing a using directive or an assembly reference?)</p> <p>Line 11: &nbsp;public class PagingDesigner : ControlDesigner </p> <p>Source File: c:\Inetpub\wwwroot\Rainbow\app_code\Rainbow\UI\Design\PagingDesigner.cs&nbsp;&nbsp;&nbsp; Line: 11 </p> <p><br> I also get an error:</p> <p>Compiler Error Message: CS0234: The type or namespace name 'DirectoryServices' <br> does not exist in the namespace 'System' (are you missing an assembly reference?)</p> <p>Line 5:&nbsp; using System.DirectoryServices;</p> <p>Source File: c:\Inetpub\wwwroot\Rainbow\app_code\Rainbow\Helpers\ADHelper.cs&nbsp;&nbsp;&nbsp; Line: 5 </p> <p>I have re-added references to system.web and system.directoryservices -- I have also re-compiled <br> the rainbow project and re-started iis, rebooted server.</p> <p>Is there anything else I should try?&nbsp; Do I need to install rainbow on this new server?&nbsp; The Server<br> is running Windows Server 2003 sp2 -- DotNet Framework 2.0</p> <p>thanks</p> 2009-01-20T16:29:31-05:002880117http://forums.asp.net/p/1373459/2880117.aspx/1?Re+Compile+Error+after+migration+or+portal+to+new+serverRe: Compile Error after migration or portal to new server <p>&nbsp;I solved this problem by selecting ASP.Net Version 1.1 in iis Manager -- it was set to 2.0<br> </p> 2009-01-20T22:24:05-05:00