R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
SQL 2005 and Northwind
Last Post 01 Jan 1900 05:00 AM by . 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
rmarshallUser is Offline
New Member
New Member
Posts:27

--
13 Oct 2006 10:48 PM  
I installed DNN using SQL 2005 Express, but when I open the database manager for SQLExpress the DNN DB isn't in there. So, I imported the Northwind DB to be able to do some of the ListX examples and I am unable to connect to the Northwind DB just by specifying SELECT * FROM Northwind.dbo.Employees.

What do I need to do to connect to the Northwind database imported into SQL Express 2005 installed on the same system as DNN?

Should I just switch to SQL 2000 so all this looks like I am use to?
Thank you,<br>Richard M.
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
16 Oct 2006 03:02 PM  
YOu might want to check to make sure the user in your web.config file for DNN has full access to the Northwind db you created.
ListX....makes you look brilliant, even though you're not.
rmarshallUser is Offline
New Member
New Member
Posts:27

--
16 Oct 2006 04:52 PM  
If I were using SQL 2000 that would be an easy answer. The problem I am having is that SQL 2005 Express is different. There is no username specified in the web.config.
Thank you,<br>Richard M.
rmarshallUser is Offline
New Member
New Member
Posts:27

--
17 Oct 2006 10:10 PM  
I figured it out. I needed to specify a connection string in the Connections field:
Provider=SQLNCLI;Server=.\SQLExpress;Database=Northwind;Trusted_Connection=Yes;
Thank you,<br>Richard M.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share