Friday, March 23, 2012
Remotely Executing a Stored Proc
TIAPlease take a look at the linked server functionality. This allows you to execute a distributed query or call a remote stored procedure.
Remotely accessing database
Is this happening because my server is (local)? If so how do I change it to permit remote access?
Any assistance would be appreciated.if you have only one sql server in that box, than the default name of the sql server is the name of the windows box. when you try to connect from another box, make sure that the client box has sql server drivers, create a DSN that point to the SQL Server box (using windows server name or ip address), every thing should go fine from there.|||C-Nag
Thanks! I thought there was a simple solution. I'm more familiear with MSAccess and should of thought of this. With access it would require the same.sql
Remote User Login Error
Hello guys and girls! I need help for this error. Could anyone be so kind to enlighten me on this? Thanks!
When i attempted to login to my local page, this occurred:
I'm wondering if you have authetication set to forms?
<authenticationmode="Forms">
|||hi pkellnerYa.. I did set already..|||sorry it didn't help. usually when you see an error with the name int he format aspnet/... that means the app is using windows authentication and not forms. oh well. I can't think of anything else.
Wednesday, March 21, 2012
Remote to Remote
We have 3 database server . one is local and other two are in two different locations.
Scenario is , we have to import a database from one old remote server to another new remote server.
Since, it should be difficult (bcoz of firewall issues) to import from old remote to new remote server, i thought to
import to my local DB server then import database to new remote server.
I am planning to give IMPORT/EXPORT option in the ALL TASKS property, from my local m/c to the old remote server.
then take BACKUP database in my local machine . After that just copy the backup file to my new Remote server and then
just restore it.
Or is there any better solution to accomplish this ?
Please give me some advice !
Thanks,
HadleyWhy not consider using REPLICATION or LOG SHIPPING kind of solution rather depending on roundabout solution. Refer to books online for more information.
Remote stored procedure
output into a table on the local machine.
The two servers are linked and I am using the code as follows
BEGIN DISTRIBUTED TRAN
insert into ServerA.Database.dbo.drv_total
exec ServerB.master.dbo.xp_fixeddrives
COMMIT TRAN
The MSDTC is started on both machines.
I am getting this error:
Server: Msg 7391, Level 16, State 1, Line 2
The operation could not be performed because the OLE DB provider 'SQLOLEDB'
was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the
specified transaction coordinator. ]
Any thoughts?
TIA,
nivek
Hi Nivek,
Are you running on Windows 2003? If so, the following link may apply to you:
http://support.microsoft.com/default...b;en-us;329332
"The problem occurs because Microsoft Distributed Transaction Coordinator
(MS DTC) is not configured for network access. By default, the network access
settings of MS DTC are disabled on new installations of SQL Server 2000 on
computers running Windows Server 2003, Enterprise Edition. "
Best Regards,
Joe Sack
Author of "SQL Server 2000 Fast Answers..."
http://www.JoeSack.com
"nivek" wrote:
> I am trying to run a stored procedure on a remote server and insert the
> output into a table on the local machine.
> The two servers are linked and I am using the code as follows
> BEGIN DISTRIBUTED TRAN
> insert into ServerA.Database.dbo.drv_total
> exec ServerB.master.dbo.xp_fixeddrives
> COMMIT TRAN
> The MSDTC is started on both machines.
> I am getting this error:
> Server: Msg 7391, Level 16, State 1, Line 2
> The operation could not be performed because the OLE DB provider 'SQLOLEDB'
> was unable to begin a distributed transaction.
> [OLE/DB provider returned message: New transaction cannot enlist in the
> specified transaction coordinator. ]
>
> Any thoughts?
>
> TIA,
> nivek
>
>
sql
Remote stored procedure
output into a table on the local machine.
The two servers are linked and I am using the code as follows
BEGIN DISTRIBUTED TRAN
insert into ServerA.Database.dbo.drv_total
exec ServerB.master.dbo.xp_fixeddrives
COMMIT TRAN
The MSDTC is started on both machines.
I am getting this error:
Server: Msg 7391, Level 16, State 1, Line 2
The operation could not be performed because the OLE DB provider 'SQLOLEDB'
was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the
specified transaction coordinator. ]
Any thoughts?
TIA,
nivekHi Nivek,
Are you running on Windows 2003? If so, the following link may apply to you:
http://support.microsoft.com/default.aspx?scid=kb;en-us;329332
"The problem occurs because Microsoft Distributed Transaction Coordinator
(MS DTC) is not configured for network access. By default, the network access
settings of MS DTC are disabled on new installations of SQL Server 2000 on
computers running Windows Server 2003, Enterprise Edition. "
Best Regards,
Joe Sack
Author of "SQL Server 2000 Fast Answers..."
http://www.JoeSack.com
"nivek" wrote:
> I am trying to run a stored procedure on a remote server and insert the
> output into a table on the local machine.
> The two servers are linked and I am using the code as follows
> BEGIN DISTRIBUTED TRAN
> insert into ServerA.Database.dbo.drv_total
> exec ServerB.master.dbo.xp_fixeddrives
> COMMIT TRAN
> The MSDTC is started on both machines.
> I am getting this error:
> Server: Msg 7391, Level 16, State 1, Line 2
> The operation could not be performed because the OLE DB provider 'SQLOLEDB'
> was unable to begin a distributed transaction.
> [OLE/DB provider returned message: New transaction cannot enlist in the
> specified transaction coordinator. ]
>
> Any thoughts?
>
> TIA,
> nivek
>
>
Remote Sql2000 trough Local Enterpris 7.0
is it possible to manage a Remote Sql2000 trough a local installed Entrepise
manager 7.0 ?
GL.No, only the ther way.
HTH, Jens Suessmeyer.|||No, EM 7 cannot connect to SQL Server 2000.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"Grard Leclercq" <gl@.pasdemail.fr> wrote in message
news:DiEIf.258469$3P4.7890037@.phobos.telenet-ops.be...
> Hi,
> is it possible to manage a Remote Sql2000 trough a local installed Entrepi
se manager 7.0 ?
> GL.
>
remote sql server is the same as local in em
In EM under node Remote Servers I see the remote server with the same name
as a local. For example my server name is WP200 and remote server shows
WP200. It is sql 2000. The RCP is checked and map all logins to different
logins selected but there is nothing in the selection grid.
I can't figure out for what purpose it was set up this way.
Please help.
thank you very much.
JanHi Jan
Your local server will appear under the remote servers, if it doesn't then
@.@.SERVERNAME will probably return the wrong value. Reading sp_addserver in
BOL and the @.LOCAL parameter may help!
John
"Jan" wrote:
> Hello,
> In EM under node Remote Servers I see the remote server with the same name
> as a local. For example my server name is WP200 and remote server shows
> WP200. It is sql 2000. The RCP is checked and map all logins to different
> logins selected but there is nothing in the selection grid.
> I can't figure out for what purpose it was set up this way.
> Please help.
> thank you very much.
> Jan|||For remote server access to work, the 'remote access' configuration option,
which controls logins from remote servers, must be set to 1 can be done usin
g
sp_configure
refer Configuring Remote Servers chapter in BOL
Amol Lembhe
"John Bell" wrote:
[vbcol=seagreen]
> Hi Jan
> Your local server will appear under the remote servers, if it doesn't then
> @.@.SERVERNAME will probably return the wrong value. Reading sp_addserver in
> BOL and the @.LOCAL parameter may help!
> John
> "Jan" wrote:
>
remote sql server is the same as local in em
In EM under node Remote Servers I see the remote server with the same name
as a local. For example my server name is WP200 and remote server shows
WP200. It is sql 2000. The RCP is checked and map all logins to different
logins selected but there is nothing in the selection grid.
I can't figure out for what purpose it was set up this way.
Please help.
thank you very much.
JanHi Jan
Your local server will appear under the remote servers, if it doesn't then
@.@.SERVERNAME will probably return the wrong value. Reading sp_addserver in
BOL and the @.LOCAL parameter may help!
John
"Jan" wrote:
> Hello,
> In EM under node Remote Servers I see the remote server with the same name
> as a local. For example my server name is WP200 and remote server shows
> WP200. It is sql 2000. The RCP is checked and map all logins to different
> logins selected but there is nothing in the selection grid.
> I can't figure out for what purpose it was set up this way.
> Please help.
> thank you very much.
> Jan|||For remote server access to work, the 'remote access' configuration option,
which controls logins from remote servers, must be set to 1 can be done using
sp_configure
refer Configuring Remote Servers chapter in BOL
Amol Lembhe
"John Bell" wrote:
> Hi Jan
> Your local server will appear under the remote servers, if it doesn't then
> @.@.SERVERNAME will probably return the wrong value. Reading sp_addserver in
> BOL and the @.LOCAL parameter may help!
> John
> "Jan" wrote:
> > Hello,
> > In EM under node Remote Servers I see the remote server with the same name
> > as a local. For example my server name is WP200 and remote server shows
> > WP200. It is sql 2000. The RCP is checked and map all logins to different
> > logins selected but there is nothing in the selection grid.
> > I can't figure out for what purpose it was set up this way.
> > Please help.
> > thank you very much.
> >
> > Jan
Remote SQL Server Access
<identity impersonate="true" userName="domain\user" password="pass"/
I'm able to access all resources and execute all pages without any problem.
When an object is added to session state I recieve the following error:
"Cannot open database requested in login 'ASPState'. Login fails. Login failed for user 'domain\username. "
Here is my web.config entry for using sql server (with modified connection string of course):
<sessionState mode="SQLServer" cookieless="false" timeout="30" stateConnectionString="Data Source=xxx.xxx.x.xx,1433;Network Library=DBMSSOCN;Initial Catalog=ASPState;Integrated Security=SSPI" /
I've checked and given the user i'm impersonating the ability to do everything. I've granted access on all necessary files, added them to the DB and made the user a db_owner of the ASPState table. I can log in to a machine as the user, then access sql server using the windows authentication. I granted 'act as part of the operating system', 'access this computer from a network', 'log on as a service', 'log on as a batch job' on both the remote computer hosting sql server and the web server.
The strange thing is i installed the asp session state tables on my development machine, using the same configuration file to run everything, and was able to add an object to session state without any problem. But when i specify the remote server, i'm denied.
Anybody have an idea?Have you tried switched back from integrated and supplying the said user details in the connection string? Not suggesting that as a solution but just wondering if that works.
Remote SQL Job
that executes a job on a remote server. The remote server already has the
job set up on it, I just need a way to trigger it. Any ideas?
Thanks,
nivekEXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
"nivek" wrote:
> I have a job created on my local server and I would like to add a final step
> that executes a job on a remote server. The remote server already has the
> job set up on it, I just need a way to trigger it. Any ideas?
> Thanks,
> nivek
>
>|||Thank you, that did the trick
nivek
"Jack" <Jack@.discussions.microsoft.com> wrote in message
news:1D6219E6-4061-4A1B-8268-477B76E56E3D@.microsoft.com...
> EXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
>
> "nivek" wrote:
>> I have a job created on my local server and I would like to add a final
>> step
>> that executes a job on a remote server. The remote server already has the
>> job set up on it, I just need a way to trigger it. Any ideas?
>> Thanks,
>> nivek
>>
Remote SQL Job
that executes a job on a remote server. The remote server already has the
job set up on it, I just need a way to trigger it. Any ideas?
Thanks,
nivekEXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
"nivek" wrote:
> I have a job created on my local server and I would like to add a final st
ep
> that executes a job on a remote server. The remote server already has the
> job set up on it, I just need a way to trigger it. Any ideas?
> Thanks,
> nivek
>
>|||Thank you, that did the trick
nivek
"Jack" <Jack@.discussions.microsoft.com> wrote in message
news:1D6219E6-4061-4A1B-8268-477B76E56E3D@.microsoft.com...[vbcol=seagreen]
> EXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
>
> "nivek" wrote:
>
Remote SQL Job
that executes a job on a remote server. The remote server already has the
job set up on it, I just need a way to trigger it. Any ideas?
Thanks,
nivek
EXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
"nivek" wrote:
> I have a job created on my local server and I would like to add a final step
> that executes a job on a remote server. The remote server already has the
> job set up on it, I just need a way to trigger it. Any ideas?
> Thanks,
> nivek
>
>
|||Thank you, that did the trick
nivek
"Jack" <Jack@.discussions.microsoft.com> wrote in message
news:1D6219E6-4061-4A1B-8268-477B76E56E3D@.microsoft.com...[vbcol=seagreen]
> EXEC ('EXEC remoteserver.msdb.dbo.sp_start_job ''job name''')
>
> "nivek" wrote:
sql
Tuesday, March 20, 2012
Remote Server using Enterprise Manager
please help
I am new with MS SQL Server.
I do not have any problem with my local server but has problem with remote
server.
I am trying to connect my SQL database in my internet site.
I want to design my database using "SQL Server Enterprise Manager" but I
have received this error.
A connection could not establish to SQLWeb
Reason : SQL Server does not exist or access denied
ConnectionOpen(Connect())..
Please verify SQL Server is running and check your SQL Server registration
properties(By right-clicking on SQLWEb node)
My web hosting suggested me to create connection using "SQL Server Client
Network Utility"
So I Add Server Alias SQLWeb using TCPIP using port Number 1433.
Then I add "SQL Server Registration" using SQL Server Enterprise Manager and
had the above message.
I have Check all My "Server name/Connection Parameter" .
What Could be wrong ?
Hermawih
Hi Hermawih,
Welcome to use MSDN Managed Newsgroup Support.
From your description, my understanding of this issue is: When you want to
register a remote SQL Server Instance, you got the "SQL Server does not
exist or access denied" error. If I misunderstood your concern, please feel
free to point it out.
"SQL Server exist or access denied" error may be caused by many reason. To
narrow down the issue, you may do the following steps:
1. Verify your DNS settings.
Use the ping <Server Name> command in the command prompt.
If you can ping the Server, please make sure that you can use the
Telnet program to connect to the port where SQL Server is listening. You
can use the Telnet <IP Address> <Port Number> command in the command prompt.
Verify your remote SQL Server Service is running.
2. Verify the enabled protocols and aliases.
Check the Client Network Utility in the Start Menu and enable all the
protocols that you want to use.
3. Connectivity problems may also occur because of problems with MDAC.
You can also test connectivity to the instance of SQL Server by using a
.udl file.
The following article will help you to do this:
244659 SAMPLE: How to create a data link file with Windows 2000
(http://support.microsoft.com/kb/244659/)
4. You may test the connectivity by using one or more following method
to check it:
a) Test the connectivity to the instance of SQL Server by using both
SQL Server Authentication and Windows authentication.
b) Test the connectivity to the instance of SQL Server from other data
sources, such as an ODBC DSN, a .udl file, SQL Query Analyzer, SQL Server
Enterprise Manager, the isql utility, or the osql utility.
c) Test the connectivity by using a different login account to help you
determine if the problem is associated with a particular login account.
d) Try to connect to the instance of SQL Server by using the IP address
instead of the server name.
e) Try to specify the specific port that the instance of SQL Server is
listening on, either by creating an alias or by adding a port number to the
connection string (MyServer\MyInstance, 1433, for example).
The following Knowledge base article will give you the detail information:
How to troubleshoot connectivity issues in SQL Server 2000
http://support.microsoft.com/?id=827422
Hope this will be helpful!
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Thanks Wei Lu.
Yes that is the problem "SQL Server does not
exist or access denied"
I did try using DSN , Query Analyzer, SQL Server Manager and all of them
failed for remote SQL Server Instance. For local, I have no problem.
You gave me a lot of information. Since I am new to SQL Server, Let me play
around using SQL Server 2000 for a day or two or probably more. Hopefully
the information you gave will work. I did copy your answer to my notepad and
that will keep me busy for quite sometime.
Thank you again
Hermawih
"Wei Lu" wrote:
> Hi Hermawih,
> Welcome to use MSDN Managed Newsgroup Support.
> From your description, my understanding of this issue is: When you want to
> register a remote SQL Server Instance, you got the "SQL Server does not
> exist or access denied" error. If I misunderstood your concern, please feel
> free to point it out.
> "SQL Server exist or access denied" error may be caused by many reason. To
> narrow down the issue, you may do the following steps:
> 1. Verify your DNS settings.
> Use the ping <Server Name> command in the command prompt.
> If you can ping the Server, please make sure that you can use the
> Telnet program to connect to the port where SQL Server is listening. You
> can use the Telnet <IP Address> <Port Number> command in the command prompt.
> Verify your remote SQL Server Service is running.
> 2. Verify the enabled protocols and aliases.
> Check the Client Network Utility in the Start Menu and enable all the
> protocols that you want to use.
> 3. Connectivity problems may also occur because of problems with MDAC.
> You can also test connectivity to the instance of SQL Server by using a
> .udl file.
> The following article will help you to do this:
> 244659 SAMPLE: How to create a data link file with Windows 2000
> (http://support.microsoft.com/kb/244659/)
> 4. You may test the connectivity by using one or more following method
> to check it:
>
> a) Test the connectivity to the instance of SQL Server by using both
> SQL Server Authentication and Windows authentication.
> b) Test the connectivity to the instance of SQL Server from other data
> sources, such as an ODBC DSN, a .udl file, SQL Query Analyzer, SQL Server
> Enterprise Manager, the isql utility, or the osql utility.
> c) Test the connectivity by using a different login account to help you
> determine if the problem is associated with a particular login account.
> d) Try to connect to the instance of SQL Server by using the IP address
> instead of the server name.
> e) Try to specify the specific port that the instance of SQL Server is
> listening on, either by creating an alias or by adding a port number to the
> connection string (MyServer\MyInstance, 1433, for example).
>
> The following Knowledge base article will give you the detail information:
> How to troubleshoot connectivity issues in SQL Server 2000
> http://support.microsoft.com/?id=827422
>
> Hope this will be helpful!
>
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> ================================================== ====
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
|||Hi Hermawih,
Thanks for your update.
I think you need to check the DSN and try to ping the Server first. If this
does not work, it means that the server name is not correct or the SQL
Server Service is not start on the remote Server.
Hope this will be helpful.
I look forward for your reply.
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
================================================== ====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Thanks Wei Lu.
I did try ping my SQL server , I received ,
pinging xx.xxx.xx.xx with 32 bytres of data:
Request Timed out.
Request Timed out.
Request Timed out.
Reply from xx.x.x.xxx:Destination net unreachable.
Ping Statistics for xx.xxx.xx.xx:
Packets: Sent=4, Received=1, Lost=3 (75% loss),
Approximate round trip times in milli-seconds:
Minimum=0ms, Maximum=0ms, Average = 0ms
Is that good or bad ?
What is that means ?
What I could not understand is that I could create tables, Fields and
inserting some values by coding .
I chatted with someone in web hosting company and said that he could connect
to my server. I followed all his suggestion including turning off my
firewall but so far It did not work.
I am using Window XP Profesional with sp2 , SQL Server 2000 Developer
edition . Before that I installed SQL server 2005 express edition but then I
changed to SQL server 2000 Developer edition.
What is the problem ..?.
Hermawih
http://www.bocsoft.net
Hermawih
"Wei Lu" wrote:
> Hi Hermawih,
> Thanks for your update.
> I think you need to check the DSN and try to ping the Server first. If this
> does not work, it means that the server name is not correct or the SQL
> Server Service is not start on the remote Server.
> Hope this will be helpful.
> I look forward for your reply.
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> ================================================== ====
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
|||Hi Hermawih,
Thank you for the update.
The result of Ping command shows that the network does not work fine.
To resolve it, please contact your local network administrator.
Also, you may use the ipconfig /all command to check your IP configuration.
The following Knowledge base article will help you to do the troubleshoot
step:
How to Troubleshoot Basic TCP/IP Problems
http://support.microsoft.com/default...b;EN-US;169790
Hope this will be helpful.
Wei Lu
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi Wei Lu,
Thank you .
Okkay I will try to research your links.
I will get back to you for the result.
My last choice probably will forget about using the tool and starts coding
to create tables, fields etc.
Hermawih
http://www.bocsoft.net
"Wei Lu" wrote:
> Hi Hermawih,
> Thank you for the update.
> The result of Ping command shows that the network does not work fine.
> To resolve it, please contact your local network administrator.
> Also, you may use the ipconfig /all command to check your IP configuration.
> The following Knowledge base article will help you to do the troubleshoot
> step:
> How to Troubleshoot Basic TCP/IP Problems
> http://support.microsoft.com/default...b;EN-US;169790
> Hope this will be helpful.
> Wei Lu
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> ================================================== ===
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
|||Hi hermawih,
Thanks for the update.
I'd like to know what do you mean that you can create table by coding? Do
you use the Query Analyzer?
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Sorry, I should clarify this :
I tried using TCP/IP connection with my local network server. It worked.
I tried using TCP/IP to create an instance of SQL server from another SQL
server in my local network. It worked .
Hermawih
http://www.bocsoft.net
"Wei Lu" wrote:
> Hi hermawih,
> Thanks for the update.
> I'd like to know what do you mean that you can create table by coding? Do
> you use the Query Analyzer?
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> ================================================== ===
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ================================================== ===
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
|||Hi Hermawih,
Thanks for the update.
Since you need to use the EM to create table, fields etc, I suggest you to
use the SQL Web Data Administrator to do that.
The SQL Server Web Data Administrator enables you to easily manage your SQL
Server data, wherever you are. You can deploy it on the web host and use
it to manage your database.
You can download this tool from the following url:
http://www.microsoft.com/downloads/d...798-c57a-419e-
acbc-2a332cb7f959&displaylang=en
Hope this will be helpfu.
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
================================================== ===
This posting is provided "AS IS" with no warranties, and confers no rights.
Remote Server using Enterprise Manager
please help
I am new with MS SQL Server.
I do not have any problem with my local server but has problem with remote
server.
I am trying to connect my SQL database in my internet site.
I want to design my database using "SQL Server Enterprise Manager" but I
have received this error.
A connection could not establish to SQLWeb
Reason : SQL Server does not exist or access denied
ConnectionOpen(Connect())..
Please verify SQL Server is running and check your SQL Server registration
properties(By right-clicking on SQLWEb node)
My web hosting suggested me to create connection using "SQL Server Client
Network Utility"
So I Add Server Alias SQLWeb using TCPIP using port Number 1433.
Then I add "SQL Server Registration" using SQL Server Enterprise Manager and
had the above message.
I have Check all My "Server name/Connection Parameter" .
What Could be wrong '
HermawihHi Hermawih,
Welcome to use MSDN Managed Newsgroup Support.
From your description, my understanding of this issue is: When you want to
register a remote SQL Server Instance, you got the "SQL Server does not
exist or access denied" error. If I misunderstood your concern, please feel
free to point it out.
"SQL Server exist or access denied" error may be caused by many reason. To
narrow down the issue, you may do the following steps:
1. Verify your DNS settings.
Use the ping <Server Name> command in the command prompt.
If you can ping the Server, please make sure that you can use the
Telnet program to connect to the port where SQL Server is listening. You
can use the Telnet <IP Address> <Port Number> command in the command prompt.
Verify your remote SQL Server Service is running.
2. Verify the enabled protocols and aliases.
Check the Client Network Utility in the Start Menu and enable all the
protocols that you want to use.
3. Connectivity problems may also occur because of problems with MDAC.
You can also test connectivity to the instance of SQL Server by using a
.udl file.
The following article will help you to do this:
244659 SAMPLE: How to create a data link file with Windows 2000
(http://support.microsoft.com/kb/244659/)
4. You may test the connectivity by using one or more following method
to check it:
a) Test the connectivity to the instance of SQL Server by using both
SQL Server Authentication and Windows authentication.
b) Test the connectivity to the instance of SQL Server from other data
sources, such as an ODBC DSN, a .udl file, SQL Query Analyzer, SQL Server
Enterprise Manager, the isql utility, or the osql utility.
c) Test the connectivity by using a different login account to help you
determine if the problem is associated with a particular login account.
d) Try to connect to the instance of SQL Server by using the IP address
instead of the server name.
e) Try to specify the specific port that the instance of SQL Server is
listening on, either by creating an alias or by adding a port number to the
connection string (MyServer\MyInstance, 1433, for example).
The following Knowledge base article will give you the detail information:
How to troubleshoot connectivity issues in SQL Server 2000
http://support.microsoft.com/?id=827422
Hope this will be helpful!
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
========================================
==============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.|||Thanks Wei Lu.
Yes that is the problem "SQL Server does not
exist or access denied"
I did try using DSN , Query Analyzer, SQL Server Manager and all of them
failed for remote SQL Server Instance. For local, I have no problem.
You gave me a lot of information. Since I am new to SQL Server, Let me play
around using SQL Server 2000 for a day or two or probably more. Hopefully
the information you gave will work. I did copy your answer to my notepad and
that will keep me busy for quite sometime.
Thank you again
Hermawih
"Wei Lu" wrote:
> Hi Hermawih,
> Welcome to use MSDN Managed Newsgroup Support.
> From your description, my understanding of this issue is: When you want to
> register a remote SQL Server Instance, you got the "SQL Server does not
> exist or access denied" error. If I misunderstood your concern, please fee
l
> free to point it out.
> "SQL Server exist or access denied" error may be caused by many reason. To
> narrow down the issue, you may do the following steps:
> 1. Verify your DNS settings.
> Use the ping <Server Name> command in the command prompt.
> If you can ping the Server, please make sure that you can use the
> Telnet program to connect to the port where SQL Server is listening. You
> can use the Telnet <IP Address> <Port Number> command in the command promp
t.
> Verify your remote SQL Server Service is running.
> 2. Verify the enabled protocols and aliases.
> Check the Client Network Utility in the Start Menu and enable all the
> protocols that you want to use.
> 3. Connectivity problems may also occur because of problems with MDAC
.
> You can also test connectivity to the instance of SQL Server by using a
> .udl file.
> The following article will help you to do this:
> 244659 SAMPLE: How to create a data link file with Windows 2000
> (http://support.microsoft.com/kb/244659/)
> 4. You may test the connectivity by using one or more following metho
d
> to check it:
>
> a) Test the connectivity to the instance of SQL Server by using both
> SQL Server Authentication and Windows authentication.
> b) Test the connectivity to the instance of SQL Server from other data
> sources, such as an ODBC DSN, a .udl file, SQL Query Analyzer, SQL Server
> Enterprise Manager, the isql utility, or the osql utility.
> c) Test the connectivity by using a different login account to help yo
u
> determine if the problem is associated with a particular login account.
> d) Try to connect to the instance of SQL Server by using the IP addres
s
> instead of the server name.
> e) Try to specify the specific port that the instance of SQL Server is
> listening on, either by creating an alias or by adding a port number to th
e
> connection string (MyServer\MyInstance, 1433, for example).
>
> The following Knowledge base article will give you the detail information:
> How to troubleshoot connectivity issues in SQL Server 2000
> http://support.microsoft.com/?id=827422
>
> Hope this will be helpful!
>
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
>|||Hi Hermawih,
Thanks for your update.
I think you need to check the DSN and try to ping the Server first. If this
does not work, it means that the server name is not correct or the SQL
Server Service is not start on the remote Server.
Hope this will be helpful.
I look forward for your reply.
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
========================================
==============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.|||Thanks Wei Lu.
I did try ping my SQL server , I received ,
pinging xx.xxx.xx.xx with 32 bytres of data:
Request Timed out.
Request Timed out.
Request Timed out.
Reply from xx.x.x.xxx:Destination net unreachable.
Ping Statistics for xx.xxx.xx.xx:
Packets: Sent=4, Received=1, Lost=3 (75% loss),
Approximate round trip times in milli-seconds:
Minimum=0ms, Maximum=0ms, Average = 0ms
Is that good or bad ?
What is that means ?
What I could not understand is that I could create tables, Fields and
inserting some values by coding .
I chatted with someone in web hosting company and said that he could connect
to my server. I followed all his suggestion including turning off my
firewall but so far It did not work.
I am using Window XP Profesional with sp2 , SQL Server 2000 Developer
edition . Before that I installed SQL server 2005 express edition but then I
changed to SQL server 2000 Developer edition.
What is the problem ..?.
Hermawih
http://www.bocsoft.net
--
Hermawih
"Wei Lu" wrote:
> Hi Hermawih,
> Thanks for your update.
> I think you need to check the DSN and try to ping the Server first. If thi
s
> does not work, it means that the server name is not correct or the SQL
> Server Service is not start on the remote Server.
> Hope this will be helpful.
> I look forward for your reply.
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> ========================================
==============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>|||Hi Hermawih,
Thank you for the update.
The result of Ping command shows that the network does not work fine.
To resolve it, please contact your local network administrator.
Also, you may use the ipconfig /all command to check your IP configuration.
The following Knowledge base article will help you to do the troubleshoot
step:
How to Troubleshoot Basic TCP/IP Problems
http://support.microsoft.com/defaul...kb;EN-US;169790
Hope this will be helpful.
Wei Lu
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
========================================
=============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi Wei Lu,
Thank you .
Okkay I will try to research your links.
I will get back to you for the result.
My last choice probably will forget about using the tool and starts coding
to create tables, fields etc.
Hermawih
http://www.bocsoft.net
"Wei Lu" wrote:
> Hi Hermawih,
> Thank you for the update.
> The result of Ping command shows that the network does not work fine.
> To resolve it, please contact your local network administrator.
> Also, you may use the ipconfig /all command to check your IP configuration
.
> The following Knowledge base article will help you to do the troubleshoot
> step:
> How to Troubleshoot Basic TCP/IP Problems
> http://support.microsoft.com/defaul...kb;EN-US;169790
> Hope this will be helpful.
> Wei Lu
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> ========================================
=============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>|||Hi hermawih,
Thanks for the update.
I'd like to know what do you mean that you can create table by coding? Do
you use the Query Analyzer?
Sincerely yours,
Wei Lu
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
========================================
=============
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
=============
This posting is provided "AS IS" with no warranties, and confers no rights.|||Thanks Wei Lu.
--
I'd like to know what do you mean that you can create table by coding? Do
you use the Query Analyzer?
--
I tried using Query Analyzer too. It failed - same problem.
What I meant creating table by coding :
I went to the web site and use its tool for creating tables, fields and
inserting values.
I also create an ASP page and put it there in my site and read the values of
a table.
I could do that.
Perhaps What I will try next is creating an ASP NET page and put it there
and will try to create some objects on my SQL server such as tables, fields
,
etc .
I have sent an Email about my problem to my web hosting company about the
possibilty of security setting problems. But I have not got any reply from
them. I will try again to contact them. If I may, can I attach some of this
discussion and send it to them .
I tried using TCP/IP connection with my local network server. It worked.
I am not sure if it is because of the speed of the connection ' My
connection speed is about 46 Kbps .
Or perhaps my ISP problem '
My Computer - ISP - Web Hosting .
Is that any possibility the problem is with ISP ?
Thank you so very much for being patience.
Hermawih
http://www.bocsoft.net
Hermawih
"Wei Lu" wrote:
> Hi hermawih,
> Thanks for the update.
> I'd like to know what do you mean that you can create table by coding? Do
> you use the Query Analyzer?
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> ========================================
=============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>|||Sorry, I should clarify this :
I tried using TCP/IP connection with my local network server. It worked.
--
I tried using TCP/IP to create an instance of SQL server from another SQL
server in my local network. It worked .
----
Hermawih
http://www.bocsoft.net
"Wei Lu" wrote:
> Hi hermawih,
> Thanks for the update.
> I'd like to know what do you mean that you can create table by coding? Do
> you use the Query Analyzer?
> Sincerely yours,
> Wei Lu
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> ========================================
=============
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
=============
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
Remote server backups to local drive?
to a local drive? We have a web hosted account that has a SQL Server that
we do not have full admin rights on. We would like to be able to do backups
and restores to our local development server if possible.ML
Can you copy .BAK file to your local server by using XCOPY utility?
"ML" <schooner@.accesswave.ca> wrote in message
news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
> Is there any way to backup a remote SQL Server that is on a hosted account
> to a local drive? We have a web hosted account that has a SQL Server that
> we do not have full admin rights on. We would like to be able to do
> backups and restores to our local development server if possible.
>|||No, I do not have direct access to perform a backup or copy the bak files.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
> ML
> Can you copy .BAK file to your local server by using XCOPY utility?
>
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>> Is there any way to backup a remote SQL Server that is on a hosted
>> account to a local drive? We have a web hosted account that has a SQL
>> Server that we do not have full admin rights on. We would like to be
>> able to do backups and restores to our local development server if
>> possible.
>|||Ok, so maybe someone who has permissions at remote server can backup
database and put in FTP directory for example where you can copy .BAK file
Also , check out WEB Admin SQL tool provided by Microsoft.
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>> ML
>> Can you copy .BAK file to your local server by using XCOPY utility?
>>
>>
>> "ML" <schooner@.accesswave.ca> wrote in message
>> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>> Is there any way to backup a remote SQL Server that is on a hosted
>> account to a local drive? We have a web hosted account that has a SQL
>> Server that we do not have full admin rights on. We would like to be
>> able to do backups and restores to our local development server if
>> possible.
>>
>|||I am looking for a solution that avoids having to have someone on the
hosting end be involved, possibly a DTS package or similar.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uefMEilpFHA.3536@.TK2MSFTNGP15.phx.gbl...
> Ok, so maybe someone who has permissions at remote server can backup
> database and put in FTP directory for example where you can copy .BAK file
> Also , check out WEB Admin SQL tool provided by Microsoft.
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>> No, I do not have direct access to perform a backup or copy the bak
>> files.
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>> ML
>> Can you copy .BAK file to your local server by using XCOPY utility?
>>
>>
>> "ML" <schooner@.accesswave.ca> wrote in message
>> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>> Is there any way to backup a remote SQL Server that is on a hosted
>> account to a local drive? We have a web hosted account that has a SQL
>> Server that we do not have full admin rights on. We would like to be
>> able to do backups and restores to our local development server if
>> possible.
>>
>>
>|||You have just answered your own question. You need platform access to a
file share to retrieve a backup file. DTS will copy a file for you, but it
uses the same windows network file mechanism that copy and xcopy use. You
can use a SQL to SQL transfer to copy database elements, but you will need
direct outside access to the SQL Service. Somehow, I doubt the hosting
company will be any more likely to grant that than they will to give
platform access.
I would say your best bet is to havethem make a backup and place it where
you can retrieve it via FTP.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>> ML
>> Can you copy .BAK file to your local server by using XCOPY utility?
>>
>>
>> "ML" <schooner@.accesswave.ca> wrote in message
>> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>> Is there any way to backup a remote SQL Server that is on a hosted
>> account to a local drive? We have a web hosted account that has a SQL
>> Server that we do not have full admin rights on. We would like to be
>> able to do backups and restores to our local development server if
>> possible.
>>
>|||I have full dbo access in terms of being able to run a DTS package, etc. I
just do not have rights to backup to a drive that is accessible from our
account.
That is why I ask if there is someway to handle it other than the normal
backup/restore.
Yes the host will do full backups and restores for us on request but would
like to have means where we can do a similar task as needed.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in message
news:%23fpzF1npFHA.3004@.TK2MSFTNGP15.phx.gbl...
> You have just answered your own question. You need platform access to a
> file share to retrieve a backup file. DTS will copy a file for you, but
> it uses the same windows network file mechanism that copy and xcopy use.
> You can use a SQL to SQL transfer to copy database elements, but you will
> need direct outside access to the SQL Service. Somehow, I doubt the
> hosting company will be any more likely to grant that than they will to
> give platform access.
> I would say your best bet is to havethem make a backup and place it where
> you can retrieve it via FTP.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>> No, I do not have direct access to perform a backup or copy the bak
>> files.
>> "Uri Dimant" <urid@.iscar.co.il> wrote in message
>> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>> ML
>> Can you copy .BAK file to your local server by using XCOPY utility?
>>
>>
>> "ML" <schooner@.accesswave.ca> wrote in message
>> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>> Is there any way to backup a remote SQL Server that is on a hosted
>> account to a local drive? We have a web hosted account that has a SQL
>> Server that we do not have full admin rights on. We would like to be
>> able to do backups and restores to our local development server if
>> possible.
>>
>>
>|||ML (schooner@.accesswave.ca) writes:
> I have full dbo access in terms of being able to run a DTS package, etc.
> I just do not have rights to backup to a drive that is accessible from
> our account.
> That is why I ask if there is someway to handle it other than the normal
> backup/restore.
You can backup to a network drive, but I doubt that your local disks are
visible from the SQL Server machine. (And if they are, that would mean that
you need to open those drives for access, so that anyone customer of the
web host, can dump things on your disk space.)
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
Remote server backups to local drive?
to a local drive? We have a web hosted account that has a SQL Server that
we do not have full admin rights on. We would like to be able to do backups
and restores to our local development server if possible.ML
Can you copy .BAK file to your local server by using XCOPY utility?
"ML" <schooner@.accesswave.ca> wrote in message
news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
> Is there any way to backup a remote SQL Server that is on a hosted account
> to a local drive? We have a web hosted account that has a SQL Server that
> we do not have full admin rights on. We would like to be able to do
> backups and restores to our local development server if possible.
>|||No, I do not have direct access to perform a backup or copy the bak files.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
> ML
> Can you copy .BAK file to your local server by using XCOPY utility?
>
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>|||Ok, so maybe someone who has permissions at remote server can backup
database and put in FTP directory for example where you can copy .BAK file
Also , check out WEB Admin SQL tool provided by Microsoft.
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>|||I am looking for a solution that avoids having to have someone on the
hosting end be involved, possibly a DTS package or similar.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uefMEilpFHA.3536@.TK2MSFTNGP15.phx.gbl...
> Ok, so maybe someone who has permissions at remote server can backup
> database and put in FTP directory for example where you can copy .BAK file
> Also , check out WEB Admin SQL tool provided by Microsoft.
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>|||You have just answered your own question. You need platform access to a
file share to retrieve a backup file. DTS will copy a file for you, but it
uses the same windows network file mechanism that copy and xcopy use. You
can use a SQL to SQL transfer to copy database elements, but you will need
direct outside access to the SQL Service. Somehow, I doubt the hosting
company will be any more likely to grant that than they will to give
platform access.
I would say your best bet is to havethem make a backup and place it where
you can retrieve it via FTP.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>|||I have full dbo access in terms of being able to run a DTS package, etc. I
just do not have rights to backup to a drive that is accessible from our
account.
That is why I ask if there is someway to handle it other than the normal
backup/restore.
Yes the host will do full backups and restores for us on request but would
like to have means where we can do a similar task as needed.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in message
news:%23fpzF1npFHA.3004@.TK2MSFTNGP15.phx.gbl...
> You have just answered your own question. You need platform access to a
> file share to retrieve a backup file. DTS will copy a file for you, but
> it uses the same windows network file mechanism that copy and xcopy use.
> You can use a SQL to SQL transfer to copy database elements, but you will
> need direct outside access to the SQL Service. Somehow, I doubt the
> hosting company will be any more likely to grant that than they will to
> give platform access.
> I would say your best bet is to havethem make a backup and place it where
> you can retrieve it via FTP.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>|||ML (schooner@.accesswave.ca) writes:
> I have full dbo access in terms of being able to run a DTS package, etc.
> I just do not have rights to backup to a drive that is accessible from
> our account.
> That is why I ask if there is someway to handle it other than the normal
> backup/restore.
You can backup to a network drive, but I doubt that your local disks are
visible from the SQL Server machine. (And if they are, that would mean that
you need to open those drives for access, so that anyone customer of the
web host, can dump things on your disk space.)
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
Remote server backups to local drive?
to a local drive? We have a web hosted account that has a SQL Server that
we do not have full admin rights on. We would like to be able to do backups
and restores to our local development server if possible.
ML
Can you copy .BAK file to your local server by using XCOPY utility?
"ML" <schooner@.accesswave.ca> wrote in message
news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
> Is there any way to backup a remote SQL Server that is on a hosted account
> to a local drive? We have a web hosted account that has a SQL Server that
> we do not have full admin rights on. We would like to be able to do
> backups and restores to our local development server if possible.
>
|||No, I do not have direct access to perform a backup or copy the bak files.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
> ML
> Can you copy .BAK file to your local server by using XCOPY utility?
>
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:eVHVJOlpFHA.1416@.TK2MSFTNGP09.phx.gbl...
>
|||Ok, so maybe someone who has permissions at remote server can backup
database and put in FTP directory for example where you can copy .BAK file
Also , check out WEB Admin SQL tool provided by Microsoft.
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>
|||I am looking for a solution that avoids having to have someone on the
hosting end be involved, possibly a DTS package or similar.
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:uefMEilpFHA.3536@.TK2MSFTNGP15.phx.gbl...
> Ok, so maybe someone who has permissions at remote server can backup
> database and put in FTP directory for example where you can copy .BAK file
> Also , check out WEB Admin SQL tool provided by Microsoft.
>
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>
|||You have just answered your own question. You need platform access to a
file share to retrieve a backup file. DTS will copy a file for you, but it
uses the same windows network file mechanism that copy and xcopy use. You
can use a SQL to SQL transfer to copy database elements, but you will need
direct outside access to the SQL Service. Somehow, I doubt the hosting
company will be any more likely to grant that than they will to give
platform access.
I would say your best bet is to havethem make a backup and place it where
you can retrieve it via FTP.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"ML" <schooner@.accesswave.ca> wrote in message
news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
> No, I do not have direct access to perform a backup or copy the bak files.
> "Uri Dimant" <urid@.iscar.co.il> wrote in message
> news:%232N%23LUlpFHA.1464@.TK2MSFTNGP14.phx.gbl...
>
|||I have full dbo access in terms of being able to run a DTS package, etc. I
just do not have rights to backup to a drive that is accessible from our
account.
That is why I ask if there is someway to handle it other than the normal
backup/restore.
Yes the host will do full backups and restores for us on request but would
like to have means where we can do a similar task as needed.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in message
news:%23fpzF1npFHA.3004@.TK2MSFTNGP15.phx.gbl...
> You have just answered your own question. You need platform access to a
> file share to retrieve a backup file. DTS will copy a file for you, but
> it uses the same windows network file mechanism that copy and xcopy use.
> You can use a SQL to SQL transfer to copy database elements, but you will
> need direct outside access to the SQL Service. Somehow, I doubt the
> hosting company will be any more likely to grant that than they will to
> give platform access.
> I would say your best bet is to havethem make a backup and place it where
> you can retrieve it via FTP.
> --
> Geoff N. Hiten
> Senior Database Administrator
> Microsoft SQL Server MVP
> "ML" <schooner@.accesswave.ca> wrote in message
> news:%23UWcrYlpFHA.3516@.TK2MSFTNGP15.phx.gbl...
>
|||ML (schooner@.accesswave.ca) writes:
> I have full dbo access in terms of being able to run a DTS package, etc.
> I just do not have rights to backup to a drive that is accessible from
> our account.
> That is why I ask if there is someway to handle it other than the normal
> backup/restore.
You can backup to a network drive, but I doubt that your local disks are
visible from the SQL Server machine. (And if they are, that would mean that
you need to open those drives for access, so that anyone customer of the
web host, can dump things on your disk space.)
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
remote server and local server - distributed queries?
2000 server through EntMgr, and make successful selects on both remote and
local server databases via odbc.
Here's the question - Can I have a local server with some database/tables, a
remote server with some database2/tables, and make a single select statement
using table relationships from each? Without having to use DTS to make
imports/exports into the local server's database?
It seems that the connection object is specific to a server, but is there a
way to handle the reference to the remote server's database through a
database in the local server so that the connection object thinks
everything's local and can remain one-database-server-specific?
Sorry if I've communicated this poorly. I'd appreciate any responses.
Yes...you can do this.
A query can include tables on a linked server by using 4
part naming conventions:
server.database(or catalog).owner(or schema).table
You can also use some of the other distributed query
functions such as Openquery to do this.
-Sue
On Thu, 10 Feb 2005 08:55:03 -0800, janetb
<janetb@.discussions.microsoft.com> wrote:
>I have a remote server that I'm able to successfully register on a local sql
>2000 server through EntMgr, and make successful selects on both remote and
>local server databases via odbc.
>Here's the question - Can I have a local server with some database/tables, a
>remote server with some database2/tables, and make a single select statement
>using table relationships from each? Without having to use DTS to make
>imports/exports into the local server's database?
>It seems that the connection object is specific to a server, but is there a
>way to handle the reference to the remote server's database through a
>database in the local server so that the connection object thinks
>everything's local and can remain one-database-server-specific?
>Sorry if I've communicated this poorly. I'd appreciate any responses.
remote server and local server - distributed queries?
2000 server through EntMgr, and make successful selects on both remote and
local server databases via odbc.
Here's the question - Can I have a local server with some database/tables, a
remote server with some database2/tables, and make a single select statement
using table relationships from each? Without having to use DTS to make
imports/exports into the local server's database?
It seems that the connection object is specific to a server, but is there a
way to handle the reference to the remote server's database through a
database in the local server so that the connection object thinks
everything's local and can remain one-database-server-specific?
Sorry if I've communicated this poorly. I'd appreciate any responses.Yes...you can do this.
A query can include tables on a linked server by using 4
part naming conventions:
server.database(or catalog).owner(or schema).table
You can also use some of the other distributed query
functions such as Openquery to do this.
-Sue
On Thu, 10 Feb 2005 08:55:03 -0800, janetb
<janetb@.discussions.microsoft.com> wrote:
>I have a remote server that I'm able to successfully register on a local sq
l
>2000 server through EntMgr, and make successful selects on both remote and
>local server databases via odbc.
>Here's the question - Can I have a local server with some database/tables,
a
>remote server with some database2/tables, and make a single select statemen
t
>using table relationships from each? Without having to use DTS to make
>imports/exports into the local server's database?
>It seems that the connection object is specific to a server, but is there a
>way to handle the reference to the remote server's database through a
>database in the local server so that the connection object thinks
>everything's local and can remain one-database-server-specific?
>Sorry if I've communicated this poorly. I'd appreciate any responses.