Best Way To Set Up Server That Could Hold Multiple Databases

Apr 5, 2010

connect my vb.net application to a remote sql server database, so every one who installs the application would be able to connect to the same remote database. the application would obviously require the internet to run.i also want the option to add more databases in the future, preferably one for each business who would use my software.i am wondering the best way to set up this server that could hold multiple databases. i would think i have two options:

1) set up the server myself on a dedicated computer

2) pay for some type of service that host sql server dataases

so how would i go about executing these options? i dont know the first thing. which option is better?i do however know how to connect to a remote database so thats not what i am asking.

View 5 Replies


ADVERTISEMENT

Hold Multiple Instances(10) Of Alarms?

Jul 20, 2010

I have created an alarm program but am having an issue creating multiple alarms. Here is what I have so far. I have created an array to hold multiple instances(10) of alarms that I want to run concurrently.

Code:
Dim SetAlarms(7, 9) As String
Public Shared x As Integer = AlarmNumb
'X=alarmnumb

[Code]....

What I cannot figure out is how to get the program to read the array and recognize each row as a separate alarm to process. This means it must read the array, know which variables to populate with what information and cycle thru the list.

View 5 Replies

Using MDB File To Hold Data On Server?

Jul 23, 2010

Is it possible to use ACCESS DB (MDB) on a SERVER. I would like to use the MDB file to hold my DATA. Has any1 used a multi user vb.net program with Access DB residing on a SERVER? I am just trying out something and do not want to use SQL SERVER for this project.

View 10 Replies

Entities And Multiple Databases?

Sep 26, 2010

We've got the following scenario:

Central Database (replicated across multiple servers)
Client Database 1
Client Database 2

The Central db has Users and Roles amongst other things The Client dbs have similar tables to each other but with some fields tweaked - contact, address, At present, each client db has its own user/role information which is copied from the central db by a scheduled process. I want to retrieve the user/role information directly from the central db instead (bearing in mind tables in the client db make reference to the user entity)

View 1 Replies

.net - Querying Values In Multiple Databases?

Oct 16, 2010

I'm using this function to return a value from multiple databases across three SQL instances (On the same server). I'm looping though a DataGridView that lists all the databases on one of the three SQL instances.Is there a faster way of doing this? It's quite slow using this method.

Function DatabaseStatus(ByVal SQLServer As String, ByVal Database As String)
Dim myConn As New SqlConnection("Server=" & SQLServer & ";User Id=USER;Password=PASSWORD;Database=" & Database & ";")
Dim Status As String = ""

[code]....

View 2 Replies

Multiple Databases Information Display?

Jul 7, 2011

I currently have an old database that has tables for requests and customers. This information is currently displayed in ASP.NET

What I was required to do, was to connect a new database for users into this system, while keeping the tables for the requests in the old database. Thus it is using 2 databases. I have set it up so, when a user creates a new request, in the request tables it saves it with his userID from the new database, but when the table is being displayed, it uses this new userID to find the user information from the old customers table. Thus I ended up with this:

