Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Runtime error on install.Runtime error on install.
Previous
 
Next
New Post
4/29/2016 9:27 PM
 

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:

 

 

---------------------------------------------

 
New Post
4/30/2016 1:06 PM
 
I would prefer using a dedicated website instead of a virtual folder in default site.
Create a folder in c:\intepub, grant permission, create a new website in IIS and point it to it
Bind the IIS website to the preferred domain name, for local test site, use a name you are declaring as alias in c : \windows \ system32 \ drivers \ etc \ Hosts file (not commented).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/30/2016 1:25 PM
 
I tried that still got the runtime error.
I have my other things running like as virtual applications (not virtual folders)
 
New Post
4/30/2016 4:27 PM
 
Just tried it again with it being a different site instead of a virtual application, still won't work.
In fact this time it just timed out.
 
New Post
4/30/2016 5:01 PM
 
Ok got it working. had to copy the connection string of siteSQLserver and make a localsqlserver string so it has both.

Seems odd.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Runtime error on install.Runtime error on install.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out