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 ...Windows 7 IIS 7.5  Failed to generate a user instance of SQL Server Windows 7 IIS 7.5 Failed to generate a user instance of SQL Server
Previous
 
Next
New Post
2/25/2010 10:15 PM
 

I know this has been posted before but please bare with me.   I am new to dot net and DNN and just trying to get it installed to play around.

I am getting the following error on the install wizzard of the 5.02.02 install:  

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 15382
Message: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.

I have gone into the defaultAppPool and changed the following:  Identity to NetworkService and Load User Profile to True.     This seems to fix most but not mine.     In my  web.config the following connection string exists: <connectionStrings>
        <remove name="LocalSqlServer" />
    <!-- Connection String for SQL Server 2005/2008 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
        <add connectionString="data source=.\SQLExpress;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=false" name="LocalSqlServer" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2005/2008
       <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" />
    -->
  </connectionStrings>

In my DotNetNuke web folder on the ASP.net database connection String has an entry named SiteSqlServer and custom button selected with the following string:  Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;

The wizzard wont let me past the db connection tab and I am stuck.   Any help would be appreciated.    I have searched and searched but either I am not understanding solutions or they are not working.

Thanks in advance, Mike

 
New Post
2/26/2010 1:56 PM
 

Have you given "Network Service" permissions on you web folder? 

Network Services needs Modify; Read&Execute; List folder contents; Read; Write permissions

 Also, if you're performing a vanilla installation (SQL Express) using the included database in App_Data you should just leave the defaults on the database installation screen.


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/26/2010 2:07 PM
 

Ken,

Thanks for the reply.   I thought I gave Networks services those permissions but I did have some issues with that.   Can you give me the exact steps for windows 7 and I will verify if is is correct.   I could possibly not be had trouble finding the Network Services user.

Also it is a vanilla installation and yes I did not change anything in the install wizzard  on the database connection page.   Even when the install starts it give me the "cannot connect to DB error".    I must be missing something here on your last statement.

Thanks so much for the reply.   I think it is something really simple.

 

Mike

 
New Post
2/26/2010 4:45 PM
 

Check this thread where I listed all the steps required in Win7:

http://www.dotnetnuke.com/Community/F...


Ken Grierson
DotNetNuke Corporation
Test Lead
 
New Post
2/27/2010 6:26 AM
 

Ken,

I read the article and it looks like I match.   Let me summarize on the key points and what I am looking at.

I go to the path where dotnetnuke is extracted.   c:\dotnetnuke.

I right mouse click on it and select properties and click on the security tab.

I have one user called Network Service.   It has modify, read&execute, read, write and list folder contents

I have another user called IUSER.   It has read&execute,list folder contents, read.  (I am assuming this is the IIS_USRS you are referring to)

I am usinge SQLExpress 2008 from what I can tell from the download.   In the configure database connection, I have the SQL Server 2005/2008 SQL (Express) file radio button selected.    Left everything default from the instrucitons.   In the database name field, it defaulted to Database.mdb and the integrated secuirty box is clicked.

When I hit test connection, I still get the very same thing, I would not think the default install should be that difficult.  Totally confused on this one.

Thanks, Mike

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Windows 7 IIS 7.5  Failed to generate a user instance of SQL Server Windows 7 IIS 7.5 Failed to generate a user instance of SQL Server


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