473,396 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Rebuild dependancy Information

Is it possible to rebuild dependancy information for objects in a database?

I can hardly ever DTS a database across to another server because
something will fail with the message "invalid object name
<name_of_a_view>". This happend to me just now on a database with just
12 tables and 4 views. What hope for my other databases with 100s of views?
Jul 20 '05 #1
4 2017
(Reposted question)
Is it possible to rebuild dependancy information for objects in a database?

I can hardly ever DTS a database across to another server because
something will fail with the message "invalid object name
<name_of_a_view>". This happend to me just now on a database with just
12 tables and 4 views. What hope for my other databases with 100s of views?

Jul 20 '05 #2

"Trev@Work" <no.email@please> wrote in message
news:40***********************@news.easynet.co.uk. ..
(Reposted question)
Is it possible to rebuild dependancy information for objects in a database?
I can hardly ever DTS a database across to another server because
something will fail with the message "invalid object name
<name_of_a_view>". This happend to me just now on a database with just
12 tables and 4 views. What hope for my other databases with 100s of

views?

Can you be more specific about what is happening when the error occurs? At
first glance, it doesn't seem like a dependency issue, but rather that the
view doesn't exist. Are you using the DTS Copy Database task? I'm not 100%
sure, but I believe it detaches, copies and attaches the database, so
missing objects should be unlikely.

Also, if you always copy the entire database, you might want to consider
backup/restore instead of DTS.

Simon
Jul 20 '05 #3
Simon Hayes wrote:
"Trev@Work" <no.email@please> wrote in message
news:40***********************@news.easynet.co.uk. ..
(Reposted question)

Is it possible to rebuild dependancy information for objects in a
database?
I can hardly ever DTS a database across to another server because
something will fail with the message "invalid object name
<name_of_a_view>". This happend to me just now on a database with just
12 tables and 4 views. What hope for my other databases with 100s of

views?

Can you be more specific about what is happening when the error occurs? At
first glance, it doesn't seem like a dependency issue, but rather that the
view doesn't exist.


The view exists, definately.

Are you using the DTS Copy Database task? I'm not 100% sure, but I believe it detaches, copies and attaches the database, so
missing objects should be unlikely.
From EM, export data... Copy objects and data between SQL Server databases.
Also, if you always copy the entire database, you might want to consider
backup/restore instead of DTS.


That's what I have to resort to usually. I would like to achieve the
same result with one step if possible.
Jul 20 '05 #4

"Trev@Work" <no.email@please> wrote in message
news:40***********************@news.easynet.co.uk. ..
Simon Hayes wrote:
"Trev@Work" <no.email@please> wrote in message
news:40***********************@news.easynet.co.uk. ..
(Reposted question)
Is it possible to rebuild dependancy information for objects in a
database?
I can hardly ever DTS a database across to another server because
something will fail with the message "invalid object name
<name_of_a_view>". This happend to me just now on a database with just
12 tables and 4 views. What hope for my other databases with 100s of


views?

Can you be more specific about what is happening when the error occurs? At first glance, it doesn't seem like a dependency issue, but rather that the view doesn't exist.


The view exists, definately.

Are you using the DTS Copy Database task? I'm not 100%
sure, but I believe it detaches, copies and attaches the database, so
missing objects should be unlikely.


From EM, export data... Copy objects and data between SQL Server

databases.
Also, if you always copy the entire database, you might want to consider
backup/restore instead of DTS.


That's what I have to resort to usually. I would like to achieve the
same result with one step if possible.


Have you applied the latest servicepack? There are a number of KB articles
which may describe this:

http://support.microsoft.com/default...b;en-us;291780
http://support.microsoft.com/default...b;en-us;281664
http://support.microsoft.com/default...b;en-us;300272

Simon
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Christopher | last post by:
I made up a solution. I want to write a .dll and another project to test the ..dll So far I have created the .dll project and the test .exe project in the same solution. I set the .dll project as...
2
by: Pinnguy | last post by:
Hello, I have started to use managed C++ in VS 2003. I have several .NET class libraries written in MC++. I am finding the rebuild tendencies in VS to be very annoying. If I make a minor change...
1
by: ker chee huar | last post by:
Hi all! i am using Dotfuscator Community Edition for encrypt my .Net assembly. How can i include all my dependancy Dll to encrypt it because my project is multi-reference project! regards,...
4
by: gsilvey | last post by:
Is there a way to rebuild the code that is generated by the forms designer? It compiles, but it seems to have controls left in it that I previously removed using the designer. I'd like to just...
1
by: Learnicus | last post by:
Hello, I have a Winforms app that accessess a webservice application that i have written. Both of these use a common class called replication to carry changes from an online database <> offline...
10
by: wackyphill | last post by:
After rebuilding an index, it still shows as the same amount of fragmentation. ANy ideas what's wrong? I'm determining which indexes to rebuild using the following query: SELECT...
1
by: ward.david | last post by:
My company distributes a COM object that can be license and userd by our customers. Some of my company's internal application also use the COM object. However, for internal applications, instead of...
1
by: Michiel Overtoom | last post by:
Ward wrote... Why rebuild it? You can use a resource editor tool to add/edit/delete the VERSIONINFO from any Windows executable, including Python.exe ;-) Greetings, -- "The ability of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.