Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  Observations so far
Previous Previous
 
Next Next
New Post 7/22/2005 11:28 AM
User is offline Mike Horton
3191 posts
dnn.gmss.org
4th Ranked






Observations so far 

First let me say, "Great Job Geert"

Now on to my observations so far. Installing using Windows Authentication seems to work like a dream. Bing, bang, boom I had the site up and running.

Installing with a generic SQL user account however seems to have some issues. The user account is added to the SQL database without any problems it isn't getting db ownership rights. I've now given it ownership permissions but is throwing the following error: ERROR: Could not connect to database specified in connectionString for SqlDataProvider. But I can connect to the database with no problems through Query Analyser.

I'll keep testing and will try to see what's screwing up on my local system for sql accounts but thought I'd post whatever observations I had so far. Maybe it isn't just me.

 

 
New Post 7/22/2005 11:52 AM
User is offline Mike Horton
3191 posts
dnn.gmss.org
4th Ranked






Re: Observations so far 

Further to my previous post. Just ran the installer again and created a 3rd install but also created a new sql user and everything worked perfectly. So that leads me to think that I hosed something somewhere in the past on my MSDE install. I've got a SQL user account called dnnuser that I use for every development install on my laptop. I just created a Test database and the dnnuser account is being automatically copied in as a user yet the blah account that I used for my 3rd install didn't. I can't see any difference between the two accounts so if someone has a hint I'd appreciate it. It'll also give us an answer if someone else runs into the same situation that I did.

EDIT: I just ran a 4th install using the account I created in the 3rd install and ran into the same situation. It seems like somewhere it isn't happy if you use an existing account though I've never run into that when setting up DNN manually.

 
New Post 7/22/2005 12:18 PM
User is offline Mike Horton
3191 posts
dnn.gmss.org
4th Ranked






Re: Observations so far 

Eureka!!! Okay, this is what I've discovered. You can't mix Windows Authentication and SQL Authentication. In other words, you can't use WA to create the database then assign an SQL user account as the db user.

Also, it appears that when using a SQL account you have to check the "Create SQL Login Id" regardless of whether the account already exists as a user on another database or the proper permissions aren't set on the user account.

 
New Post 7/22/2005 1:10 PM
User is offline Geert Veenstra
552 posts
services.schmit.nl
8th Ranked




Re: Observations so far 

Mike,

Thanks for the feedback.

You are right about your last conclusion. There seems to be a problem here (it used to work, however I made some changes which seem to have caused this).

Even though the TrustedConnection=True is set in the upgradeConnectionString, the ASPNET user is not added as a login to the database.

I'm still trying to determine the safest way to setup the database (I think the safest way is to use the upgradeConnectionString using a database user that has permissions to create the tables / s.p.'s and using a normal db user that has only execute permissions on the s.p.'s).

 


Geert Veenstra
 
New Post 7/22/2005 2:30 PM
User is offline Mike Horton
3191 posts
dnn.gmss.org
4th Ranked






Re: Observations so far 

I didn't try doing an SQL create database with a Windows User DNN account (trusted connection) so I didn't catch that one. I just noticed that I had to Create the SQL Id even when I was using an existing SQL account and an sa SQL user creating the db.

I think you're on the right track with the safest way to update the user. Is there anywhere we can download the code to take a look at it?

 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  Observations so far
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP