I moved my rainbow 2006 application to a new server. I am getting the following error:
Compiler Error Message: CS0246: The type or namespace name 'ControlDesigner'
could not be found (are you missing a using directive or an assembly reference?)
Line 11: public class PagingDesigner : ControlDesigner
Compiler Error Message: CS0234: The type or namespace name 'DirectoryServices'
does not exist in the namespace 'System' (are you missing an assembly reference?)
I have re-added references to system.web and system.directoryservices -- I have also re-compiled
the rainbow project and re-started iis, rebooted server.
Is there anything else I should try? Do I need to install rainbow on this new server? The Server
is running Windows Server 2003 sp2 -- DotNet Framework 2.0
pvitt
0 Points
2 Posts
Compile Error after migration or portal to new server
Jan 20, 2009 04:29 PM|LINK
Hi -
I moved my rainbow 2006 application to a new server. I am getting the following error:
Compiler Error Message: CS0246: The type or namespace name 'ControlDesigner'
could not be found (are you missing a using directive or an assembly reference?)
Line 11: public class PagingDesigner : ControlDesigner
Source File: c:\Inetpub\wwwroot\Rainbow\app_code\Rainbow\UI\Design\PagingDesigner.cs Line: 11
I also get an error:
Compiler Error Message: CS0234: The type or namespace name 'DirectoryServices'
does not exist in the namespace 'System' (are you missing an assembly reference?)
Line 5: using System.DirectoryServices;
Source File: c:\Inetpub\wwwroot\Rainbow\app_code\Rainbow\Helpers\ADHelper.cs Line: 5
I have re-added references to system.web and system.directoryservices -- I have also re-compiled
the rainbow project and re-started iis, rebooted server.
Is there anything else I should try? Do I need to install rainbow on this new server? The Server
is running Windows Server 2003 sp2 -- DotNet Framework 2.0
thanks
pvitt
0 Points
2 Posts
Re: Compile Error after migration or portal to new server
Jan 20, 2009 10:24 PM|LINK
I solved this problem by selecting ASP.Net Version 1.1 in iis Manager -- it was set to 2.0