|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category.
** PLEASE BE SPECIFIC WITH YOUR QUESTION **
When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
March 27th, 2007, 09:30 AM
|
Registered User
|
|
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
HELP!!! Active Directory and SQL
Hi Everyone,
I am having a really BIG problem over hereâ¦
My web site, which is heavily borrowed from, Damon Armstrong, is working great! However, I need to modify it just a little bit.
The site is in C#, ( http://stage.rivier.edu), and it is a Web Parts portal, if-you-will. And I want to authenticate against Active Directory, as well as insert the users into the database, so it will remember userâs settings. Right now, I am using the ASPNET.MDF database through VS 2005. Ideally though, I would like to use SQL Server. But, I cannot attach to the database through SQL Server; I get errors.
Anyway, this is KILLING me!!!
I am fairly new to all of this and I need to have this done for, âtestingâ by April 2nd. I really need some help. I know I sound desperate⦠But thatâs because I am.
Thank you all for any help you can give me. It is GREATLY appreciated, and I only hope I can lend a helping hand in the future.
Cheers,
Dan
|
March 27th, 2007, 09:42 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Ok, first you did NOT have to spam the board with identical posts to get a reply. This is more annoying then helpful to your cause.
Do you have any version of SQL Server installed that you are trying to attach the MDF to? What version of SQL was the MDF created in?
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
|
March 27th, 2007, 09:52 AM
|
Registered User
|
|
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm sorry dparsons, you are right. I just know that with some boards, people can be round-about, and redirect you to another forum, like: Next time, you'll want to post this in the [fill_in_the_blank] forum. But you're right, I shouldn't have done that and I apologize.
Now, to answer your question. I do have SQL Server 2000 installed, as well as SQL Express. The MDF is actually the MDF file that VS 2005 and SQL Express creates, which is the default: ASPNET.MDF.
Hope that helps, and thanks again!
|
March 27th, 2007, 10:01 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Imar will probably need to correct me (or provide a simpler solution) on this as using Visual Studio to manage my database files is not my forte.
If you have the ability to create a backup of the database, you could use the .BAK file to populate a database in your SQL Server instance but, like I said, I have no experience with this so I do not know if that is even an option.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
|
March 27th, 2007, 10:26 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You can't restore a SQL 2005 to a 2000 instance.
However, you can use DTS or other methods (like scripting the data) to move the data from the 2005 version to 2000.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
|
March 27th, 2007, 10:31 AM
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Imar, thanks for clearing that up. I didn't imagine you could but I have never tried so didn't know. ^^
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
|
March 27th, 2007, 11:56 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
FYI: you can't do the reverse either. Both type of .bak files are tied pretty much to their respective versions.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
|
|
|