So in my setup I have a 2008R2 IIS server and a SQL 2014 server (not on the same server)
Lets call them WEB and SQL, they're a member of my home domain lets call it domain.local
I downloaded the install package from http://www.dnnsoftware.com/community/...
Then in Active directory I made a user DNNuke
In SQL Management Studio I made a database called Blog and granted SQL access to the AD user DNNuke (As it says here http://www.dnnsoftware.com/wiki/how-t... just with a service account instead of using the system account)
Then in IIS I made a new application pool called Blog and set it to use the AD user DNNuke, with dotnet framework set to 4.0 (options being 2.0 or 4.0)
Then created a new virtual application under the default site with a physical path of D:\WEB\Blog\
Granted NTFS permissions on the folder to give DNNuke full control
Then unzipped the install package and copied it to the D:\WEB\Blog folder.
Then as per the install guide I browsed to \blog and get a runtime error
In the event log I get the following message
-------------------------
Event code: 3008
Event message: A configuration error has occurred.
Event time: 4/29/2016 8:27:11 PM
Event time (UTC): 4/30/2016 1:27:11 AM
Event ID: aca84eb86a244f21a8ffdc6b4091d207
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/Blog-3-131064532261934682
Trust level: Full
Application Virtual Path: /Blog
Application Path: D:\WEB\Blog\
Machine name: 2008R2-WEB
Process information:
Process ID: 2112
Process name: w3wp.exe
Account name: IIS APPPOOL\Blog
Exception information:
Exception type: InvalidOperationException
Exception message: The pre-application start initialization method Start on type WebMatrix.WebData.PreApplicationStartCode threw an exception with the following error message: The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 283).
at System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures)
at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods)
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 283)
at System.Web.Security.Roles.Initialize()
at System.Web.Security.Roles.get_Providers()
at WebMatrix.WebData.WebSecurity.PreAppStartInit()
at WebMatrix.WebData.PreApplicationStartCode.Start()
The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.
at System.Web.Util.SecUtility.GetConnectionString(NameValueCollection config)
at System.Web.Security.SqlRoleProvider.Initialize(String name, NameValueCollection config)
at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)
Request information:
Request URL: https://www.domain-logix.net:443/blog/
Request path: /blog/
User host address: 2001:470:b801:2:6ef0:49ff:fe58:94ea
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\Blog
Thread information:
Thread ID: 25
Thread account name: IIS APPPOOL\Blog
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures)
at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods)
at System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded)
at System.Web.Compilation.BuildManager.ExecutePreAppStart()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Custom event details:
---------------------------------------------