473,785 Members | 2,465 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1506
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...@yaho o.yohohhoandabo ttleofrum.comwr ote:
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.goo glegroups.com.. .
On Jul 22, 10:42 pm, Peter Bromberg [C# MVP]
<pbromb...@yaho o.yohohhoandabo ttleofrum.comwr ote:
>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...@inocompa ny.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******** *************@n 60g2000hse.goog legroups.com...
On Jul 22, 11:43 pm, "Brandon Gano" <bg...@inocompa ny.comwrote:
>DiscountASP.NE T 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
1934
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 connect to it through a VPN via the Net? What happens if the connection goes south while a branch office was making changes? Does the DBMS just rollbacks changes automatically after a time-out?
3
4319
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 geographical locations. I have been completely unsucessful in acheiving this goal so far however. Things I have tried: Create a shortcut to ftp sight via browser then tried to map local drive to
15
2092
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 used. They insist that it is much, much faster. I don’t necessarily disagree with that point. But under the circumstances, a web service that is load balanced (as are the remote objects), though technically slower, would still have a lot of...
1
1668
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 has Visual Studio.NET installed on it and IIS is configured. This machine is also hosting my SQL Server 2000. Everything except debugging seems to be working. I can connect to the machine from my remote workstation and develop as well as develop...
0
953
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. Thoughts? Direction?
0
1181
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 accessing an SQL Server running SQL 2003 remotely. I have been having a problem setting up the client computers to access the stored procedures remotely. I just recently heard that SQL Express is not able to run remote stored procedures. Anyone have any...
1
1455
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 edit this so it accesses the file from another server. I have tried: include("http://192.168.1.1/include_this.php:)
8
7283
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 even though I have opened port 1433 in isa 2004 we can't access the remote sql server anymore. Where can I look for any blocks? Many Thanks
10
9779
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 returned. So the username and password should be ok. I'm using this code: Merchant myMerch = new Merchant(); myMerch.merchantIdentifier=merchantId;
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.