Solved

Object already open error for SQL Compact 3.5

Posted on 2010-08-31
1
728 Views
Last Modified: 2012-05-10
I have an application written in Delphi 2010 using dbGo components that accesses a SQL Compact 3.5 database.

The app worked ok against SQL Server 2008 but now i have ported it to Compact 3.5 I am getting problems.

When I open some datasets using a simple "select * from <tablename>" I get an error message "Object is already open" but other tables can be opened OK.

This is repeatable after i reboot my PC, and when I move to a test app that just opens one dataset/table.

Any ideas?
0
Comment
Question by:soozh
1 Comment
 

Accepted Solution

by:
soozh earned 0 total points
ID: 33570919
this probem was related to the dbGo components that could not handle a nvarchar field more than 127 characters long...
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
query help 18 51
SQl query 19 14
SQL Maintenance Plan 3 17
Installing SQL Server Express Management Studio 4 0
After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now