473,395 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ASP.NET problem with databases

14
I'm using ASP.NET with C#. GoDaddy is my webhost. I have tried 3 different databases, (that is why I didn't post this problem on one of the specific database forums) MySQL, Access, and MS SQL. All of the databases are available in GoDaddy and were set up there.

I am also using OleDb connections.

MySQL:
Here is the connections string I used at first
Provider=MySQLProv; Data Source=p50mysql13.secureserver.net; Initial Catalog=***; User Id=***; Password='***';

That did not work though because I did not have the MySQLProv provider on my local machine (which I take to mean on my PC that I am working on). I installed it multiple times from mutiple sources but none of them worked. So instead of that provider I decided to try MS Jet.

When using Jet I get this error instead:
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

I looked into this error and the most info I could find was that the wrong value might be trying to be inserted into the database. I checked over this and am positive that is not the problem.

MS Access:
Connection String is
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\\hosting\\***\\access_db\\; User ID=***; Password='***';"

Now I am getting this error:
Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

The research I did on this tells me that I need a .mdw file to set the correct permissions. I was pointed to being able to use the one given as part of Acces (System.mdw), but it doesn't work and I get the same error.

MS SQL:
Now this seemed to have the proper connection string and everything. My problem is with the first query it encounters.
SELECT * FROM product
Error is:
Invalid object name 'product'

Unfortunately I have never used MS SQL before so I am not exactly sure what the problem is with this.

I am at a stuck point for all three of these cases and how no idea which way to turn. What would be my best bet?

Thanks for any help.
Daniel Hyder
May 28 '07 #1
1 1936
dotneto
36
I'm using ASP.NET with C#. GoDaddy is my webhost. I have tried 3 different databases, (that is why I didn't post this problem on one of the specific database forums) MySQL, Access, and MS SQL. All of the databases are available in GoDaddy and were set up there.

I am also using OleDb connections.

MySQL:
Here is the connections string I used at first
Provider=MySQLProv; Data Source=p50mysql13.secureserver.net; Initial Catalog=***; User Id=***; Password='***';

That did not work though because I did not have the MySQLProv provider on my local machine (which I take to mean on my PC that I am working on). I installed it multiple times from mutiple sources but none of them worked. So instead of that provider I decided to try MS Jet.

When using Jet I get this error instead:
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

I looked into this error and the most info I could find was that the wrong value might be trying to be inserted into the database. I checked over this and am positive that is not the problem.

MS Access:
Connection String is
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=d:\\hosting\\***\\access_db\\; User ID=***; Password='***';"

Now I am getting this error:
Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

The research I did on this tells me that I need a .mdw file to set the correct permissions. I was pointed to being able to use the one given as part of Acces (System.mdw), but it doesn't work and I get the same error.

MS SQL:
Now this seemed to have the proper connection string and everything. My problem is with the first query it encounters.
SELECT * FROM product
Error is:
Invalid object name 'product'

Unfortunately I have never used MS SQL before so I am not exactly sure what the problem is with this.

I am at a stuck point for all three of these cases and how no idea which way to turn. What would be my best bet?

Thanks for any help.
Daniel Hyder

Invalid object name 'product' means you misstyped the name of the table. Says, "there is no table here with that name('product' )".
May 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Murray Bryant | last post by:
I am having problems with contrib/tablefunc in postgresql 7.4.1 on freebsd when i try to make install i get the errors below. I am unable to make the 7.3 -> 7.4 transition until i can get the...
3
by: Amit | last post by:
Hi when I try to run LIST ACTIVE DATABASES AT DBPARTITIONNUM <partnum> or LIST ACTIVE DATABASES GLOBAL, I always get an error message. Does anyone know why? I'm on v8 fp 5 output : db2 => list...
0
by: Henry Reardon | last post by:
I just installed DB2 Personal Developer's Edition V8.2 (FP7) over my old DB2 V7.2 instance but I'm having some problems. Can anyone help? The first problem is that my migration didn't go too...
3
by: Robin | last post by:
Hi all, I'm working with a VB app, using DAO 3.6, that used to generate Access '97 databases using the following code: Set dbsNew = wrkDefault.CreateDatabase(strLPAccessInv, dbLangGeneral,...
7
by: bill.brennum | last post by:
Hi, Have a number of Access Databases that I inherited and want to zip a few of them. My concern is that other active Microsoft Applications may be linking to the database or its tables. Is...
6
by: Tjerk Wolterink | last post by:
Don't know wether this is the right newsgroup, anyways: Has anyone some experience with Native XML Databases. Im planning to use this: http://exist.sourceforge.net/ It has many advantages...
3
by: zMisc | last post by:
I am accessing MySQL databases using Visual Basic 6 running on windows It is possible to display all the available databases in the \Data directory? Is there a function/command that I can call to...
32
by: robert d via AccessMonster.com | last post by:
I'm looking at converting DAO to ADO in my app. All of my DAO connections are of the following structure: Dim wsName As DAO.Workspace Dim dbName As DAO.Database Dim rsName As DAO.Recordset ...
5
by: Anns via AccessMonster.com | last post by:
My establishment has about 20 ms access db's that will be converted over (see subject). When we pull all the BE's over to SQL and the FE's on Sharepoint (.net) surely we don't have to change...
1
by: judy | last post by:
I have several databases that are used to collect data for different client-projects. My intention was to collect the data, and administer mySQL so each client could see only their data. Each of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.