Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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
 
Old October 24th, 2003, 03:04 PM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSDE Problem

Hi, I've got this problem with your instructions for running the code and database, which one can download from your site.

It states that : "..The procedure for database backup is same for both MSDE and SQL server 2000..."

and then you guys state :

"..Restore the thephile-database-backup database file in SQL Server Enterprise Manager .."

But MSDE doesn't have a EM or even a QA for that sake. Its just a service running and yes, it does have a DTSRUN.EXE somewhere in the deep realms of the bin catlog of an extension i found, but i can't figure out how the bloody ¤¤¤¤, i should import the data...

I've already stripped google, but couldn't really find a useful tool.

Has: Frustration , Will exchange for: Link


 
Old October 29th, 2003, 03:26 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

You can download trial version of Microsoft SQL Server 2000 from the following URL

http://www.microsoft.com/sql/evaluat...al/default.asp


Install it on client machine such as windows 2000 professional and setup will install only client tools, so you can use Enterprise manager for all management related issues.
 
Old February 4th, 2004, 09:48 AM
Registered User
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can also download this handy piece of software that provides some of the functions of SQL Enterprise Manager:

http://www.asql.biz/DbaMgr.shtm

Good luck.
 
Old August 3rd, 2004, 10:03 AM
Authorized User
 
Join Date: Nov 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to seanmayhew
Default

Neither of these responses really answer the question they just say cant get MSDE to work download SQL Server 2000 trial or Use this manager. Has anyone actually gotten the backup into MSDE and if so HOW?
 
Old August 3rd, 2004, 10:33 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

This might help:

http://www.microsoft.com/downloads/d...DisplayLang=en


 
Old August 3rd, 2004, 05:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can't restore a database backup file into MSDE without using Enterprise Manager.

Like another poster said, you can get Enterprise Manager for free, and it will work with MSDE. The SQL Server 2000 trail download comes with the client tools, and that includes Enterprise Manager. These client tools don't expire.

The original code download for this book didn't require this database restore. They supplied a SQL script that could create all the objects. Yes, it's still in the code download, but it's obsolete now. They made some changes after the book was published, so the script doesn't have all the lastest stuff.

You need to restore the database backup file if you want it all.

Eric
 
Old August 25th, 2004, 07:01 AM
Authorized User
 
Join Date: Oct 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can restore the database with MSDE. I downloaded the MSDE setup file, and installed with the following command:
setup.exe /qb+ INSTANCENAME=DOTNET DISABLENETWORKPROTOCOLS=1 SECURITYMODE=SQL BLANKSAPWD=1
Then, to restore the database, I copied thephile-database-backup to c:\Phile.bak, and the used:
osql -S MACHINENAME\DOTNET -U sa -P (replace MACHINENAME with your own machine name). You then get a 1> prompt. Then:
1>RESTORE DATABASE THEPHILE FROM DISK='C:\PHILE.BAK' WITH RECOVERY
2>GO

Hope this helps.

 
Old August 26th, 2004, 06:27 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's cool. Thanks for the info!
I think this will help a lot of people.

Eric
 
Old December 2nd, 2004, 11:40 PM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Hamilton,
I've tried to ur command and 'osql -S MYMACHINENAME\MSSQLSERVER -U sa -P' and I got
[DBMSLPCN]Invalid connection.
[DBMSLPCN]ConnectionOpen <ParseConnectParams<>>

hope you can advise me on this,
:)


Quote:
quote:Originally posted by nigelhamilton
 You can restore the database with MSDE. I downloaded the MSDE setup file, and installed with the following command:
setup.exe /qb+ INSTANCENAME=DOTNET DISABLENETWORKPROTOCOLS=1 SECURITYMODE=SQL BLANKSAPWD=1
Then, to restore the database, I copied thephile-database-backup to c:\Phile.bak, and the used:
osql -S MACHINENAME\DOTNET -U sa -P (replace MACHINENAME with your own machine name). You then get a 1> prompt. Then:
1>RESTORE DATABASE THEPHILE FROM DISK='C:\PHILE.BAK' WITH RECOVERY
2>GO

Hope this helps.






Similar Threads
Thread Thread Starter Forum Replies Last Post
sql server connection problem in msde oldbig89 SQL Server 2000 1 February 8th, 2006 05:46 PM
having problem installing SQL/MSDE kenh BOOK: Beginning ASP 3.0 0 March 30th, 2005 10:12 PM
Problem about DateANdTime field in MSDE doctorsom SQL Server 2000 1 October 12th, 2004 12:10 PM
MSDE connection problem (Newbie) rahzan SQL Server 2000 2 June 29th, 2004 08:32 AM
Big problem with VB + MSDE 7 predal Pro VB 6 2 April 2nd, 2004 03:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.