InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


Stored Procedures Expand / Collapse
Author
Message
Posted 13/08/2003 03:38:00
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/01/2004 04:51:00
Posts: 3, Visits: 1

Hi,

I`m having real problems trying to upload the stored procedures from my local sql database upto my remote sql database using Microsoft SQL - Enterprise Manager.

Has anyone else had similar problems?

Post #834
Posted 13/08/2003 07:32:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 2 days ago @ 16:29:04
Posts: 1,956, Visits: 3,018

Hi Neil,

Thank you for your post, sorry to hear your having problems.

When you say your having trouble could you please explain a little. Are you receiving any error messages or is the script simply not generating the tables and / or stored proc. Any further information you can provide would be greatly appreciated




Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #837
Posted 13/08/2003 08:13:00
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/01/2004 04:51:00
Posts: 3, Visits: 1

Hi Ryan,

When I try to export the Stored Procedures it says "Failed to copy objects from Microsoft SQL Server to Microsoft SQL Server".

And then says "User or role 'neil' already exists in the current database."

Post #838
Posted 14/08/2003 05:52:00


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 2 days ago @ 16:29:04
Posts: 1,956, Visits: 3,018

Hi Neil,

Are you using DTS to export the data to a remote server ? Is it possible you can use the .SQL file to create the tables and stored procs on the remote SQL Server ?

I'm assuming your using the DTS tool because you have data locally which you would like to carry over. You could be receiving this error for a number of reasons. You mention that the its only the stored procs your having problems with. If your tables have copied over then i would suggest creating the stored procedures using a tsql script. I would be more than happy to supply a .sql script you can use which will not add or modify any tables but just create the stored procs if you wish.

If you would still like to use DTS please ensure you are selecting "copy database objects between sql servers" and not "copy tables, views and data". You see iden****ies, defaults, primary keys etc are all objects and relate to the table.

I also found a very interesting article you may wish to read http://www.tek-tips.com/gviewthread.cfm/pid/183/qid/354710

Please don't hesitate to contact me if you still have any questions





Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #841
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 8:41am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.