We have a new site that exists in a subdirectory of our current site http://cpl.org (which lives in just htdocs) -- the new site is http://cpl.org/ocb (htdocs/ocb) There is currently an old live version of this new site on another server at http://ohiocenterforthebook.org
So, when setting up the domain in IIS 7.5 I created a new site and setup the bindings as I have for many other sites in the past ... I browse the server and point the new site to to htdocs/ocb
I've changed my host file to test the domain on the new server, since the DNS work has not yet been done because we don't want to switch from the old site to the new site until we're sure the new site is working, and I get the following error when I try to go to the site in a web browser:
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30822: 'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.
Source Error:
|
Line 6: Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Line 7: Line 8: Dim DomainName As String = Null.NullString Line 9: Dim ServerPath As String Line 10: Dim URL() As String
|
Source File: D:\inetpub\www.cpldnn.com\htdocs\ocb\Default.aspx Line: 8
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\033a7db9\30e57547\App_Web_91iqwb88.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\033a7db9\30e57547\App_Web_91iqwb88.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\033a7db9\30e57547\App_Web_91iqwb88.1.vb" Microsoft (R) Visual Basic Compiler version 8.0.50727.4927 for Microsoft (R) .NET Framework version 2.0.50727.4927 Copyright (c) Microsoft Corporation. All rights reserved. C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\033a7db9\30e57547\App_Web_91iqwb88.0.vb(14) : warning BC40056: Namespace or type specified in the Imports 'DotNetNuke' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Imports DotNetNuke ~~~~~~~~~~ D:\inetpub\www.cpldnn.com\htdocs\ocb\Default.aspx(8) : error BC30822: 'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead. Dim DomainName As String = Null.NullString ~~~~
|
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Our project manager told us to try just pointing to the site URL rather than browsing for it on the server, but I don't see a simple way to do that in IIS 7.5 -- When setting up the site I only see that you can browse to the directory. Any help with this would be great!