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  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Login failed for user, when trying to create sql express database in the installation
Previous Previous
 
Next Next
New Post 6/28/2008 9:24 PM
User is offline greg
70 posts
10th Ranked


Login failed for user, when trying to create sql express database in the installation 

I am running the new version of dotnetnuke, installing on a dedicated server running sql express on that same server.  I have enabled remote connections in for the sql server.  I have created a user name and password and given permissions to the network services account.  I cannot log into sql remotely from sql server manager express, and dotnetnuke cannot create a database during install either.  Both of these problems say they are due to failed log in.  Here is an example of the error

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 18456
Message: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

Of course the user changes when I log attempt to log in as myself but the error remains the same.  This isn't a firewall problem either.  I do not understand what is causing the error.  I have been working on this for a while and am about to throw the computer out the window so any help would be appreciated.  Oh I also gave an account to asp.net and IIS, those didn't help either (found that suggested on another forum.  

Thanks in advance. 

 
New Post 6/29/2008 1:28 AM
User is offline Sebastian Leupold
14222 posts
www.deutschnetnuke.de
1st Ranked












Re: Login failed for user, when trying to create sql express database in the installation 

Greg,

if both machines are on different machines, you need to make sure they are in the same domain and you are using a domain account, otherwise the accounts will be different. IMO it will be easier to configure using SQL Server accounts with username and password included in the connection string in web.config file.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 6/29/2008 1:44 AM
User is offline greg
70 posts
10th Ranked


Re: Login failed for user, when trying to create sql express database in the installation 

SQL database and website are on the same machine.  I am trying to do this from home but I do have access to computer with remote desktop and also plesk, so I can make changes on the server.  What do you mean by domain account and how do I set it up?  Right now I can't access sql server remotely but have done the steps to be able to several times and have checked them.  On the server I can now log in using sql account instead of windows authentication (which I couldn't do before).  I even tried to use the sa account to set up dnn but that did not work.  Are you saying that I should specify the user name and password in the webfig file instead of in the installation.  By the way I am simply using the typical install in the install version of dnn. (newest version)

 
New Post 6/29/2008 1:51 AM
User is offline greg
70 posts
10th Ranked


Re: Login failed for user, when trying to create sql express database in the installation 

Added user name and password to web config and the error has changed a bit (but unfortunately still an error here) 

Connection Error(s):
Index #: 0
Source: .Net SqlClient Data Provider
Class: 14
Number: 15364
Message: Failed to generate a user instance of SQL Server. Only an integrated connection can generate a user instance. The connection will be closed.

 
New Post 6/29/2008 4:34 AM
User is offline Sebastian Leupold
14222 posts
www.deutschnetnuke.de
1st Ranked












Re: Login failed for user, when trying to create sql express database in the installation 

Greg,

if using SQL Server Express with manually created database and login requires to use SQL2000/2005 connection string template, specifying database name not database mdf file name. HTH.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Login failed for user, when trying to create sql express database in the installation
 


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.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, e-Commerce, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com
Lucede Systems Group
Providing a full range of IT services for large and medium sized companies
www.lucede.com

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