Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 18th, 2007, 04:54 PM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default loading webshop into MSSQL 2000

I have loaded the WebShop database into MSSQL 2000 using the DTSWIZ.exe program for SQLEXPRESS but I can't seem to get the stored procedures to load into the MSSQL 2000 database. Do you know how I can get the webshop database into the MSSQL 2000 database for the Webshop. I can to this will scripts if you have them or if you have a version of the webshop databse for MSSQL 2000. Please let me know.

  #2 (permalink)  
Old October 18th, 2007, 05:00 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

If you have a running version of the WebShop database in SQL 2005, you can simply script all procedures using SQL Server Management Studio and then run them against SQL 2000.

There might be a few incompatibilities (nvarchar(max) versus ntext, but not much, if any at all......

Imar
  #3 (permalink)  
Old October 18th, 2007, 05:40 PM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I did that with the stored procedures but when I ran the program I kept getting an error comlaining the the schema version was at level 1. I'm not sure how to get around that.

Matt

  #4 (permalink)  
Old October 19th, 2007, 12:54 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

That error is usually caused by the fact there is no data in the aspnet_* tables. Some of those table require some base data to function correctly.
Search your computer (and this forum for info) for a tool called aspnet_regsql. You can use it to configure your database for ASP.NET Services like membership.

Cheers,

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.
  #5 (permalink)  
Old October 19th, 2007, 07:49 AM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did run the aspnet_regsql utility but I don't see any data in those table until I import my data using dts.

  #6 (permalink)  
Old October 19th, 2007, 07:56 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You can simply copy some existing records into your new database as well....

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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to MSSQL-- All about it Chrisman ASP.NET 3.5 Basics 3 May 17th, 2008 03:23 AM
MSSQL 2005 and MSSQL 2000 tiredcat Visual Basic 2005 Basics 0 April 9th, 2007 12:56 AM
Full Text Search using MSSQL 2000 + ASP.net 2.0 shaileshk ADO.NET 0 February 6th, 2007 06:17 AM
Help!!!! MSSQL will not connect jts7979 Classic ASP Databases 1 December 12th, 2004 11:34 PM
Problems with JSP and MSSQL Server 2000 kakram JSP Basics 0 August 22nd, 2003 10:50 AM



All times are GMT -4. The time now is 01:05 AM.


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