472,328 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Web hosting and SQL Server Enterprise Manager?

Do you guys have any idea if web hosting companies usually give access to
SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous provider and
now the more I am looking into offers on the net the less I can see this
feature specified.

What can I do without EE to backup my database in a completely automated
way? Can I assume SQLDMO will always be available so that I can backup the
database myself without hardcoding the table structure in my scripts (I'll
be doing some ASP.NET)?

Thank you.

Nov 19 '05 #1
7 2227
John wrote:
Do you guys have any idea if web hosting companies usually give
access to SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous
provider and now the more I am looking into offers on the net the
less I can see this feature specified.

What can I do without EE to backup my database in a completely
automated way? Can I assume SQLDMO will always be available so that I
can backup the database myself without hardcoding the table structure
in my scripts (I'll be doing some ASP.NET)?

Thank you.


Depends entirely on your hosting plan. To be honest, it's probably
better you don't have SQL EM access because that would mean the hosting
company has exposed SQL Server to the internet. And that might be
considered a security problem. Most low-fee hosting plans (read: shared
hosting) do not give users the ability to back up databases if it's
hidden behind the web server. They usually provide rudimentary means to
access the server, but backups are performed by the hosting company
daily, weekly, monthly, or never.

In any case, you probably won't have SQL EM access. More likely you'll
use the Web Data Administrator. I've not seen a hosting company that
provides the SQL Server Client Tools as an local installation option,
but they may exist.

The question you raise is a concern. Depending on what you're doing with
SQL Server, you may be able to keep a local SQL Server copy and update
the web SQL Server when needed. If updates occur on the web site's SQL
Server, you need to check with your hosting company to see the options
you have for backup.

--
David Gugick
Imceda Software
www.imceda.com

Nov 19 '05 #2
I'm not sure if hosters generally grant access - but I know at least a
few that do. SQLDMO might also be a problem if the hosting company
gives your applications less than full trust.

You can do all this stuff (including backups) with T-SQL.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 5 Apr 2005 09:53:27 +1200, "John" <so******@somewhere.com>
wrote:
Do you guys have any idea if web hosting companies usually give access to
SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous provider and
now the more I am looking into offers on the net the less I can see this
feature specified.

What can I do without EE to backup my database in a completely automated
way? Can I assume SQLDMO will always be available so that I can backup the
database myself without hardcoding the table structure in my scripts (I'll
be doing some ASP.NET)?

Thank you.


Nov 19 '05 #3
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:4l********************************@4ax.com...
I'm not sure if hosters generally grant access - but I know at least a
few that do. SQLDMO might also be a problem if the hosting company
gives your applications less than full trust.

You can do all this stuff (including backups) with T-SQL.


What are my options exactly to create and drop tables programmatically
really?

1) SQLDMO. As you say, maybe it's disabled by default.
2) Creating a stored procedure with CREATE TABLE and DROP TABLE statements.
Is it what you mean and do you think my provider is likely to have this
feature disabled?

Nov 19 '05 #4
"David Gugick" <da***********@imceda.com> wrote in message
news:OM**************@TK2MSFTNGP12.phx.gbl...
John wrote:
Do you guys have any idea if web hosting companies usually give
access to SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous
provider and now the more I am looking into offers on the net the
less I can see this feature specified.

