I am replying to my own post. I discovered that if I set my front page author access to allow loading of executable files. After doing this the web was uploaded. Then I went to the site and it complained that I didn't have access on certain directories and prompted me to set access for NT AUTHORITY\NETWORKSERVICE to read, write and modify which I did. Then when I went to the site again, it completed most of the installation. There were some errors trying to install some of the modules.
When I clicked on the link that said click here to access your portal I got an exception. Here is what it was:
[HttpException (0x80004005): The directory '/App_Code/Reports/' is not allowed because the application is precompiled.]
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +3458850
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.CompileCodeDirectories() +445
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +448
[HttpException (0x80004005): The directory '/App_Code/Reports/' is not allowed because the application is precompiled.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456
[HttpException (0x80004005): The directory '/App_Code/Reports/' is not allowed because the application is precompiled.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252
Does this mean that I cannot use the precompiled application option? I'm not sure how to turn that off in Visual Studio. I almost always use it. If I don't use the precompiled option, won't the source files be copied to the website? I usually use the precompiled option so that the source files are not on the website.
Any thoughts or help?
Thanks