Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Yet again: Converting from Access to MS-S
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Yet again: Converting from Access to MS-S

 Post Reply Post Reply Page  12>
Author
Pilsener View Drop Down
Groupie
Groupie


Joined: 20 May 2006
Status: Offline
Points: 123
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pilsener Quote  Post ReplyReply Direct Link To This Post Topic: Yet again: Converting from Access to MS-S
    Posted: 17 September 2006 at 5:05pm
I used an XP-computer running DTS Server Import/Export wizard to convert an Access base to MS-SQL, for running on my server, that runs on Win 2003.
 
The wizard reports no errors, and the forum and the posts are displayed right.  However, I'm not able to add new topics or reply to topics.
 
I get an error msg saying that some column in some table doesn't allow NULL.  I tried to edit the settings for the tables (in MSSQL) that were reported, so that they would accept NULL in the columns mentioned.  This worked well for the first 2-3 tables that had this error-message, until I got a message saying "Illegal use of NULL".
 
Any ideas for solving this ?
 
Btw: The upsizing wizard in Access is not working for me at all, so don't suggest trying that. 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2006 at 5:32pm
It sounds like the method you are using is not moving across the default values to SQl Server.

There are different options you can select when using DTS, so you just need to mess around till you find one that works for you.
Back to Top
Pilsener View Drop Down
Groupie
Groupie


Joined: 20 May 2006
Status: Offline
Points: 123
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pilsener Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2006 at 5:46pm
This DTS-Wizard doesn't have many configuration settings really.
 
I need some hints here:
- What should I set as destination ?  I have used SQL Native Client so far.
- Is it neccecary to fiddle around with the settings for the tables ?
- Can I use WebWiz to set up an empty database, and then fill in only the contents of trhe tables ?   If yes: How do I copy only the contents, and not the settings ?
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 9:44am
You wouldn't be able to just copy across the data to an empty database due to the auto numbering fields.

If you use Access 2003 it has an option to make an MDE file from the Access database, an MDE file should be able to be attached to SQL Server as a database, so maybe worth giving that option ago.
Back to Top
Pilsener View Drop Down
Groupie
Groupie


Joined: 20 May 2006
Status: Offline
Points: 123
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pilsener Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 4:52pm
Can you give me a quick description on how to attach the MDE file to MSSQL ?
Back to Top
balearicjobs View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2002
Location: United Kingdom
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote balearicjobs Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 8:04pm
Originally posted by -boRg- -boRg- wrote:

You wouldn't be able to just copy across the data to an empty database due to the auto numbering fields.

If you use Access 2003 it has an option to make an MDE file from the Access database, an MDE file should be able to be attached to SQL Server as a database, so maybe worth giving that option ago.


Hi Borg

As you have probably gathered by now, I am OK with HTML and ASP as well as IT in general. However I'm a complete novice with databases, espically SQL.

If you don't mind and if you have the time, could you please explain to me how you go about attaching the MDE file? I've managed to export to an MDE without problem and also I have created a blank database. I've not got Enterprise manager however I have got that SQL Management Express from the Microsoft website.

I appreciate any help!
Thanks for your help!!!
Kind Regards
Rob,
Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 10:53am
Sorry I made a mistake, an SQL Server file is an mdf file not an mde file, so you probably can not attach it to SQL Server.

If you have an SQL Server mdf file it can be attached and detached from SQL Server by right clicking the database in SQL Studio Manager and selecting 'attach' or 'detacth'
Back to Top
balearicjobs View Drop Down
Groupie
Groupie
Avatar

Joined: 13 July 2002
Location: United Kingdom
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote balearicjobs Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 1:26pm

Thanks for letting me know.

I suppose the next obvious question is do you or anybody else know how to convert/export an Access file into a "mdf" file?

Thanks for your help!!!
Kind Regards
Rob,
Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.