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 ...Event ID 15372Event ID 15372
Previous
 
Next
New Post
9/21/2012 1:59 PM
 

I've got a DNN 6 installation running on a VM as a test bed for the developer in the office, and we're wanting to take that site and move it to our live web server for deployment.  Both the VM and the live server are Server 2003 32-bit with SQL 2008 R2 Express installed.

 When I copy the dotnetnuke folder to the new server and try to access the site, I get an event log entry in the application log from MSSQL$SQLEXPRESS saying :

Event Type:    Error
Event Source:    MSSQL$SQLEXPRESS
Event Category:    Logon
Event ID:    15372
Date:        9/21/2012
Time:        1:42:29 PM
User:        NT AUTHORITY\NETWORK SERVICE
Computer:    TMSWEB
Description:
Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. [CLIENT: <local machine>]

I've tried running SQL as LocalSystem, NetworkService, and as an Administrator.  I've set permissions on the dotnetnuke folder giving "Everyone" full access, as well as network service, local system, and the IIS account.  I've made sure that the application pool that the site is using is running as NetworkService.  I've even tried mounting the database on our SQL Standard server and changing the connection string to point to it instead of the SQL Express database, and I still get this error, along with the "Under Construction" page.

I've searched for that error message extensively, but I haven't been able to find anything that fixes the issue.  Any ideas?

 
New Post
9/21/2012 4:52 PM
 

Have you set the correct file permission and inherit it to all files and subfolders?  Check if the Network Service is a SQL user and have dbOwener permission to the database.

Be sure SQL Server alows remote Connection, and the TCP/IP Protokoll is enabled.

The error message tells that there is no Connection to the database.

The application pool user is the only user who need full access.  the IIS user needs read and maximal execute permission.

 
New Post
9/22/2012 6:30 AM
 
please review the windows user account specified in your application pool. if you are using "network service" and integrated security in your database connection strings within your web.config file, you should be able to access the server. make sure, the file is not attached to sql server, if using user instance mode (database specified in web.config by its file name)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/24/2012 1:00 PM
 
Matthias Schlomann wrote:

Have you set the correct file permission and inherit it to all files and subfolders?  Check if the Network Service is a SQL user and have dbOwener permission to the database.

Be sure SQL Server alows remote Connection, and the TCP/IP Protokoll is enabled.

The error message tells that there is no Connection to the database.

The application pool user is the only user who need full access.  the IIS user needs read and maximal execute permission.

SQL is running as Network Service, and that account does have full permissions to the database files, as well as everything else in the root of the DNN installation on down.

 TCP/IP is enabled in SQL Configuration Manager.

The application pool runs as Network Service, and does have full access.

 
New Post
9/24/2012 1:03 PM
 
Sebastian Leupold wrote:
please review the windows user account specified in your application pool. if you are using "network service" and integrated security in your database connection strings within your web.config file, you should be able to access the server. make sure, the file is not attached to sql server, if using user instance mode (database specified in web.config by its file name)

The user account listed in the Identity tab for the application pool is Network Service, and the web.config file has the default connection string for SQL Express:

<add key="SiteSqlServer" value="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=True" />

 The file isn't attached using SQL Server Management Studio.

 Now, I CAN open the database using SSMS, but apparently the DNN installation can't, even after a reboot to make sure that nothing still has the files marked as open.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Event ID 15372Event ID 15372


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