You need to Register for free and Login to post a message in the forum.

Forum

Subject: Stuffed up LocalHost and SQL
Prev Next
You are not authorized to post a reply.

Author Messages
ollep
DNN Creative Magazine Subscriber
Nuke Pro
Nuke Pro
Posts:81

29 Sep 2008 11:24 PM  

After reinstalling the SQL Server I get the following error when I attempt to access my local DNN Installation:


Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.


I checked around and they talk about sp_confgure everywhere.

But where do I find it and change the settings?


Cheers


Olle...

ollep
DNN Creative Magazine Subscriber
Nuke Pro
Nuke Pro
Posts:81

30 Sep 2008 6:59 AM  
OK, Nine hours later and Getting nowhere.

I’ve read 100 forum post and Not One can say how find “SP_Configure” Settings or how to Enable “User Instances”

Just did Issue32 of the Tutorials. Setting up the Database connection and creating Queries works fine – but I can’t get access to the Local Host installation:

Here’s the error – and I have tried reinstalling user a couple of times.

Login failed for user 'ollepersson'. The user is not associated with a trusted SQL Server connection.

I then tried to reinstall DNN 4:8:4 on my XP-Pro – in a different folder.

All worked fine until I tested the database connection and got this error.

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 15383
Message: Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.


Any Ideas Please??


Olle…
ollep
DNN Creative Magazine Subscriber
Nuke Pro
Nuke Pro
Posts:81

30 Sep 2008 7:30 AM  
Finally!!!!!!

I found this string in a forum:

'user instances enabled' is a server option of SQL Express, you can right click VS->new a Data Connection to the SQL Express instance->new a query->execute the following statements:
sp_configure 'user instances enabled', 1; RECONFIGURE


Congratulations
Congratulations, you have successfully installed DotNetNuke.


God Night!!!
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2318


30 Sep 2008 8:48 AM  
Glad that you got this solved.

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

01 Oct 2008 8:35 AM  
Hello,

Yes thanks for posting the info, I'm sure others will find it useful,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > Everything Else > Stuffed up LocalHost and SQL



ActiveForums 3.7

Latest Forum Posts

DNN Intranet Localhost by amine97
Hi, I would like to start an Intranet for my division (65 users) but only 10 users will have the ed...
RE: Menu's, menu's, and more menu's! by roadshow41
Well, I've purchased the Snapsis CSSMenu.  Installing it is turning out to be more complicated than ...
RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
DotNetNuke Modules
RSS Feeds