VB.net Pageant scoring system [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm an I.T. student creating a pageant scoring system using VB.net and Microsoft SQL for database.
I'm wondering what method to implement on how to connect the ADMIN's server to multiple judges' nodes.
I have already constructed some GUI, and already normalized the database.
I have searched the winsock method but I'm planning to use this system on different nodes, so, this can be troublesome to modify every time I use it to other nodes.
I have searched that it is possible to connect them through ad hoc, but I don't know how to start it.
So, please enlighten me on this method. Thank you
.......
it's more like this.
1 sql server database sitting on a drive that all clients & server can see
1 system sitting on each client/judge machine, connecting to this sql database
1 system sitting on the server/admin machine, connected to the same database.
the client software inputs score to tables
the server-side software refreshes everytime someone entered their score

Your software should connect using a single non-adminstrator account. You do not have to create a different account on SQL Server for each different user in your software.
Regarding the connection method, I'm not sure I understand what you mean by "different nodes".

Related

Create new server in SQL Server instance [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
In our office we have two servers (development and Test). I need to create a new server for practice purpose. How can do it?
If it's a physical machine; Install a new server and install sql.
If it's a virtual machine you can always clone the image and change the settings.
You also have the option to copy the database and run it on the development or test server as a separate database with a different name. If you just want to test some stuff and dont want to risk causing problems for the other developers this is probably the best option.
Another option is to install the sql server on your pc, copy the db and test stuff.
I suspect the last option is the one you want?

SQL Azure "database 'x' on server 'y' is not currently available." for HOURS -- anybody else experiencing this? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm using Azure SQL and everything was working fine until around 2PM CT today when all my cloud instances started giving me this error:
EXCEPTION: System.Data.SqlClient.SqlException (0x80131904): Database 'x' on server 'y' is not currently available. Please retry the connection later. If the problem persists, contact customer support, and provide them the session tracing ID of 'z'
Has anyone else been experiencing this? I made no code changes between the time when it was working and 2PM. I thought it might be Microsoft adding some additional IP addresses to their cloud environment and forgetting (again) to add it to the firewall exclusion list for Azure SQL, but I checked that and manually added, no difference. I also tested from my local workstation test environment as well which was working fine this morning, which definitely has the firewall rules in place, and that's not working either.
The really, really strange this is that I can connect into the SQL Azure Manage portal just fine, and I can also connect from Visual Studio directly in (as I always have been able) and issue queries to the same database that's reporting errors above.
Did Microsoft change something today on their side rendering any features obsolete? The database I'm trying to access is a Federation master for two other databases, and I know that they announced that they are getting rid of that, but I wouldn't think that would have anything to do with it.
Can someone recommend how I might go about troubleshooting such a condition to identify the root cause? I'm scratching my head on this one and my cloud services are down.
* UPDATE *
OK I've been able to track this down further. This is 100% a Federations issue.
Earlier today I could connect to my Federation master and issue a normal USE FEDERATION command. Now, however, this doesn't work. I get the error I described above and a login error. So, apparently something Microsoft did today completely screwed us Federation customers over. Again.
If anybody knows how to fix this on our own, please let me know. If I find a solution, I'll post likewise.

How do I back up a remote SQL Server database when it's not listed in SSMS's "Databases" section [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a remote database on a shared host, and I can connect to it through SSMS if I specify the db name in advanced options. If I try to expand the "Databases" section of the object explorer, it times out and won't list the available databases.
I need to back it up locally, so scripting it seems to be the only way. However, you need to right-click the db name to do that, which isn't possible. Is there a SQL script that I can run to export a db's structure and data?
Usually in the control panel provided by the hosting company, there's a "Database" option, and if you go to that, you can find a "Backup Database" (sub)option.
Usually this will back up the database to a folder called "db" or "data" off the root folder of your hosting account. Then you can connect with FTP & download (or upload & restore from there).
An alternative might be to use the "BACKUP DATABASE TO DISK='XXXXXX'" SQL statement. But then you have to know the XXXXXX value to use (and this depends on whether you have the permission to execute this action). The XXXXXX would be the local path of your hosting account, which would probably be something like:
C:\domains\yourdomain.com\db
(...depending on how the hosting company has that set up).

Every second day i have to recycle errorlogs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
On the production server when xp_readerrorlog cmd is run the size will show approx 500000 daily i have to recycle error logs the errorlogs contains messages of all the successful login and not successfull login details. i need both the information please suggest what i can do.
If you're capturing every single login and failed login into your error log along with all the other stuff that gets written to the error log, then your error log is just going to grow and there's nothing you can do about that.
If you need to capture logins and you're using SQL Server 2008 or better, I'd suggest taking a look at Extended Events. This will output to a different file, which you'll still have to manage, but it won't be filling up your error logs.
For 2005 & earlier you can do similar work with a server-side trace, but it's not as efficient as extended events. Here's an article on how to set up a server-side trace from Gail Shaw.

Read/Write safe file based storage for local or network shared data. (SQL CE?) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We have a need to have a datastore of some form that has the following properties.
Relocatable, local or remote systems.
Capable of multiple readers/writers, new queries should contain updates.
De-centralized, no server would be required.
Capable of holding at least 16 Mb of data.
SQL CE seems capable, but I'm not sure I'd understand what technologies would go into integrating such a solution as I don't really have an SQL background.
Is there anyone that has tackled a problem like this? what solutions have worked for you?
For point #1, do you want to be able to access the SQL CE database remotely on a share? If so I do not believe you want to do this as CE is not targetted for this. See this link for some details. I think it would be fine for the other 3 items if I am understanding you properly.