Hi,
I am very new to Visual Studio & ASP.NET and am trying to learn as I complete a project.
I cannot create a tableadapter.
I am using VS 2013 Express for web, webforms & vb.
I have a local environment set up to develop my web pages using data from my local sql server express database.
When they work I publish them to my hosted server using my ftp account with the same tables on the hosted sql server db. I think I am restricted to oledb as it is hosted.
I am creating the same form twice, one that works locally, one on the web.
Using this approach I have separate connection strings in web.config, which in the correct environment give me a list of my table on the page. This was a great success, but when I want to subset the list, I used a tableadapter on a dataset which works fine locally. For the web version however, it says it failed to connect to the database, which I sort of expected as it is on the web but works online. The message includes 'Cannot obtain provider factory for data provider named system.data.oledb. (my online connection). This then does not allow me to create the tableadapter.
Being new to all this I am not sure if I should have been able to connect to the online db & my connection string is incorrect, I need to tinker elsewhere, I am missing some basic concept or I need to find out more about a provider factory.
I have looked for introductory tutorials but none seem to be right to walk me through what I have.
Thanks