Joe,
I opened the formwizard zip package and navigated to the dotnet40/wwwroot directory. I selected all of the contents and copied them to c:\inetpro\wwwroot\visionsdb which is the root folder of the website. I noticed that some files were overwritten (I am assuming so due to modifications necessary for the app). The files ended up in the following directories:
c:\inetpub\wwwroot\visionsdb\bin
c:\inetpub\wwwroot\visionsdb\App_GlobalResources
c:\inetpub\wwwroot\visionsdb\Data
c:\inetpub\wwwroot\visionsdb\FormWizard
c:\inetpub\wwwroot\visionsdb\Setup
The event viewer shows this error:
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Could not load file or assembly 'sts.FormWizard.Business' or one of its dependencies. Access is denied.
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Could not load file or assembly 'sts.FormWizard.Business' or one of its dependencies. Access is denied.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
Request information:
Request URL: http://localhost/visionsdb/setup/default.aspx
Request path: /visionsdb/setup/default.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
at System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies()
at System.Web.Compilation.BuildManager.CallPreStartInitMethods()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
I wanted to see if I could undue the problem by removing the formwizard files, and copying the deployment files from the original core application download (without removing the database and starting over). Oddly enough, I still get the same error. Looking at the event log above, it appears that there is an authentication problem, but I didn't change any settings from the point in which the website was working and the point in which I copied the formwizard files. Unfortunately, I do not possess the detailed knowledge of the interactions, so I don't know which direction to go. It is likely one small setting somewhere that I am overlooking.
I think I am following the steps properly, I am at the point in which I will happily give somebody control of the desktop to show me where my error is. I almost believe that it is a machine setting and NOT mojo that is the problem.
I think when this is over, I'll owe you a CASE of beer, and a POUND of coffee...
Thanks,
BoB