473,395 Members | 1,678 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,395 software developers and data experts.

Strange database problem


Hello,

At work we have various servers, therefore we have various DTS Interfaces
which transfer data between them.

However when trying to save a new View to one server which gets its data
from another server nothing happens, I get an hourglass and nothing else.
Then I have to exit out of SQL Enterprise Manager and then no-one can access
the database on that server, so we had to restore from backup!

The query to create the view resides on server A
The query is getting its data from server B
But the query does need to reside on server A for other reasons.

What does this sound like to you?
I am suspecting connection problems between server A and B but the query
runs, its only when I save the view that this happens.

I am puzzled.

Thanks,

Jayne

Aug 23 '05 #1
1 1316
Little PussyCat (Sp******@spam.com) writes:
At work we have various servers, therefore we have various DTS Interfaces
which transfer data between them.

However when trying to save a new View to one server which gets its data
from another server nothing happens, I get an hourglass and nothing
else. Then I have to exit out of SQL Enterprise Manager and then no-one
can access the database on that server, so we had to restore from
backup!

The query to create the view resides on server A
The query is getting its data from server B
But the query does need to reside on server A for other reasons.

What does this sound like to you?
I am suspecting connection problems between server A and B but the query
runs, its only when I save the view that this happens.


There is very little information to work from, but I doubt that you really
had to restore the database from a backup. Most likely there was some
blocking problem.

But I can give one tip: stay out of Enterprise Manager. Use Query Analyzer
to submit queries, and that also includes creating views. With QA you know
that the commands you type are those that are sent to the server. And if
there are any messages from SQL Server you will be told about it.

EM, on the other hand, may submit extra commands, and may understand
all error messages that come in.

When you create a view that accesses a remote table on a linked server,
SQL Server accesses the other server to check that columns etc exist.
You will need to have DTC running. If the definition just hangs, you
should check for blocking on the remote server.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Aug 23 '05 #2

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

Similar topics

0
by: Nedelcho Stanev | last post by:
Hello All, I have strange problem with libodbc++ ( 0.2.3 or 0.2.2 ). i'm using mysql-4.0.14 , MyODBC-3.51.06 and unixODBC-2.2.6 configured with following options 1.MySQL ../configure...
9
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using the iSeries Client Access Driver ver...
25
by: Neil Ginsberg | last post by:
I have a strange situation with my Access 2000 database. I have code in the database which has worked fine for years, and now all of a sudden doesn't work fine on one or two of my client's...
10
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble...
1
by: intl04 | last post by:
I am getting strange print-related error messages when trying to create (not print!) reports. For example, when I click 'new' to create a report then choose 'design view', I get an error message...
1
by: Default | last post by:
Hi, I am new to C#, that is why I am not sure what kind of problem it is: Is VS files corrupted , or something else. that is the problems description: I am working on a small database project. I am...
6
by: Gary | last post by:
I have an application that has been working just fine for a couple of years. It queries a SQL database and returns some formatted data back to the client. I have a new client, who has a larger...
2
by: Buddy Ackerman | last post by:
I have a web app that I have setup on numerous web servers. I've set one up for a new client at their hosting facility and cannot get it to connect to their database. I get a "SQL Server does not...
5
by: Ian | last post by:
Hi everyone, I have found some bizarre (to me...!) behaviour of the Form_Activate function. I have a form which has a button control used to close the form and a subform with a datasheet view...
5
by: Matt Schwartz | last post by:
I have a strange situation, and I'm not sure even where to start troubleshooting. I have a client who has a small network - 6 workstations, one server running Windows 2003 Server Standard edition....
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.