I have been trying to install an instance of DotNetNuke version 04.05.05 on a hosted web space, but I keep getting an error when I first access the site.
I have successfully created an installation on my local machine (on Windows XP) from the same files, using the bundled SQL Server 2005 Express database.
When I try creating an instance from the files on the hosted site (which is configured for .Net 2.0) I get the following error message:
[XmlSyntaxException: Invalid syntax on line 194.]
System.Security.Util.Parser.GetRequiredSizes(TokenizerStream stream, Int32& index) +2698068
System.Security.Util.Parser.ParseContents() +138
System.Security.Util.Parser..ctor(Tokenizer t) +39
System.Security.SecurityManager.LoadPolicyLevelFromStringHelper(String str, String path, PolicyLevelType type) +83
System.Security.SecurityManager.LoadPolicyLevelFromString(String str, PolicyLevelType type) +37
System.Web.HttpRuntime.CreatePolicyLevel(String configFile, String appDir, String binDir, String strOriginUrl, Boolean& foundGacToken) +512
System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection, SecurityPolicySection securityPolicySection) +513
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +256
[HttpException (0x80004005): Invalid syntax on line 194.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3540923
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +275
I have copied the files to the site several times with the same result, so I am fairly confident that the instance is not corrupted.
Can anyone suggest what the issue might be?
Thanks