My ISP restricts access to my SQL database hosted there. I can not remotely connect to the database. I would like to set up a local database for development and then be able to publish it. (My isp also does not have front page extensions, so I can not use the one click publish) Does anyone know of any tutorials on how I could accomplish what I want?
I was able to locate a possible solution here: http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx.
Thanks deltree for trying to decipher what I was wanting.
Related
I have a question about how to connect the database to my website. I have a server on Web Hosting Canada, and I just create a database through cPanel of this server but I don't know how to connect it to my website on the server. Sorry for maybe asking a silly question, I am really new to web dev (just learned for two weeks, know some HTML, css, javascript and node.js). And what else languages I need to learn? I watched a lot of tutorials, but they are all using node.js to build a local server. I think it is different from my situation. Please help, Thanks!
I have created this assignment where I am essentially using .net Core to read and write to an instance of a SQL localDb: Github
This is my first time using a localdb, but when I submitted it to my professor, he is not able to create, or manipulate the database at all. My thoughts were that when he runs it, it would create and instance of the database on his computer, but I guess not. He gets the following error:
SqlException: Cannot open database 'Bartender_App' requested by login. The Login failed. Login failed for user "Username"
this error occurs when trying to create a new order. Is there any way to bypass this authentication? because the web app works on my computer.
would he have to create his own migrations and update the database from Visual Studios on his end?
I have tried to look it up, but come across deployment of these web apps to a server which is not what I am trying to do, I am just aiming for him to be able to run the application on his computer, even if the database starts empty, and he can manipulate, add, and remove the data from the localDb instance
I apologize in advance for the tags - the autocomplete feature was not showing up correctly.
Is there any way to bypass this authentication? because the web app
works on my computer.
This is impossible, SQL Server Express LocalDB does not accept remote connections.
As an alternative, you can automate the backup of your database structure and provide it to your instructor, you can refer to How to copy a database from one computer to another?.
If there is not much table, manual creation may be faster and easier.
More details ,have a look for Can SQL Server Express LocalDB be connected to remotely?.
I have a Server 2012 R2 that I connect through via RDC however we need to have this server be able to access the internet. When I try to access an internal site this seems to work fine. However when I try to access a simple webpage, I cannot get through to any outside site such as bing.com, yahoo.com or google.com.
I'm very new to server administration so any help would be greatly appreciated. I may not understand it (yet) completely though so please bear with me.
FWIW: The overall goal is to have this server run scripts that I write (or have already written) that pull data from various sites. This data is then transformed and uploaded to our databases for analysis.
Thanks in advance and again, please forgive my server administration ignorance.
I would check the settings on the firewall between your server machine and the internet. Can you reach external web sites from a browser running on the server machine?
Note: Exposing a server to the internet is a perilous thing to do.
I had a engineer design our .net application back in 2009, my guess is that it was coded using visual studio, and all I have is the installer application. We have been using it on our 1 or 2 local client machines very well for the past few years, but now I want to move this front end to the cloud. Instead of installing it as an application on our windows 7 machines.
It is a very simple application used in our small warehouse that keeps track of cargo/shipments etc. It uses Sql Server 2008 Express as a backend which is stored locally.
I know how to get the database in the cloud, their are many options for that, using Amazon or Azure, but how do i get the local client application to the cloud?
I dont have access to the visual studio code, i just have the runtime executable file..
I am sure there is no way to do this, and many of SO users will say i need to re-write the front end.
I have tried to contact the developer and they hav since closed down. Is their anyway i can run this in the cloud?
I welcome all options and solutions!
Thanks.
I believe you have two options for hosting this application:
If you are able to configure the database connection string, you could host the database in the cloud, and distribute the application to your end users. However, you've already stated that you know how to move the database, so I assume this isn't an option.
The only alternative is to run the entire application on a cloud server, and send the user interface to a client using terminal services. This makes it appear as if the application is running locally on the user's computer, while it is actually running on the server.
For an off-the-shelf solution to achieve this, you could consider using Microsoft's RemoteApp Azure service. I'm sure there are other similar offerings available.
I have a windows form application that I need to publish, I just need some advice on what would be the best way to publish an application to a server so that multiple users can access it using a short cut on their desktop and without having to actually install the application on their local machines.
Thanks
You may run into CAS problems. It is better if users download code to their machines. Then you talking "ClickOnce"
http://msdn.microsoft.com/en-us/library/71baz9ah.aspx