What can I do without EE to backup my database in a completely
automated way? Can I assume SQLDMO will always be available so that I
can backup the database myself without hardcoding the table structure
in my scripts (I'll be doing some ASP.NET)?

Thank you.


Depends entirely on your hosting plan. To be honest, it's probably better
you don't have SQL EM access because that would mean the hosting company
has exposed SQL Server to the internet. And that might be considered a
security problem. Most low-fee hosting plans (read: shared hosting) do not
give users the ability to back up databases if it's hidden behind the web
server. They usually provide rudimentary means to access the server, but
backups are performed by the hosting company daily, weekly, monthly, or
never.

In any case, you probably won't have SQL EM access. More likely you'll use
the Web Data Administrator. I've not seen a hosting company that provides
the SQL Server Client Tools as an local installation option, but they may
exist.

The question you raise is a concern. Depending on what you're doing with
SQL Server, you may be able to keep a local SQL Server copy and update the
web SQL Server when needed. If updates occur on the web site's SQL Server,
you need to check with your hosting company to see the options you have
for backup.


Well I will work locally mostly. Create, drop and alter my tables probably
quite often, at least in the first months of the development.
If I have got to reflect manually the changes through the web interface of
the provider, that will be no good...
With Enterprise Manager, I would just backup my local database in a file.
Then connect to the remote server, drop the database and restore it from the
backup file.

I probably can live without EE, but only if I have a way to programmatically
create or drop database tables. I guess I'll have to ask the different
providers what my options are.


Nov 19 '05 #5
John wrote:
CREATE TABLE and DROP TABLE statements.
Realistically, you should be keeping change scripts for all your DB
changes. Enterprise Manager will generate them for you if you'd like.
It makes life so much easier when it comes to deploying your
applications. Just run all the scripts since the last push, and you're
done.
Is it what you mean and do you think my provider is likely to have this feature disabled?


I would be surprised if your hosting provider gave you an SQL server
account that did not have CREATE and DROP priviledges.

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

Nov 19 '05 #6
If you are serious about a service provider that will provide EE access I
know one but I am not going to broadcast it here. Send an email to
ru******@verizon.net
"John" <so******@somewhere.com> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Do you guys have any idea if web hosting companies usually give access to
SQL Server databases through Enterprise Manager?
I used to have have access to my DB through EE with my previous provider and now the more I am looking into offers on the net the less I can see this
feature specified.

What can I do without EE to backup my database in a completely automated
way? Can I assume SQLDMO will always be available so that I can backup the
database myself without hardcoding the table structure in my scripts (I'll
be doing some ASP.NET)?

Thank you.

Nov 19 '05 #7
Hi John:

You can always pump scripts into SQL Server using SqlConnection and
ExecuteNonQuery with SqlCommand from the .NET framework.

Generally, you'll be database owner (dbo) in your hosted database and
will be able to execute any of the DDL you need.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 5 Apr 2005 11:12:27 +1200, "John" <so******@somewhere.com>
wrote:
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:4l********************************@4ax.com.. .
I'm not sure if hosters generally grant access - but I know at least a
few that do. SQLDMO might also be a problem if the hosting company
gives your applications less than full trust.

You can do all this stuff (including backups) with T-SQL.


What are my options exactly to create and drop tables programmatically
really?

1) SQLDMO. As you say, maybe it's disabled by default.
2) Creating a stored procedure with CREATE TABLE and DROP TABLE statements.
Is it what you mean and do you think my provider is likely to have this
feature disabled?


Nov 19 '05 #8

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

Similar topics

3
by: David Gray | last post by:
Hello all, Having problems connecting to an Oracle 9i database from within SQL/Server 2000 using the Security/Linked Servers feature. Server1...
48
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your...
3
by: Jo Davis | last post by:
www.shanje.com does sql server hosting, on shared servers, at a reasonable price. It seems. They also allow client connections. Just playing...
1
by: mikew | last post by:
I am working at a company that has been using MS SQL Server, and we are going to be switching over to postgresql next week. (Getting off of Windows...
1
by: Mazyad | last post by:
Dear Microsoft Developers Support ASP.NET Tea I have SQL DB has been created in web hosting support SQL server & ASP.NET and I develop on...
6
by: Jon Vitar | last post by:
Can anyone suggest a reliable hosting provider? Our current provider has been experiencing a lot of down time lately. I'm looking for an...
2
by: AH | last post by:
Dear all, I am facing this 'bug' that really drive me nut. I created a trigger for Update script and tested in Enterprise manager to ensure it...
7
by: Brooke | last post by:
I am looking for some advice as to which hosting service to use for ASP.NET 2.0 and SQL Server development. I have looked at GoDaddy, BoundGrid,...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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

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