473,387 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Accessing hosted SQL remotely

I've inherited an application with a SQL Server 2005 database and both
a new PHP web-based frontend and an older, deprecated C# 2.0 Windows
frontend. Most people use the web frontend now, but there are a
sizable number of stubborn users who would rather switch applications
than abandon their Windows client. The app uses practically no
bandwith or disk space, so it's hosted on one of those cheap IIS
shared hosting accounts, that just happened to allow direct logins to
SQL Server for the Windows clients. But that host just decided it
would restrict SQL access to local connections only, so while my PHP
frontend still works, the Windows clients are now without service.

Does anyone know of an inexpensive shared IIS/SQL host I could switch
to that allows external connections to SQL? I'm assuming that's
pretty much a long shot in this age of (justified) security
paranoia....

So if that's a "no", my real question is - is it possible to get
around this using some sort of raw web interface to the data (most
likely from ASP.NET), so I can modify the C# code to retrieve/post to
that instead of using a connection string like it does now? I'm
proficient in C#, but don't know much of anything about ASP.NET, Web
Services, or WCF (or if those are even applicable), so a pointer in
the right direction would be much appreciated.

Thanks.
-Eric

Jul 23 '07 #1
5 1487
When in doubt, "search":
http://www.google.com/search?source=...&q=sqlwebadmin
Peter
--
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com

"er*****@gmail.com" wrote:
I've inherited an application with a SQL Server 2005 database and both
a new PHP web-based frontend and an older, deprecated C# 2.0 Windows
frontend. Most people use the web frontend now, but there are a
sizable number of stubborn users who would rather switch applications
than abandon their Windows client. The app uses practically no
bandwith or disk space, so it's hosted on one of those cheap IIS
shared hosting accounts, that just happened to allow direct logins to
SQL Server for the Windows clients. But that host just decided it
would restrict SQL access to local connections only, so while my PHP
frontend still works, the Windows clients are now without service.

Does anyone know of an inexpensive shared IIS/SQL host I could switch
to that allows external connections to SQL? I'm assuming that's
pretty much a long shot in this age of (justified) security
paranoia....

So if that's a "no", my real question is - is it possible to get
around this using some sort of raw web interface to the data (most
likely from ASP.NET), so I can modify the C# code to retrieve/post to
that instead of using a connection string like it does now? I'm
proficient in C#, but don't know much of anything about ASP.NET, Web
Services, or WCF (or if those are even applicable), so a pointer in
the right direction would be much appreciated.

Thanks.
-Eric

Jul 23 '07 #2
On Jul 22, 10:42 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yohohhoandabottleofrum.comwrote :
When in doubt, "search":http://www.google.com/search?source=...&q=sqlwebadmin
Peter
--
I'm not trying to administer the database, I'm trying to use a
database-backed application. SqlWebAdmin seems like a web-based
administration tool (like the phpMyAdmin I've used for mySQL)... are
you suggesting that I install this tool then use an HTTP scripter/
parser to extract the data I need? That seems a bit unweildy.

Jul 23 '07 #3
DiscountASP.NET allows external connections, but they are $20/month with SQL
Server 2005.

Other than that, web services would do the job nicely. Google for a tutorial
on writing web services for asp.net. It shouldn't be difficult if you have
any XML experience.
<er*****@gmail.comwrote in message
news:11**********************@o61g2000hsh.googlegr oups.com...
On Jul 22, 10:42 pm, Peter Bromberg [C# MVP]
<pbromb...@yahoo.yohohhoandabottleofrum.comwrote :
>When in doubt,
"search":http://www.google.com/search?source=...&q=sqlwebadmin
Peter
--

I'm not trying to administer the database, I'm trying to use a
database-backed application. SqlWebAdmin seems like a web-based
administration tool (like the phpMyAdmin I've used for mySQL)... are
you suggesting that I install this tool then use an HTTP scripter/
parser to extract the data I need? That seems a bit unweildy.
Jul 23 '07 #4
On Jul 22, 11:43 pm, "Brandon Gano" <bg...@inocompany.comwrote:
DiscountASP.NET allows external connections, but they are $20/month with SQL
Server 2005.

Other than that, web services would do the job nicely. Google for a tutorial
on writing web services for asp.net. It shouldn't be difficult if you have
any XML experience.
Thanks - these web services look pretty easy, and it looks like I can
access it natively from the C# app, so that's a huge plus. Do these
work with any ASP.NET host, or is it usually an added feature?

Jul 23 '07 #5
I think web services should work on any ASP.NET host.
<er*****@gmail.comwrote in message
news:11*********************@n60g2000hse.googlegro ups.com...
On Jul 22, 11:43 pm, "Brandon Gano" <bg...@inocompany.comwrote:
>DiscountASP.NET allows external connections, but they are $20/month with
SQL
Server 2005.

Other than that, web services would do the job nicely. Google for a
tutorial
on writing web services for asp.net. It shouldn't be difficult if you
have
any XML experience.

Thanks - these web services look pretty easy, and it looks like I can
access it natively from the C# app, so that's a huge plus. Do these
work with any ASP.NET host, or is it usually an added feature?
Jul 23 '07 #6

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

Similar topics

10
by: Fred the man | last post by:
Hi, Some of our customers have remote offices. I was wondering if it'd be safe to have a DBMS running at their central office, and have our client application running on hosts in the branches...
3
by: prodirect | last post by:
Hi all, I hope someone can help me. I've recently created a database and wanted to put it up on an ftp sight so that multiple people could access the same tables at the same time from different...
15
by: JJ | last post by:
A current requirement I am facing is the all business objects be stateless remote components hosted in IIS. I am partial to web services myself. However, it is insisted that IIS hosted remoting be...
1
by: Drunken Coder | last post by:
I have a small network setup in my home where I have my workstation which is WindowsXP Home Edition and a server running Windows 2000 Server configured as a domain controller. The domain controller...
0
by: ibrettferguson | last post by:
I'm trying to figure out how I can grab the logged in user's network Id (easy enough) to pass to a remotely hosted Exchange server, and have that server return the users actual email account. ...
0
by: KAData | last post by:
I have a program that will access remote stored procedures via visual basic.net application. I have SQL Server Management Studio Express (2005) installed on the client computers that will be...
1
by: Jerim79 | last post by:
Probably an incredibly simple answer, but I can't seem to phrase it so a search engine can understand it. I have a php script with a simple include: include("/include_this.php") I need to...
8
by: John | last post by:
Hi We had an sbs 2003 with isa 2000 server. We wre able to access a remote sql server (hosted at our web host) just fine. We replaced the server with a new sbs 2003 r2 with isa 2004 server and...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.