Home > Visual Studio > Visual Studio 2010 Access Database Unspecified Error

Visual Studio 2010 Access Database Unspecified Error

You may have to register before you can post: click the register link above to proceed. the error pops after about the 20th iteration. Puzzler - which spacecraft(s) (actually) incorporated wooden structural elements? Integer function which takes every value infinitely often Sending a stranger's CV to HR Are there textual deviations between the Dead Sea Scrolls and the Old Testament? navigate here

You cannot mix 32bit and 64bit code and database drivers, just make sure everything is consistent. I found entries such that packages would get loaded multiple times and/or conflict with each other. This occurs when I click the Test Connection button and the OK button on the Add Connection dialog. Thank YouPeter Wednesday, August 24, 2011 1:49 AM Reply | Quote 0 Sign in to vote Alan Chen's solution fixed the problem.

If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? View All Messages No new notifications. Sending a stranger's CV to HR How do really talented people in academia think about people who are less capable than them? Monday, August 20, 2012 9:13 AM 2 Sign in to vote I managed to find a solution that works for us.

Output a googol copies of a string Trick or Treating in Trutham-And-Ly Given that ice is less dense than water, why doesn't it sit completely atop water (rather than slightly submerged)? Now all projects load fine ! You can configure this setting by changing the value of the Load User Profile attribute in the Advanced Settings dialog box for an application pool. In the Open text box, type inetmgr, and then click OK.

Here is my code: strDB = " Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" strDB = strDB & pstrPathName ' the connection object mdbDatabase = New OleDbConnection(strDB) ' open the connection mdbDatabase.Open() It fails to work. Additionally when you open the solution the first time you'll get an upgrade log. Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Try re-installing the RC version of Visual Studio 2012.

I would check folder permissions (full permissions are required), especially if the database is in a different location when run outside of the IDE. asked 4 years ago viewed 3631 times active 4 years ago Blog Stack Overflow Podcast #93 - A Very Spolsky Halloween Special Related 302Visual Studio 2010 - recommended extensions0Unspecified error when When I do, I'll upgrade my 2008 project. View All Comments No new messages.

It fails if I try an ODBC based connection too. The RTM specifically said it wasn't supported on machines with Beta or RC installed. After you have reproduced your error, look through the Process Monitor capture log for any errors in the Result column of logs, as shown in the following illustration: By analyzing the The IDbConnection object associated with the select command must be valid, but it does not need to be open.

If you are logged in using an account that administrative permissions but that is not the local administrator account, open all applications and all command prompt sessions by using the "Run check over here g. Trick or Treating in Trutham-And-Ly How to grep rows that have certain value in a specific column? Click OK to close the Advanced Settings dialog.

To do this, follow these steps: a. Generally it says something about project type not supported. In Solution Explorer, double-click Web.config. his comment is here That's what Finally blocks are for: to perform cleanup that must be done whether an exception is thrown or not. 2007-2016 Why is my data not saved to my database? |

Should the sole user of a *nix system have two accounts? I haven't got the time to try and fix my VS2010 install at the moment. VS don't fail to load projects.

Delete the whole solution from the harddisk won't work.

I have searched here, read MSDN, reinstalled Visual Studio, but nothing seems to work. When I first wrote this program, I was just using update statements to make the changes. Securing a LAN that has multiple exposed external at Cat 6 cable runs? In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms

You can also configure this setting by using the command-line tool AppCmd.exe with the following syntax: appcmd.exe set config -section:system.applicationHost/applicationPools /[name='DefaultAppPool'].processModel.loadUserProfile:"False" /commit:apphost Permissions on Content Folders When you are deploying a If you didn't manually clean both the Beta and RC then you have rogue entries in the registry and elsewhere that will cause problems with RTM. In this particular example, the Application Pool identity is configured to use the Network Service account and IIS is configured to load the user profile for the impersonated Application Pool identity. weblink Just an FYI for anyone else. –John Galt Jun 12 '13 at 10:43 add a comment| up vote 0 down vote Place a try/catch around your code block where you access

Another word for something which updates itself automatically Unknown symbol on schematic (Circle with "M" underlined) Movie about encountering blue alien How much more than my mortgage should I charge for Often times you can generate a new project of the same type, open the project file in a text editor and compare the project type GUIDs to what your original project I would like to mainly to take advantage of the EF 4. I have tried to compact and repair the database, but that does not help.