Remote Management
Hello!
My login is dbo for a database located at a remote server(SQL server7.0).Can I run the stored procedures of that database by accessing remotely.Also I have to manage that database from here,what limitations that I will have if I am not an SA for that server?Any help is appreciated.I am operating from NT workstation4.0.
View Complete Forum Thread with Replies
Related Forum Messages:
Remote Management Of Sql Server 2000
One of my clients is upgrading to Sql 2000. I currently administer her server using a SQL 7 interface but I will need to upgrade that interface to sql 8 now to be able to give her the same level of support. How do I go about installing the required clients on my desktop in such a way as to not interfere with my own installation of MSDE? I use Windows NT workstation 4. If I have a choice do I install developer's edition of SQL2000 or personal edition? We also have pcanywhere access but this is too slow and unsure for my money. Thank you, Bo Graham
View Replies !
Remote Management Of A SQL Server 2005
Hello, One thing I noticed is that Network connections to SQL Server 2005 databasees, updates and other thinks like Insert, Delete via remote are never covered, especially for new programmers. You see, new programmers like myself need special attention. The simplest thing is a big thing to the new programmer. This is why I would like to see a Forum or Topic that looks after the new programmer for remotely connecting to SQL Server 2005 from VB.Net or C#. Thanks.
View Replies !
SQL Server Express Database.mdf - Remote Management
Hi, I have installed an ASP.NET 2.0 application which uses a SQL Server Express database file on a client's network. I am able to connect to my client's network remotely over the internet. I would like to know if there's a way - and if so, how - to manage the Database file remotely. I have VWD Express, SQL Server Manager Studio Express and a trial version of SQL Server 2005 on my development machine. Thanks very much. Regards Gary
View Replies !
SQL Server - Remote Command Line Management
As a Sys Admin, I was wondering - if I have admin rights to a Win2k machinethat is hosting SQL Server 2000, do I have the ability using anycommand-line tools such as OSQL or ISQL to add, delete, or change accountsregistered in SQL Server for the various databases if I don't have access toa specific account within SQL Server?I ask, because the question that came up was - what if we have a DBA leaveunder less than amicable circumstances? Could I, someone who has adminrights on the machine, be able to log into that machine remotely and somehowvia command line (I don't maintain active SQL clients centrally), change theSA password, remove an account, and/or add an account with sysadmin rights,etc?Thanks in advance for any help -
View Replies !
Local Management Studio Cannot Connect To Remote IS
I am not able to connect my local SQL Server Management Studio to a remote server hosting our Integration Services. I get the infamous "Access Denied". I have walked through Kirk Haselden's howto at: http://www.sqljunkies.com/WebLog/knight_reign/archive/2006/01/05/17769.aspx but the problem persists. Thanks for any help. Keehan
View Replies !
Secure Remote Management On Shared SQL Server
I am trying to get my hosting company to provide a way to make secure encrypted connections from my desktop (where I am using Enterprise Manager and Aqua Data Studio) to their shared MS SQL Server. I've seen some references to SSH, but I don't understand how this works or how the host would implement it. I also read that an SSL certificate can be installed on SQL Server, but it doesn't seem as if EM or ADS can make SSL connections to SQL Server. (In case it makes any difference for either of these solutions, the hosting company has port 1433 open, and will not close it because some clients connect to the DB server from web apps on their own intranets.) Finally, if a web-based admin is used instead (like phpMyAdmin for MySQL), then which machine is the software installed on? Can it be on a web server that makes a local connection to the DB server or does it have to be on the DB machine? E.g., if I had a VPS or dedicated server at the same hosting company would I be able to install web-based admin software which would then connect to the host's shared SQL Server? Anyway, my host is giving incomprehensible (to me) objections to all of these ideas. Is there a reasonably simple way to do this on a shared DB server?
View Replies !
Error Connecting To Remote Server Using Microsoft SQL Server Management Studio Express
Dear All, I am trying to connect to a remote sql server 2005. So I have install the Microsoft SQL Server Management Studio Express. When I try to connect I get the error below. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53). Can some one please help. I have even port no 1533 on my pc. Thanks.
View Replies !
SQL Server Management Express Studio Management Tools
I have recently installed the SQL Server Management Studio Express but I do not find Management Tools in order to create scheduled backups and shrinking of the databases. I was under the impression that this should be included in the Management Studio. I use the SQL 2005 Express for smaller customers who run the SQL on a desktop unit. I need a way to backup the data to a server machine for backup purposes. I have uninstalled and reinstalled to no avail.
View Replies !
SQL Remote Connection Not Being Seen, Though Remote Connections Allowed
HiI'm going insane.I have a club starter kit on my local server which is working fine.I have migrated the database to my remote host and seems to have transfered ok.For a brief period I was able to connect to the database remotely, but now I cannot I get the following, even though SQL Server Surface Area Config is set to accept remote connections.An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)This is my connection string;<add name="ClubSiteDB" connectionString="Data Source=xx.xxx.xx.xx,xxxx; Network Library=DBMSSOCN; Initial Catalog=tets; User ID=sqladminbob;Password=sqlbob4398;" providerName="System.Data.SqlClient="/>I hav also tried to use aspnet_regsql.exe to add the remote provider but I get the same message. Thanks
View Replies !
Error 15185: There Is No Remote User 'sa' Mapped To Local User '(null)' From The Remote Server 'DTS_FSERVER'.
I am trying to add a linked server from a AMD x64 server (Windows 2003) with SQL Server 2005 64 bit to a Server running SQL 2000. These are not in the same domain. I can create a linked server using the option "Be made using the login's current security context" but can not when trying to specify the security context, i.e. sa and the sa password. When I try I get the following message: Msg 15185, Level 16, State 1, Procedure sp_addlinkedsrvlogin, Line 98 There is no remote user 'sa' mapped to local user '(null)' from the remote server 'DTS_FSERVER'. I have several other x64 server that I have no problem creating a linked server and specifying sa and the sa password. The problem with using "the login's current security context" option is that I get an error when trying to run any Jobs against the linked server. The job fails withe the following error: Executed as user: NT AUTHORITYSYSTEM. Access to the remote server is denied because no login-mapping exists. [SQLSTATE 42000] (Error 7416). The step failed. I'm sure the two errors are related. Any ideas what is going on?
View Replies !
Remote Tables Are Not Updatable. Updatable Keyset-driven Cursors On Remote Tables Require A Transaction With The REPEATABLE_READ
Has anyone seen this error? It comes up when my app executes a select statement via linked server (from MSSQL 2000 to 2005) the second time it runs. It's basically a timed poll of tables in the remote database. It works once but the second time it executes I get the error from the remote db, it's just a select but I guess the cursor is still open so it can't run again. After the exception the select will run again, once and it just repeats. I have researched it a little and it looks like it mostly has to do with the isolation level of the transaction. Unfortunately based on the componet being used to access the database I don't beleive I have the ability to use transact SQL to call the isolation level (s) listed. Here's the weird part though, at another site the same scenario is running fine. Same primary and remote db versions of MSSQL as well as the application and it runs fine. I guess my question is what type of setup parameters that may be defined in MSSQL 2005 for the remote database might make it behave in this manner in one instance and not the other? TIA in advance for any thoughts/assistance. DT
View Replies !
Management Studio
dont know y, but i have prob. installing MS Management studio....After a hard drive failure I was forced to reinstall everything... :( The problem is that after installing vs2005 proffesional edition I installed the sql server 2005 trial edition and everything was fine during the installation.When I looked for the Management studio it wasnt there for me :( I uninstalled and reinstalled trying the full installation but results was the same, no Management studio!!!After uninstalling the SQL server trial edition I installed the Management studio express and it works. except that from some reason I cannot browse my XP user folder which has no password protection.. :( Any idea for installing the SQL trial edition including the Management studio ???Why can't I browse my XP folder with Management studio express ???Where can I download Management studio (non express version)?? regards
View Replies !
SQL Database Management
I have looked everywhere I can think of for the answer to this and am completely confused. My IT dept created an SQL database for me on a server. My plan is to create web pages in asp.net using Visual Web Dev Express released this week. I have connected to the database but I can't figure out how I am supposed to create my tables in the database. What simple/obvious thing am I missing here? I keep trying to download SQL Server Express in hopes that I can use that to manage my database but it keeps telling me that it won't install because I have previous Beta versions left on my machine. I can't find those either so am out of luck. I am new to this so perhaps I am asking all the wrong questions.Does anyone know what I can do to find a useful database management tool that will allow me to add/create the tables?Thanks for any help!
View Replies !
Column Management Help
I have to read 25 usernames from a single users row than display to that user the 25 profiles. I assume this is possible with a subquery right? Now do i have to make 25 columns 1 for each username or could it read user1 user2 user3 ? and how please.. Thanks much
View Replies !
Transaction Management
Let's say I may possibly use two transactions in a script, the secondone will depend on the successful execution of the first one.The following code works. However, I'm wondering if SQL Server 2000has some internal function like @@transaction_status to indicate thestatus of the most recent transaction by the connection. The analogueof @@FETCH_STATUS. Then, my own error tracking code could be omitted.Thanks.-- ENV: SQL Server 2000-- ddlscreate table tblA (col1 smallint, col2 smallint)create table tblB (col1 smallint, col2 smallint)create table tblX (col1 char(1), col2 varchar(20))declare @errorCode tinyIntset @errorCode = 0begin transaction fTraninsert into tblAvalues (7,1);insert into tblBvalues (8,0);-- we know this guy will failinsert into tblXvalues ('ab','abcdefge')If (@@error <> 0)beginselect @errorCode = 1endif (@errorCode = 1)rollback transaction fTranelsecommit transaction fTranif (@errorCode = 0)pseducode: start second transaction here ...elseprint 'fTran failed.';RETURN
View Replies !
Connection Management
Hi:I have a Point-of-sale application that uses SQL Server2000 for the backend.Basically, the users perform various functions boiling down to login (checkpassword from a table) and data entry (insert a food entry). Previously, Iwould open a new ADO 2.7 connection to the database each time one of thesetypes of database accessing functions needed to be performed - but I noticedthat sometimes the DB would freeze the application for 20 seconds or so - oreven cause a timeout error.To fix this, I open a DB connection when the application first starts,keeping it open for the life of the application - each time a function needsto access the DB, it just uses the applications (global) connection that isconstantly open and connected.This seems to have fixed the problem, however, I am curious, is this an OKway to handle the connections - keeping in mind that there are four separatestations - each running the application - at the same time. Therefore, Ihave 4 constantly open connections at the same time.Thanks and regards,Ryan Kennedy
View Replies !
Management Studio
Hi I am moving towards managing sqlserver databases and i basically come from a command line background. Can you please tell me some of the tasks that needs to be done using command line only in sqlserver and wherein management studio falls short. regards db2hrishy
View Replies !
Transaction Log Management
Hi, I'm new to MS SQL and would like to get your opinion on how it's possible to automatically manage transaction log growth. I've read the following on the topic: "When Microsoft SQL Server finishes backing up the transaction log, it truncates the inactive portion of the transaction log. This frees up space on the transaction log. SQL Server can reuse this truncated space instead of causing the transaction log to continuously grow and consume more space. The active portion of the transaction log contains transactions that are still running and have not completed yet." I'm backing up the transaction logs on a daily basis. Still one of the logs grew up to 130Gb even though I have shrunk it in the past. How can I manage the growth automatically without shrinking the log files manually every time they grow beyond a certain threshold? Thanks in advance, Alla
View Replies !
Transaction Log Management
Hi, I'm new to MS SQL and would like to get your opinion on how it's possible to automatically manage transaction log growth. I've read the following on the topic: "When Microsoft SQL Server finishes backing up the transaction log, it truncates the inactive portion of the transaction log. This frees up space on the transaction log. SQL Server can reuse this truncated space instead of causing the transaction log to continuously grow and consume more space. The active portion of the transaction log contains transactions that are still running and have not completed yet." I'm backing up the transaction logs on a daily basis. I believe that all or most of the portions of the log are inactive by the time the backup starts. Still one of the logs grew up to 130Gb even though I have shrunk it in the past. How can I manage the growth automatically without shrinking the log files manually every time they grow beyond a certain threshold? Also, how can I check whether some of the log portions are active or inactive? Thanks in advance, Alla
View Replies !
State Management
Hi all, I want to know much about sql server statemanagement. I want to consider this for our web application. can any one help with relevant information. Thanx.
View Replies !
SQL Server Management
Can anyone shed more light on the following in SQL 2K 1. Peg lookup tables in memory so that they dont get swapped out 2. Mark tables as readonly (force all queries against it not to issue shared locks) 3. Peg frequently used procedures in memory A kick in the right direction will be sincerely appreciated Thanks Liju
View Replies !
Management Utils
Apologies if this has been covered elsewhere, but can anyone give me a insight how you manage servers in Enterprise Manager on the MMC effectively? It seems that there is no refresh facility on the SPID view functions, and it appears impossible to monitor what is actually going on on a real-time basis. SPIDs can appear and disappear, but without refreshing the whole server and drilling down to the right area each time there appears to be no update on the activity on that server. I have been able to zoom no-existant SPIDs - and SPIDs I have set up running massive queries persisantly show 'sleeping' unless the whole server is refreshed. I was less than impressed with the 6.5 version for getting important information on what users were up to quickly, but this appears even worse. I wrote a beefed up version of sp_who2 for 6.5, and on Friday started looking at a version for SQL7 - I was that disconsolate! If there is someone out there who can effectively manage SPID activity on a server using the Enterprise Manage, please tell me how you do it...
View Replies !
DB Management Software?
I was wondering if anyone knew of any good easy to use software around that I can use to manage database and tables for MSSQL. I have been using HeidiSQL for MySQL for years now, so I am looking for something like that for MSSQL. Is there something around? Preferably low cost.
View Replies !
SQL CLR Memory Management
Hello, I have a few questions about the behavior of the CLR host within SQL Server 2005. We are using a UDT (call it MyDateTime) created in C# that represents the COM FILETIME type, in order to have single millisecond resolution. MyDateTime values are stored in the database as binary(8), with the UDT itself being used primarily for display and reporting purposes. I am running performance tests using a prototype (written in C# as well) that runs 20 threads which repeatedly call a stored procedure, which accepts two MyDateTime's, and queries a table based on those MyDateTime's binary string representation. After a certain amount of time (depending on the particular system's resources), threads will start to be aborted. Most of the time the reason is "SQL Exception: .NET Framework execution was aborted by escalation policy because of out of memory." Sometimes, eventually the appdomain will be unloaded, and if I restart the prototype, the process starts over. Sometimes, I will have to restart the server before any more CLR processing can occur (no automatic appdomain unload). While the prototype is running, I'll check the MEMORYCLERK_SQLCLR rows in sys.dm_os_memory_clerks, and see the columns for pages and virtual memory ever increasing, until a threshold is hit (on my system, approximately 225 megs of virtual memory committed), resulting in all 20 threads being aborted, one by one, within 30-45 seconds. During that time some of the remaining threads will still have successful calls, while others are aborted. I understand the necessity for the CLR in SQL Server to monitor and abort threads, in order to preserve the database server itself, as well as the importance of exception handling client-side, but unless the UDT code itself has a leak in it (I'm fairly confident it doesn't), this behavior confuses me. X amount of stored procedure calls (on my system, approximately 65,000 within an hour) can occur before SQL Server runs out of memory, and will constantly abort any thread trying to use the UDT, until it decides to unload the appdomain? Is it entirely up to the client to catch any threadaborts and retry those transactions, and is there any way to facilitate or predict if/when the appdomain is going to unload? Am I missing something about how garbage collection is functioning within SQL Server, or the CLR itself? Even simple CLR code slowly eats up the memory and causes the same results, if enough transactions are made. Does a long running or high transaction system have to anticipate a regular intervention by the escalation policy? Any insight you could give me would be greatly appreciated. Have a good day. -Dan P.S. I'm running the September CTP of SQL Server and the Release Candidate of Visual Studio, based on our current development requirements--I will upgrade when I can.
View Replies !
Connection Management
hi.. i have like 50 ssis packages,, most of all have the samne conexion to my target server.,, the user an pwd i'm using is the same for all of them... but the pwd has been changed because of security rules,., the result: these packages will no longer execute correctly .. is there anyway i can change this conexion for all the packages without doing it manually? and if so.. how?? thanks!!!!!
View Replies !
Error Management
Hi everybody, I have an issue with my error management. For the moment i redirect all the row in a script componnent and then use getErrordescription(errorCode). This method is quite good. But for error on constraint in my database this not good way beacause the error message is similar to "Data violate integrity constraint" but we can't knonw which constraint. So i think that i will use the onError event. I made some test and it's good. But with my old method I know on which row on the flat file source the error happens. So my questions are : - is there a way to know on which row the error occurs inthe onError event? - is that possible to redirect row and have also the onError event? (I think it's impossible) - How can i know on which data the error come? Thanks for your reply. Christophe
View Replies !
New SSB-Management Console
Hi, we are currently planning the development of a new SSB-Admin-Tool for SOA environments, which will allow dynamic configuration during MSBuild, register and monitor all services, dynamically configure routes (supporting gateway-servers and services registered on multiple servers for fail-safe). I would like to know if MS is currently working on something similar (the Service-Listing-Manager is buggy, old and seems to be dead on GDN) and what the community thinks.
View Replies !
Basic Management
Just downloaded and installed Microsoft SQL Server 2005 Standard. I downloaded it from Microsoft. How do I determine what SP's I need to install ? Thanks and yes I am a newbie with SQL Server. -D
View Replies !
Where Is Management Studio
I have been working this for 2 days on my XP SP2 machine, AHHHHH !! I tried running the SQL Server 2005 Tools install, and kept getting SQL configuration checker error with WMI. What finally got me around that was installing VS 2005. {without SQL Express} Ran the tools install, but not Management Studio, only the Configuration Tools on my menu. What the heck, tried running the full install, got the database engine, but still no Management Studio. Tried uninstalling everything, everything is gone except the database engine. Tried re-installing, still no luck. Tried the command line to fix the shortcut to management studio as detailed in the setup help file: setup.exe /qb REINSTALL=SQL_WorkBench REINSTALLMODE=S NO LUCK. This is absolutely crazy, what year is this. It's as if something the setup program see's on my machine is blocking the install of management studio.
View Replies !
Management Studio
Hello! What are the differences between "SQL Server 2005 Management Studio" and "SQL Server Management Studio Express"? I have an installation of SQL Server 2005 Standard Edition and can only find the Management Studio Express!? How can I install the "not-Express-version" ? Regards CSharpNewbie22
View Replies !
Database Management?
Hi to All, I am working in vb and C# .net as front hand and use mySql or Squel server as back-hand. task is, i did here it that, we have more than one table, each and every is related by using the concept of Primary and Foreign key management. in that database if i remove a record from master table, than the related record of all child talbes shall auto-matically reoved that is my question how it does happen. first thing that you have understood my problem if yes than please if you have any idea, mail me. i will very much thnks in advance to you. bye regards Rajat.
View Replies !
Management Studio
is there a way to deploy only the workstation tools? Can I create an msi or sms package to install only the tools I need for users to have? Can I lock down the interface so all options are greyed out other than workstation tools? thanks
View Replies !
Where To Get SQL Management Studio?
Hi Guys, I know my question looks very stupid but cant help. I got SQL Server 2005 Evaluation Copy along with Visual Studio 2005. I want to do some evaluation of Reporting Services. I am able to create reports from VS 2005 i.e. rdlc extension. and chaning the extension I can publish them to reporting server but I want to create reports with parameters which will be passed from UI form. On looking some resources i can to know that I will need SQL Server Management Studio to generate RDL reports. Where can i get Management Studio? Do i need to download it or need to purchase it? Thanks in Advance Hemant
View Replies !
SQL Management Studio X64
We are use Vista X64 and SQL-Server 2005 X64 Developer Edition. We are able to connect to a sql2005 server x32 server using SQL 2005 management studio, 32-bit version. From the x64 box (vista x64 with sql x64), we are able to connect to the SQL 2005 32-bit server version using sqlcmd and telnet. But, we are having issues connecting to the 32-bit version of SQL 2005 using the x64 sql management studio GUI. I look all over the internet and the SQL BOL and I was not able to find any compatibility issues with the SQL Management Studio x64 been documented. I am thinking that the reason for the issue is because the SQL management studio is trying to connect using native x64 client drivers. If that is the case, is there another method of connecting to a x32 SQL server. I see that the only way to approach this issue is to install the 32-bit version of the SQL client tools on the x64 system. Thanks P.S. all servers are using SQL SP2 ( no Cumulative Update 4)
View Replies !
Getting Management Studio To Use 3.5
How can I get sql Management Studio (2005) to use Sql Compact 3.5? It's been working fine with 3.1, but now when I upgrade my own code to use 3.5 and create a new DB then management studio says it can't open it as it's the newer version (3.5xxx and it wants 3.0xxxx) Exact text is: You are trying to access an older version of a SQL Server Compact Edition database. If this is a SQL Server CE 1.0 or 2.0 database, run upgrade.exe. If this is a SQL Server Compact Edition 3.0 or later database, run Compact / Repair. [ Db version = 3505053,Requested version = 3004180,File name = C:foo.sdf ] (SQL Server Compact Edition ADO.NET Data Provider)
View Replies !
|