Okay, I went through those in no particular order:-
3) I decided to try the console version first, and that worked fine.
1) All those files are present.
4) I looked at the event log next and saw one warning and one error:-
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1073
Date: 30/03/2007
Time: 10:30:46
User: N/A
Computer: P4-2800
Description:
Failed to initialize the AppDomain:/LM/W3SVC/1/ROOT
Exception: System.Configuration.ConfigurationErrorsException
Message: Exception of type 'System.Configuration.ConfigurationErrorsException' was thrown.
StackTrace: at System.Web.Configuration.ErrorRuntimeConfig.ErrorConfigRecord.System.Configuration.Internal.IInternalConfigRecord.GetLkgSection(String configKey)
at System.Web.Configuration.RuntimeConfigLKG.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_HostingEnvironment()
at System.Web.Hosting.HostingEnvironment.StartMonitoringForIdleTimeout()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1088
Date: 30/03/2007
Time: 10:30:47
User: N/A
Computer: P4-2800
Description:
Failed to execute request because the App-Domain could not be created. Error: 0x80131902
2) There is no specific read or write access set up for the aspnet user account. On checking the user accounts, I discovered there isn't an aspnet user account at all, so that might be why :)
It seems my installation of IIS hasn't worked properly... though the Windows Components Wizard now shows it as installed, with all subcomponents ticked.
It has created two new accounts; an anonymous guest account called IUSR_P4-2800 and a "Built in account for Internet Information Services to start out of process applications" called IWAM_P4-2800. No aspnet account though. I'm guessing just creating one manually isn't going to help.