I would like to connect my ado connection to a database stored on onedrive so after the development of my application... It can be distributed to multiple users without them having a copy of the database. So when they submit information on the application it will automatically get added to the database that is stored on my onedrive. Please assist.
Related
we already have a running system with MS Access. Some parts of the database are updated periodically in a centralized way and disseminated via email for each end user to integrate into their system.
Now I have developed an online version of the Updating part in MVC5 and I want to convert SQL Server ".mdf" back to access ".accdb" and let the end user download the access database.
if anybody knows the workaround please help.
So I am completely new to .Net Core development, and was given a codebase that I am trying to host on Microsoft Azure. I have the local database file (.mdf) in SQL Server Management Studio, and am trying to deploy it to an Azure Database, However it keeps failing during migration and giving me this issue
Error SQL71627: The element User: [ISOCENTRIC\Administrator] has property >AuthenticationType set to a value that is not supported in Microsoft Azure SQL >Database v12.
(Microsoft.SqlServer.Dac)
However, when I SELECT * FROM master.sys.database_principals; and it dumps the db users list, the "ISOCENTRIC\Administrator" user does not appear in that list, so I cannot find a way to drop it from the DB. Is there something I am missing regarding the location of this user and how I can drop it from the db so I can migrate to Azure?
p.s. This is my first post on here so please let me know if I should make any changes to adhere to correct formatting on this forum.
Thanks in advance.
I guess the database users can't be migrated to Azure SQL DB because they are Windows users. You'll need to drop those users before you deploy this database to Azure SQL DB.
You can always backup and restore a copy of this database, remove the users, and then deploy that one to Azure SQL Db.
I figured out that my query to dump the database users was incorrect, and was able to find and drop the user causing the issue.
I have an Access Database (accdb) with relationships (and linked tables) that is incompatible with Access Services. It is currently saved locally but I have it on a SharePoint site as well.
I also have created an Infopath form that queries the local Access Database for different fields, and is able to submit data back to make changes to the tables, etc.
I now want to shift the connection to the database that is saved on the SharePoint site. I went to modify my Main data connection (the locally saved Access Database), changed database to point it to the access database that is on the SharePoint site. It definitely recognized that it was an Access Database, because it even showed me my tables and queries and asked me to select a table. But when I do so, it says there is "An unspecified error occurred while attempting to
connect to the data source. Microsoft Office InfoPath supports only MS SQL
Server and MS Office Access databases. Please check the connection to ensure
it uses one of these two databases."
Would any of you know how to resolve this error, without having to set up SharePoint Lists to connect back to my Access Database (I don't see how this would allow the initial querying of the data that my InfoPath form has to do).
Thanks in advance for your help.
Make sure your database it Access 2013 or older, older versions of access aren't supported in SharePoint to modify.
I would create with Access 2016 a database that lives in the SharePoint Data Connected Library and connect to that.
I will try make this question clear as possible.
I have not found solid help on google really or anywhere else.
To make it short and simple.
I have a vb.net project in which i want two databases.
A local access database which must be created within the project at design, meaning at publishing and then installing this program to another user it must automatically create an acccess database on that user's computer,sync it with a SQL remote server and copy all records at first time run to the access database. The access database is used when my worker is on site and there is no connection to the remote SQL Server database.
Upon achieving connection to the remote SQL Server database at e.g. the office, the access db must update the SQL server database,compare the two databases and copy any new records in the local (Access Db) to the remote sql server and vice versa.
Hope this is clear enough?
Thanks for any help
this is my first project ^_^
and I have no previous experience.
I did create the database in my project from within the MVC.
Add New Item > SQL Server Database
then I use ADO.NET Entity DataModel
and I don't need to open my connection each time I deal with the database.. it's only the connection string in the Web.config..
my question is :
how can I upload my database?
is there any resource for such beginner as me :$ ?
I did Google it but I found it very hard for me to know if this is what I want or not, that's why I came here :$
It really depends on what type of access you have to your server.
If you have remote desktop access then run remote desktop (mstsc in run) and connect to your server.
This article shows how to install your web application in IIS on server.
This blog post from Scott Guthrie shows you how to deploy your sql database to your server.
In case you only have access to your server via a control panel (plesk) you should still be able to do the same via a different interface. (you need to go through the instructions given for the specific control panel you are using).
Hope this helps.
For ASP.Net website, just upload all files using FTP, in wwwroot folder of your hosting.
For SQL Server database there are following option.
Attach your MDF file on hosting database server (if you have remote desktop).
Generate a script of whole database with full data, schema, and indexes etc. and run the script in query editor of your hosting panel.
First of all create a database from your hosting panel and a user for your database then Use SQL Serer 2008 (R2 most preferable) and connect with your hosting SQL Server using hosting server name in Server name, your db user id in User Name, and same for password. And then connect, you will find a long list of databases including your own database. Now right click on your database and import data from your local database server to remote database server.