Sub BindDataGrid()
cmdoledb = New SqlCommand("SELECT r.customerid, r.RequestID, R.RequestDate, R.RequestDescription, a.AssignedTo, r.Urgency, r.ExCompletionDate from tbl_requests r, tbl_assignedto a where r.statusid = 1 and r.assignedtoid=

[Code]....

Currently it displays nothing, and gives out an error for myItem.Value = rdr.GetInt32(0) being a Null. I went through it step by step and it loads customerids normaly into the myItem.Value, but when they run out, it is supposed to exit, but keeps going, thus giving an error.

View 1 Replies

Show Sql Server Servers And Databases?

Sep 9, 2010

I want to display a dialog that has 2 dropdown combo's. The first combo display a list of the available SqlServer servers. The second combo displays the list of available database once the user has selected a server. how to populate the combo's?

View 2 Replies

Sql Server :: Join Two Different Types Of Databases Together?

Nov 14, 2011

Right now, inside the access file, the mssql tables are set up as linked tables so queries can be written using tables from both databases. (e.g. "select * db1.table1 where db1.table1.somevalue not in db2.table1", or select into tables like that one)These queries need to be moved into a VB.NET project, but still be linked to the access file.ng loops or something?

View 3 Replies

.net - Nested Queries From Multiple Oracle Databases

Jul 21, 2011

In .NET, Is it possible to run a nested query from two separate Oracle databases?

[Code]...

Ultimately, this is an effort to overcome an "ORA-01795" error from using an "in" statement with over 1000 items in the conditional list, without having to break the query out into multiple "OR value IN" lists.

View 3 Replies

Addding Multiple Databases (datasets) Into One VB Project

Jun 28, 2011

I have a dilemma. The program I"m trying to complete is one VB project with three (3) forms. The first form will act as a menu dialog box. The other two forms will have a dataset (database) on each form. The first form will have a button when clicked it will pull up form 2 and the second button when clicked will bring up form 3. What I add the dataset to form 2 everything is fine. I can see my tableadapter, dataset and so on. Now, when I add the second dataset (database) to form 3, I loose my, dataset and so on. It doesn't appear on any of the two forms (in designer)tableadapter.

View 1 Replies

Finding A Record Across Multiple Access Databases?

May 3, 2010

At my company, product is boxed and then placed on a scale/label printer set up in order to be weighed and labeled. The application running on the PC also records a record of each box in an MS Access Database which is then transferred to the main server. There is a separate access database for each scale PC and currently the only way our shipping department can print out a manifest for each pallet (which contains a list of all the boxes and their weights) is to open the correct access database and print out the report by entering the pallet number. Since there are six printer scales and the shipping person has no idea which scale it will be on just by looking at the number, she has to find the correct database through trial-and-error.

What I've been asked to do is create an application where she can simply type in the pallet number, and it will search each individual database for the number, then open the correct one where she can then print out the report without having to guess where it is. I've already figured out how to make the application open the database and report, but I don't know how to make it find which database the pallet record is contained in.Basically I want it to search a number of databases for a particular number in a field, and the return a value when it finds it of which database it is so that I can plug that in later. I have no idea how to do this and my searches online have proven fruitless.

View 3 Replies

Insert The Excel Data Into Sql Server Databases

Aug 4, 2006

I would like to import the excel in to the sql server using vb.net. how can i do it? Another question is how can i execute the DTS using vb.net

View 6 Replies

Make Small Databases Then To Use Access Or Sql Server?

Oct 11, 2009

Are there any other ways to make small databases then to use access or sql server?

View 1 Replies

Sync 2 Sql Server 2005 Express Databases

Feb 23, 2010

I have a client that has the basic database on a server(sql server 2005 express database) and wants to work on his laptop from his home, so i guess that i can install the software on his laptop but how will the 2 databases be synchronized, having same data. the synchronization will be made once a day in the morning when he returns to his office. How can this be accomplished?

View 2 Replies

Connect To Previous Other Databases Such As SQL Server, Oracle. But Getting An Error?

Jul 5, 2011

I am trying to Connect my VB.net Window Application to IBM_DB2 Database.I have used the same method to connect to previous other databases such as SQL Server, Oracle. But getting an error in DB2.

Dim cn As New OdbcConnection("dsn=Sample;uid=db2admin;pwd=password") 'Sample is DSN

cn.Open()

Dim da As New OdbcDataAdapter("Select * from Employee", cn)[code]......

View 3 Replies

IDE :: VS Server Explorer Close Databases Connections While Debugging?

Jul 27, 2009

Every time I execute my application and the app try to access the database I received an error message telling me that the user cannot login into the database. This is because the VS Server Explorer have the connection opened. What I need is that every time I debug (F5) my app the Server Explorer close the connection with the database so I do not have to stop the execution and manually close the connection. Is this is possible? Is there any way I can setup the debug or the Server Explorer to do this?

[Code]...

View 1 Replies

Asp.net - Utilize Multiple Databases In An Entity Framework Solution Simultaneously?

May 31, 2011

I have two unrelated databases and I need to pass data back and forth between them. Right now I have created two separate entity models - one for each database - but this is causing issues in my code b/c I have to do a Using nameofcontext / End Using and when I try to then use some of the results from the first section of the code in a second Using nameofcontext / End Using it doesn't like it - b/c I've closed the connection to the first database!

View 1 Replies

Create A Program That Will Allow Multiple Office To Run The Same Software And Update Their Local Databases?

Jun 1, 2009

ive been asked to write a program to deal with supply chains (tracking commodities, personnel, etc). I want to create a program that will allow multiple office to run the same software and update their local databases as well as a central database.how to best send the data/ recieve it, and store it so that all offices can see, edit, and store the data both locally, and over the internet.

View 13 Replies

Communicate From Client To Server From Multiple Clients On Multiple Requests In Socket Programming?

Jan 8, 2010

I have been struggling to find a solution for this problem. What I need to do is build a server application that accepts tcp client requests from different clients running on same port say:1003. I experimented by using asynchronous mode call backs etc. but it disconnects once connection is established and does not respond for further requests from the same client.

View 1 Replies

MS SQL Server Multiple Commandtext

Jun 8, 2012

[Code] The above code does not work. I need for this to check to see if there is a database entry with the office name and today's date. Then if not it needs to tell the user that it is going to create a new entry for todays date. Then the code is trying to enter a new row in the database but it is like i can't use command. commandtext = in two spots. Both SQL commands work if separated but not together in this code. Obviously the abcdefghij are just test entries but it works if it is separated from the other sql command above. Also of course i have changed the datasource above to hide mine.

View 2 Replies

Server With Multiple Clients?

Mar 8, 2011

i want to designe a simple program that have one server and multiple clients.i program with vb.net,but dont know anything about winsock, can you send me a sample code for start.

View 1 Replies

Can't Input Multiple Rows In SQL Server?

Mar 10, 2012

Somebody knows how to insert multiple rows in SQL Server from Vb.Net?

View 1 Replies

Drop Multiple Tables Like %...% In Sql Server?

May 27, 2011

I am trying to delete particular tables routinely from the sys.tables in vb.net. here is code, but it does not work.

[Code]...

View 3 Replies

Server / Service That Communicates With Multiple PCs

Feb 24, 2012

I am hoping to get some advice on a project that I am wanting to work on. I have never done a web service/windows service or anything along the lines of what I am thinking so I would like some advice from some more experienced developers.I will be using VS2008 and VB.NET. My company currently mostly works in .NET 2.0 for our commercial application, but since this will be used mostly in house I would be able to use .NET 3.5 if suggested (am just not overly familiar with the additional features in .NET 3.5).What I would like is to have a server/service that communicates with multiple PCs. I want to create an application/web page (not familiar with web development so would probably start out as a winform app and possibly move to a web app to consume the service) that would query the web service/remoting service/whatever to retrieve information from each of the PCs (track the version of the application that is running, retrieve log files, push an update program to the PC (to be run manually)).

Not being too familiar with this type of scenario I was thinking something to the effect of:Each PC run a Windows Service that monitored the local PC. When something changes (software update installed?), tell the web service that the new version is installed.A service (web service? remoting server? other?) running on a PC that would be the interface to the windows service (not sure how the web service would talk to the Windows service without the Windows service initiating, though, unless it is also running a server) on the individual PCs. The service could request an update from the PCs (get the software version, request a file). The service would also be able to push an update program to the PCs to be run manually.

View 2 Replies

Upload Multiple Files To FTP Server?

Jul 15, 2011

I am able to upload a single file and now how do I upload multiple files to FTP server :

Here is the code I am working with:

Private Sub uploadFile(ByVal FTPAddress As String, ByVal filePath As String, ByVal username As String, ByVal password As String)
'Create FTP request

[Code]....

View 2 Replies

.net - Multiple INNER JOINs SQL Server Compact Edition?

Feb 21, 2012

I am trying to do multiple joins within a single query in SQL Server CE. I know that SQL Server CE doesn't support multiple SELECTs but I can't find any information on multiple INNER JOINs. I keep getting token errors on ProjectItemMaster (after the FROM) and the first INNER JOIN. Warning this is a big ugly query used to generate reports.

[Code]...

If I can't uses multiple INNER JOINs I can I break the query down into a number of different queries but I would prefer not to. So it is easier to maintain a SQL Server CE and an SQL Server version of the program.

View 1 Replies

How To Save SQL Server 2008 Multiple Tables

Feb 28, 2011

I have a select query like this. But from the below codes, I cannot update t2.unit_price in the same SqlDataAdapter

My Codes :
Dim MyQuery1 as String="Select t1.item_id,t1,group_id,t2.unit_price from Table1 t1 left outer join Table2 t2 on T1.Item_ID=T2.Item_ID"
Dim DAp1 as SqlDataAdapter,Ds1 as New DataSet
Con.Open()
DataAdapter1=New SqlDataAdapter(MyQuery1,Con)
DataAdapter1.Fill(Ds1)
[Code] .....

From the above codes
Dim Sav1 As String = "insert into table1 .........."
I don't know how to mention table2 also there ?

View 2 Replies

Selecting TOP 4 Records From Multiple SQL Server Tables?

Apr 13, 2012

I have about 4 different tables with the exact same column names. What I would like to do is select the top 4 records out of all of these tables combined ordered by date (as date is one of the columns that they all share).

View 1 Replies

Sql Server - Reading Data From Multiple Tables

Sep 10, 2011

[Code]...

I have Memberships and Bookings tables in database containing an attribute cust_id which is primary key in Memberships and reference key in Bookings. When i am executing data reader I want it to read cust_id values from membership table but it is reading it from the bookings table.....

[Code]...

View 2 Replies

Sql Server - Returning Multiple Columns From SQL Procedure With .NET

Feb 21, 2010

I am using this vb.net code file to call a procedure to get dates (among other things). When I execute this procedure in SQL 2005 Server Management Studio, I get about 10 columns. However when I execute this code, the dataset seems to only have one index value, maybe I am misunderstanding something. When I change this

ds.Tables(0).Rows.Count.ToString

to

ds.Tables(1).Rows.Count.ToString <---changing the index value to 1
(or higher)

I get no information. So my question is;

Does the DataSet contain the other columns, only not indexed like an array? What I want to do is choose which of the columns to filter out and turn the rest into JSON formatted strings.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved