0 Unhandled .NET exception in w3wp.exe when "flip the switch" 8 Hock_Hin Lee posted 8 Years Ago >>> Installing Rock on Windows Server 2012 R2 Essentials with SQL Express 2014. Rock install went all the way till the last screen to flip the switch. Click on the "Flip the Switch" button. then hit the error " An unhandled Microsoft .NET Framework exception occured in w3w.exe [2568] So downloaded and installed all the available updates, re-run the install and hit a similar error. Error code now [7024] The JIT debugger won't run because I did not install MS Visual Studio.
Hock_Hin Lee 8 years ago This is great news Jim. Thanks for the good work. So, was it the URL that was causing the problem? If so, then I have to configure my DNS for a URL to point to my server's IP. Do you know if I can use a fixed ip e.g. http://192.168.0.99 as the Internal and Public URLs as a quick fix?
Hock_Hin Lee 8 years ago Can you please post a screen shot of your App Pools? Just for me to compare. Good night. It is 2:13 am here.
Hock_Hin Lee 8 years ago I can now report that I have managed to successfully install Rock in Windows Server 2012 R2 Essentials. The URLs entered during Rock's Install prompts were not the cause of the problems. I had to enter arbitrary URLs this time also. I think it was the . . . IIS Manager > Default Web Site > Advanced Settings > Physical Path; and Application Pool . . . settings that were important.I think my other attempts failed because I did not restore the system before trying again. This time was successful because I did a full install, starting with Windows Server itself.Thanks again for all your help Jim.
Jim Michael 8 years ago Great, glad you got it working. It was an interesting learning experience for me, for sure! I will reiterate here (mostly for future people coming upon this thread) that in my opinion, Windows Essentials is not a good choice on which to run Rock, primarily because of it's need to be a Domain Controller. SQL Server isn't even supported to be installed on a DC according to MS https://support.microsoft.com/en-us/kb/2032911 That's not to say it "doesn't work" (as you've discovered), it's just an unsupported config with security compromises and (again, my opinion) not worth the cost savings to not just run Windows Server Standard (which has none of these issues), especially since many churches get non-profit pricing for MS software via TechSoup and it's pretty cheap.
Jim Michael 8 years ago Hmm... that looks exactly as it should. Unfortunately I'm out of suggestions. I am going to install Essentials into a VM and see if I can replicate your issue here. Based on the fact that the IIS Document Root was in a non-standard spot, I'm guessing there is some other portion of IIS that isn't configured properly on Win Essentials to allow Rock to run, but I need to do it hands-on. I will try to get to it today.
Kelley Langkamp 8 years ago Is there anything in your event log? It could be a permissions issue and IIS will generally put something in the event log if that is the case. If as Jim said the IIS Document Root is in a non-standard spot, then it is possible that the permissions are not set properly.
Hock_Hin Lee 8 years ago Jim, I really appreciate all the effort you are putting in. Thanks. For your info, the OS and program files are in C: drive (Solid State Drive) and I configured SQL express to have the data files in D: drive (Raid 0 Harddisks). See Answer below for details.Kelley, it is now 11:30pm local time here in Malaysia. I am at home and the Server is in the church office. I will check the log tomorrow. Thanks for the suggestion.One thing I was thinking of trying is to set the IIS default web path back to its original value and try to install Rock there(the original default IIS folder).
Jim Michael 8 years ago Sorry, just getting back to this after the weekend. I struggled all day Friday with this thing just trying to get SQL Server installed... it keeps failing to run the "Database Engine Services" during install. I tried it all again today with same result... for whatever reason my 2012R2 Essentials VM does NOT like SQL Server Express 2014. Unfortunately I don't have more time to devote to this since it's not really a need for us. That said, having now seen/played with Windows Server Essentials for the first time, I would not want to run Rock on it. The fact that it makes itself a domain controller with DNS, DHCP, etc out of the box with little to no control over that, and the fact that you can't add ANOTHER server to the same network would make it a show stopper for us.
Jim Michael 8 years ago I don't think you can leave those blank, and you wouldn't want to. They both need to resolve to the IP address of your rock server, and most installs end up using the same url inside and out... so if you want to always get to your server via rockweb.cgmcipoh.org, you would put that in for BOTH internal and external URL.
Hock_Hin Lee 8 years ago Jim, I have some questions for the Advanced Settings of the Default Web Site configuration. Please refer to the next "Answer" panel
Jim Michael 8 years ago Mine is working with the default Root App setting, but I would definitely try changing it to default on yours, since your exception seems to actually mention "RootApp" in the error.