I am trying to migrate my DNN 2.x sites from a Windows 2003/IIS 6.x server to a new Windows 2008 R2/IIS 7.5. After copying all the files and setting up the new website within IIS 7.5, I have assigned it the ASP.NET v2.0 AppPool and tried running it in both Classic and Integrated pipeline mode but neither works. I have tried using the Application Pools default Identity of ApplicationPoolIdentity and also tried NetworkService, but can't get IIS 7.5 to server up the dotnetnuke site.
I am able to create a basic (non-DNN) default.aspx file which is rendered properly without error in the same website directory. I'm thinking it might be something related to the web.config. I read something about changing the identity impersonate to false within the web.config file for this dotnetnuke website, but that section is currently commented out and the default authentication mode is Forms. Checking the directory security, NETWORK SERVICE does have full control on the folder containing the dotnetnuke files.
Any help would be greatly appreciated.
The errors I get in event viewer associated to the application pool pipeline mode are as follows:
Classic Mode:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
No Event Viewer error
Integrated Mode:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
Event ID: 1309, ASP.NET 2.0.50727.0
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/18/2011 10:54:43 AM
Event time (UTC): 1/18/2011 3:54:43 PM
Event ID: f3924054230945139a3c4e731cae2eff
Event sequence: 3
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/7/ROOT-2-129398396720195348
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\Other\DeltaStamping\
Machine name: ABL2
Process information:
Process ID: 10256
Process name: w3wp.exe
Account name: IIS APPPOOL\ASP.NET v2.0
Exception information:
Exception type: ArgumentException
Exception message: Absolute path information is required.
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\ASP.NET v2.0
Thread information:
Thread ID: 16
Thread account name: IIS APPPOOL\ASP.NET v2.0
Is impersonating: False
Stack trace: at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart)
at System.Web.Caching.CacheDependency..ctor(String filename, DateTime start)
at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, Boolean PersistAppRestart)
at DotNetNuke.Entities.Host.HostSettings.GetHostSettings()
at DotNetNuke.Services.Scheduling.SchedulingProvider.get_SchedulerMode()
at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.Halt(String SourceOfHalt)
at DotNetNuke.Services.Scheduling.DNNScheduling.DNNScheduler.Halt(String SourceOfHalt)
at DotNetNuke.Common.Global.Application_End(Object Sender, EventArgs E)
Custom event details: