Is it possible to add an external server registration using SQL Server Management Studio Express CTP?
Reason being I have been doing some work from home and need to port the data back to the office who are on SQL 2000. I have a database with my web hosting company and wanted to export the data to the 'live' database so I could import to the office database - any ideas?
I've tried to connect using my login details and I know the live DB is operational as I can connect through my work system. I just can't seem to be able to do it on my system at home.
Any help would be greatly appreciated as it's been a real pain to get stuff transferred. I've so far had to generate SQL script to create the procs and tables for when I get to work - the proper down side is that I lose the content of the tables which not much right now but will be loads soon!
Many Thanks
--
I have just dicovered that the CTP management studio will not connect to SQL 7 - is there any alternative or does the new version compensate for this?
I just erased a database I had been using alot lately, that must have been set as my Default database. Now I can't access my server registration. I get the following error when clicking on my LOCAL tree in Enterprise Manager.
A connection could not be established to (LOCAL)
Cannot open user default database. Login failed.
Please verify SQL is running and check server registration properties.
I've checked both. It is definetely running and I'm using Windows Authentication. What can I do to solve this. I read from previous posts there is a command prompt method to change the default database, but I'm terrible with command prompt and couldn't figure it out. Is there another way to change this (if this is the problem)?
If the only way to solve this is through command prompt could someone lead me in the direction of how to do this on a step by step basis.
Thank you much for any help. It will be very much appreciated.
Hi I'm a newbie at SQL 2005 and I'm trying to create linked tables to our ERP system through ODBC. I can do this in MS Access or vb.net by using the ERP system's ODBC driver, but I am lost when it comes to SQL Server 2005. Thanks for any help
I need to create a SQL server database and add some tables to it. Then access it with a C# application. The problem is that the new SQL server database and it's tables must reside on an external hard drive. How do I point SQL server to this external drive, so that I can create a database on this drive and then create tables and access data on it?
Hi, My server went dead(problems with the hard disk), but I have a copy of the whole sql server directory including the database in a external hard disk. I have a new server now and I would like to copy this database (with the reports from reporting services too) from the external hard disk to my new server. can anybody help me please? Thanks.
Note : I have a plain copy of all the sql server directory with all the files including the database not a SQLServer backup done with the wizards.
Hi, I have two servers, namely ServerA and ServerB. These two servers are on the same subnet. ServerB has a database called DatabaseB. I'm logged in in ServerA and trying to pull data from DatabaseB.
This is the query I do when I'm logged in in ServerB (note im using Microsoft SQL Server Management Studio):
USE DatabaseB
SELECT distinct b.Subject FROM dbo.F_Class_Exam a LEFT OUTER JOIN dbo.D_Course_Catalog b ON a.Course_ID = b.Course_ID WHERE a.Term = '2071' AND a.Class_Exam_Type = 'FIN' AND b.Term = '2071' ORDER BY b.Subject
How would I do this same query on ServerA? Ideas? Thoughts?
I am getting the error Unable to open the physical file "E:Navision SqlDataForentaSQL_Data.mdf". Operating system error 5: "5(Access is denied.)". when I try to "attach" to a database located on an external hd. The database files on the external HD were copied from the original server location to the external HD. The file size is 51G+ which is why it is on the external HD. Can anyone provide me the syntax to do the sp_attach taht will allow me to send the necessary connection string: server, user, pswd etc.
Hi: My pc is windows 2003 server and I have installed SQL SERVER 2005 EXPRESS. From Management Studio I made a New Server Registration with Windows Authentication. I can't run the new server, its icon appears with a white dot (instead of green when a server is running or red when the server is stopped) I go to server properties and click the "Test" button and I get the next message error: Testing the registered server failed. Verify the server name, credentials, an database, an then click Test again. 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server) what could be wrong? How can I run the server? Thanks!
hi, when we go for a new sql server registration, then there are two authentication modes i.e either through windows authentication or through sql server authentication. May anyone please tell me the default password for the windows authentication mode for user "sa". Thanks & Regards, Sitangshu Roy
i need to know how can i register my SQL server with WEb based SQL server i have the address MSSQL2.MINUTESUAE.COM now how can i register my SQL Server with them. when i m going to conect with this server it register but after that Database not show it take to much time.
I'm attempting to register a new sql server through the enterprise manager and recieving the following error message: login incorrect, userid not found.
I'm using the sql server wizard to register and selecting the sql server login information as the authentication mode. The login name and password is a valid account on the Windows NT server when i view the domain information.
I was trying to register a new server. When I start the new ser. registration wizzard I've selected a pc with the MSDE installed and when I entered all the correct passwords it doesn't register. Both pc's are the domain administrators.
I tried with windows authent. too and still the same. To be onest I was playing with this for about 2 days ;(
Both PC's are runnoing windows xp pro. I did hoewer manage to connect to the MSDE on the windows 2000 server.
I am trying for the first time to learn what to do and how to use SQLServer. I am following instructions in Books on Line to make a New Server Registration. The instructions read as follows:
Connecting to Servers
The toolbar of the Registered Servers component has buttons for the Database Engine, Analysis Services, Reporting Services, SQL Server Mobile, and Integration Services. You can register any of these server types for convenient management. Try this exercise to register the AdventureWorks database.
To register the AdventureWorks database
On the Registered Servers toolbar, click Database Engine if necessary. (It may already be selected.)
Right-click Database Engine, point to New, and then click Server Registration. The New Server Registration dialog box opens.
In the Server name text box, type the name of your SQL Server instance.
In the Registered server name box, type AdventureWorks.
On the Connection Properties tab, in the Connect to database list, select AdventureWorks, and then click Save.
I did steps 1 and 2 --- no problem. At step 3, for server name I typed MARKSDESKTOPSQLEXPRESS
At step 4 I typed: Adventureworks
At step 5 I went to Connection Properties and at the "Connect to database drop down box there were 2 choices: <default> or <browse server> (not Adventureworks). If I click on browse server, The browse server for Database window pops up but Adventureworks is not listed there either.
I did a search on my C drive and there are lots of Adventureworks files present so I must have downloaded the database OK.
Does anyone know where I go from here to connect to the Adventureworks database so I can continue with this tutorial?
TITLE: Microsoft SQL Server Management Studio Express ------------------------------
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: SQL Network Interfaces, error: 41 - Cannot open a Shared Memory connection to a remote SQL server) (Microsoft SQL Server, Error: 87)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=87&LinkId=20476
------------------------------ BUTTONS:
OK ------------------------------
TITLE: Browse Server for Database ------------------------------
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)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
------------------------------ BUTTONS:
OK ------------------------------
ABove is the error msg. Anybody any suggesstion. I'm newbie in SQL Server. This happen when i follow the tutorial for server registration at Server Management Studio.
'To register the AdventureWorks database'
I had enable all the protocol. I'm using win XP Sp2.
I have the need to restore a database to a user's laptop on a dailybasis. This has been no problem using Enterprise Manager. I found astored procedure to run the restore and tried to call it from a visualbasic program. While I can connect to the database, I get an errortelling me "exclusive access could not be obtained because thedatabase is in use".Does this mean the only way to run the restore is via EnterpriseManager?Thanks,Tom
I am a webdesigner who at the moment does not know SQL (although, I plan on remedying that) so I am developing a page with a DB designer - he is doing the DB work, I am doing the look/feel, but he asked me the following questions, of which I cannot seem to find an answer and the guys who tend our server are useless - so I am hoping someone here can help me. In general what he needs to know is:
"what is the external address (either in domain format or IP) and the equivalent internal address so that we can access the msSQL running on your server. The internal address is needed for the webpages to talk to it, while the external address is needed for development of the pages in visual studio and the database tools." Also, he later sent me an email asking that when I get this info (from someone) that it would be usefull to get a sample string/query to get access to the DB. I am running SQL 2000 and have enterprise manager. Where can I find this information? or how do I figure this out????
Thank you for all the help -- Please let me know if you need any more info.
I will have many client databases that will be updated. When they are updated I need to transfer some of that data to a central Server database somewhere on the Internet. Note, schemas do not necessarily match.
Transfering the data (Web Services, Remoting) is not a problem.
What I am looking for is a cool, correct, advisable way, for the client database to notify me of an Insert, Update or Delete. I can then initiate the connection to the Server and 'push' the data (maybe pull some back from the Server too).
Obviously Triggers may be a place to start... But I need to know 'external to the database' that an update has happened or can I send the data from within the SQL Server assembly?
Anyone have any ideas or a technique, maybe something new in SQL Server 2005 (all databases will be 2005), for acheiving this? Just so I don't go down the 'wrong' path...
There are some BLOB's involved (1-2 page PDF's), if that makes a difference.
I envisage that the process transfering the data will be a Windows Service running on each client. The connection may not always be available, so some kind of 'to do' list of outstanding data to be transfered is required.
I'm just starting on this, so any pointers would be great, I'm sure it's all been done before ;)
have a standalone machine with SQL Server 7 installed....service is up and running but am having trouble registering the server in the Enterprise Manager.....
error message:
A connection could not be established to MACHINENAME - Client unable to establish connection ConnectionOpen (CreateFile()).. Please verify SQL Server is running and check your SQL Server registration properties (by right-clicking on the MACHINENAME node) and try again
have tried both nt security and the sa account but always get same message
I hv 'SQL 2k' working on W2k. Initially the server name was 'GENOMESQL2000'. Today I hv changed the server name(sp_dropserver 'genomesql2000') to 'genomesql2k' by using the command sp_addserver 'genomesql2k',local.
After that I hv stopped the service and restarted the server, the server name was changed to 'genomesql2k'.
When I went and saw the SQL Server Group in the Enterprise Manager still the old name 'genomesql2000' exists. I hv refreshed the server it is showing the old name.
Now I got a doubt that this name is different from the server name or it should match the servername with the 'select @@servername'.
I'm not sure what the Admin installed on my Windows 98 computer; and he is on vacation. I tried registering a server, but I get the following error message: SQL Server registration failed because of the connection failure. General network error. ConnetionOpen (connect()). I checked the utilities and the default network library is TCP/IP. Any suggestions?
Thanks, Samantha
The log file shows the following:
10:55:00 Begin Setup 10:55:00 7.00.623 10:55:00 Mode=Normal 10:55:00 ModeType=NORMAL 10:55:01 ValueFTS returned: 1 10:55:01 ValuePID returned: 1 10:55:01 ValueLic returned: 1 10:55:01 GetDefinitionEx returned: 0, Extended: 0xf000000 10:55:01 System: Windows 98 10:55:01 SQL Server ProductType: Developer Edition [0x2] 10:55:01 Begin Action: SetupInitialize 10:55:01 End Action SetupInitialize 10:55:02 Fixed install: 0 10:55:02 Begin Action: CheckRequirements 10:55:02 Platform ID: 0xf0000 10:55:02 Version: 4.10.67766446 10:55:02 DCOM95 has been detected. 10:55:02 File Version - C:WINDOWSSYSTEMshdocvw.dll: 5.0.2919.6307 10:55:02 ComputerName: Samantha 10:55:02 User Name: Samantha 10:55:02 Domain: Samantha 10:55:02 OS Language: 0x409 10:55:02 End Action CheckRequirements 10:55:02 Begin Action: Detection 10:55:02 End Action Detection 10:55:02 Begin Action: ODBCLocked 10:55:02 C:WINDOWSTEMP\_ISTMP0.DIRodbcinst.exe -IsLocked -Silent 1 -SourceDir F:X86ODBC -LogFile C:WINDOWSsqlodbci.log 10:55:03 Process Exit Code: (0) 10:55:03 End Action ODBCLocked 10:55:03 This combination of Package and Operating System allows a client install only. 10:55:20 The Developer Edition server component cannot be installed on Windows 98 using this CD. Only client components will be available for installation.
10:55:20 Reading SoftwareMicrosoftWindowsCurrentVersionCommonFilesD ir ... 10:55:20 CommonFilesDir=C:Program FilesCommon Files 10:55:20 Windows Directory=C:WINDOWS10:55:20 Begin Action: ShowDialogs 10:55:20 Begin Action: DialogShowSdWelcome 10:55:21 End Action DialogShowSdWelcome 10:55:21 Begin Action: DialogShowSdLicense 10:55:23 End Action DialogShowSdLicense 10:55:23 Begin Action: DialogShowSdRegisterUserEx 10:55:24 End Action DialogShowSdRegisterUserEx 10:55:24 Begin Action: DialogShowCdKey 10:55:24 End Action DialogShowCdKey 10:55:24 Begin Action: DialogShowPID 10:55:24 End Action DialogShowPID 10:55:24 Begin Action: DialogShowSdSetupType 10:55:29 [SetupTypeSQL] 10:55:29 szDir=C:MSSQL7 10:55:29 Result=303 10:55:29 szDataDir=C:MSSQL7 10:55:29 End Action DialogShowSdSetupType 10:55:29 Begin Action: DialogShowSdComponentMult 10:55:29 basesys=0, baseinst=0,basedata=0 10:55:48 SQL program folder: C:MSSQL7 10:55:48 SQL data folder: C:MSSQL7 10:55:48 Windows system folder: C:WINDOWSSYSTEM10:55:48 Prog req: 46703, Data req: 0, Sys req: 58434 10:55:48 Prog avail: 2147155, Data avail: 2147155, Sys avail: 2147155 10:55:48 Prog req vs. avail, 105137, 2147155 10:55:48 Data req vs. avail, 0, 2147155 10:55:48 Sys req vs. avail, 58434, 2147155 10:55:48 DisplaySystemPreReq 10:55:48 [SQLComponentMult] 10:55:48 Component= 10:55:48 Result=1 10:55:48 End Action DialogShowSdComponentMult 10:55:48 Begin Action: DialogShowSdStartCopy 10:55:49 End Action DialogShowSdStartCopy 10:55:49 Begin Action: DlgCPLLicense 10:55:49 End Action DlgCPLLicense 10:55:49 End Action ShowDialogs 10:55:49 Begin Action ProcessBeforeDataMove: 10:55:49 DeinstallStart returned (C:MSSQL7): 0 10:55:49 End Action ProcessBeforeDataMove: 10:55:49 Begin Action ProcessComponentSelection: 10:55:49 End Action ProcessComponentSelection 10:55:49 Begin Action LogSelectedComponents: 10:55:49 MgtTool 10:55:49 MgtToolSEM 10:55:49 MgtToolSEMHTML 10:55:49 MgtToolSEMMSD98 10:55:49 MgtToolSEMMSD98SYS 10:55:49 MgtToolSEMMSD98Res 10:55:49 MgtToolSEMMSD98Hlp 10:55:49 MgtToolSEMHelp 10:55:49 MgtToolSEMSEMSys 10:55:49 MgtToolSEMRes1033 10:55:49 MgtToolSEMResIntl 10:55:49 MgtToolSEMMSD98RsI 10:55:49 MgtToolProfiler 10:55:49 MgtToolProfilerHelp 10:55:49 MgtToolProfilerRes1033 10:55:49 MgtToolProfilerResIntl 10:55:49 MgtToolQryanlz 10:55:49 MgtToolQryanlzHelp 10:55:49 MgtToolQryanlzRes1033 10:55:49 MgtToolQryanlzResIntl 10:55:49 MgtToolDTCCLi 10:55:49 MgtToolWzcnflct 10:55:49 MgtToolWzcnflctWzcnsys 10:55:49 MgtToolWzcnflctWzcnHlp 10:55:49 MgtToolUtilSys 10:55:49 MgtToolUtilBinn 10:55:49 Connect 10:55:49 ConnectConnSys 10:55:49 ConnectConn9x 10:55:49 ConnectConnNT 10:55:49 Books 10:55:49 BooksBookso 10:55:49 BooksBooksCD 10:55:49 DevTools 10:55:49 DevToolsHeaders and Libraries 10:55:49 DevToolsHeaders and LibrariesInclude 10:55:49 DevToolsHeaders and LibrariesLibx86 10:55:49 DevToolsHeaders and LibrariesLibAlpha 10:55:49 DevToolsHeaders and LibrariesESQLC 10:55:49 DevToolsMDAC SDK 10:55:49 DevToolsVDI 10:55:49 DevToolsVDIInc 10:55:49 DevToolsVDISamples 10:55:49 DevToolsDbg Int 10:55:49 DevToolsDbg IntDbg Int Common 10:55:49 DevToolsDbg IntEXE 10:55:49 Samples 10:55:49 SamplesADO 10:55:49 SamplesDBLIB 10:55:49 SamplesDTS 10:55:49 SamplesESQLC 10:55:49 SamplesMSDTC 10:55:49 SamplesODBC 10:55:49 SamplesODS 10:55:49 SamplesOLEAut 10:55:49 SamplesRepl 10:55:49 SamplesSQLDMO 10:55:49 SamplesSQLNS 10:55:49 Core 10:55:49 CoreSys 10:55:49 ODBC 10:55:49 OLEDB 10:55:49 Repostry 10:55:49 RepstSys 10:55:49 CoreMisc 10:55:49 Monarch 10:55:49 Jet 10:55:49 NetCore 10:55:49 NetExt 10:55:49 SFExt 10:55:49 ReplExt 10:55:49 Core1033 10:55:49 CoreIntl 10:55:49 CrMi1033 10:55:49 CrMiIntl 10:55:49 Monr1033 10:55:49 MonrIntl 10:55:49 SFEx1033 10:55:49 SFExIntl 10:55:49 RpEx1033 10:55:49 RpExIntl 10:55:49 SysCore 10:55:49 VOLEDB 10:55:49 VODBC 10:55:49 MiscCore 10:55:49 MCHlp 10:55:49 MC1033 10:55:49 MCIntl 10:55:49 CnctBinn 10:55:49 CrRepCom 10:55:49 {E07FDDC8-5A21-11d2-9DAD-00C04F79D434} 10:55:49 {E07FDDBE-5A21-11d2-9DAD-00C04F79D434} 10:55:49 {E07FDDC7-5A21-11d2-9DAD-00C04F79D434} 10:55:49 {E07FDDBF-5A21-11d2-9DAD-00C04F79D434} 10:55:49 End Action LogSelectedComponents 10:55:49 Begin Action MoveFileData: 10:56:31 End Action MoveFileData 10:56:31 Begin Action ProcessAfterDataMove: 10:56:31 DeinstallSetReference (C:MSSQL7sqlservr.exe) returned: 0 10:56:31 End Action ProcessAfterDataMove 10:56:31 Begin Action InstallPkgs: 10:56:31 Setup is installing Microsoft Data Access Components (MDAC) ... 10:56:31 F:x86Othermdac_typ.exe /q:a /c:"setup.exe /qtn" 10:56:59 Process Exit Code: (3010) 10:56:59 Setup is installing Microsoft Management Console (MMC) ... 10:56:59 F:x86Otherinstmmc.exe /Q 10:57:20 Process Exit Code: (0) 10:57:20 Setup is installing Microsoft Distributed Transaction Coordinator (MSDTC) ... 10:57:20 F:x86Otherdtcsetup.exe /q:a /r:n 10:57:22 Process Exit Code: (0) 10:57:22 Setup is installing HTML Help ... 10:57:24 HTML Help installer exit code: 0 10:57:24 End Action InstallPkgs 10:57:24 SetNewPath returned: 3010 10:57:24 Path successfully updated. 10:57:24 Begin Action SelfRegister 10:57:30 Return code: 0 10:57:30 End Action SelfRegister 10:57:30 Begin Action SetupRegistry: 10:57:30 End Action SetupRegistry 10:57:30 Begin Action PostSetupRegistry: 10:57:30 C:MSSQL7BINNdcomscm.exe /RegServer 10:57:30 Process Exit Code: (0) 10:57:30 C:PROGRA~1COMMON~1MICROS~1SQLDEB~1sqldbreg.exe -RegServer 10:57:30 Process Exit Code: (-2147312566) Error loading type library/DLL.
I recently just changed my server's IP address. Now I can't access my named server in the Enterprise Manager. I can get to the server using the (LOCAL) name but not the machine name. Any pointers on how to fix this problem? Thanks!
I had 50+ servers that are to be registered under 10 Groups. My Sr.DBA dumped all registered servers from his registry to a shared location as with file name as Servers.reg. I clicked this file and added to to the Registry.
But the problem is when I opened the Enterprise manager i could see only the group names but the servers are missing???
Some one please help me in this ... How can we add all the Servers to my registry.
I have 65 servers registered in SQL Server 7.0 that I can see in Enterprise Manager. When I load the desktop client for 2000 I lose all the registered servers, and I have to register them all again.
I have 3 SQL Servers running here. Here are their configurations:
SERVER 1: OS: Windows 2000 SP 4 SQL: SQL Server 2000 SP 4
SERVER 2: OS: Windows 2000 SP 4 SQL: SQL Server 2000 SP 4
SERVER 3: OS: Windows XP Professionnal SQL: SQL Server 2000 SP 3
Now, as you can see, SERVER 1 and SERVER 2 have identical configurations. Plus, both will accept Windows Authentication and SQL Authentication.
If I try to add a new Registration from SERVER 3 to SERVER 1, it works fine but from SERVER 3 to SERVER 2 it doesn't. I always get an error (SQL Server does not exist or access denied). But, using the exact same user name and password, a connection can be established from SERVER 1 to SERVER 2 and vice-versa. Only when trying to connect froms SERVER 3 to SERVER 2 fails.
recently i have intsalled sql server on my system . and tried to set the sql server authentication, but its giving me an error,all the time i.e not allowing me to register and it says, "not connected to the right server." or sql server is not found.
can any one help me out ASAP with this.that is show me how to register the sql server exactly and set the user name and password for the sql server.Thnaks.
Hi, I've just installed MSDE 2000 Release A on a Windows NT Server 4.0 w/SP6. I'm on a WinXP machine and I've installed the Enterprise Manager, and am trying to register a new server registration. However, I'm getting the error: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection. I've made sure that both the client and server are using TCP/IP for the protocol list, and I've tried using the physical server's name and it's IP address to register, but keep getting the same error. Thanks for the help.
I am having problems with enterprise manager crashing. I basically deleted a database on my hosting company before I deleted the SQL server registration from enterprise manager, now everytime I try and delete it in enterprise manager it crashes.