[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.odbcnet

[Microsoft][ODBC Excel Driver] Cannot open database '(unknown)'

Dube.Sebastien

9/10/2006 4:57:00 PM

Here's the error message:

[Microsoft][ODBC Excel Driver] Cannot open database
'(unknown)'. It may not be a database that your application recognizes,
or
the file may be corrupt.

My setup:

I have a Windows Service on XP that runs under admin user.
I copy an excel file to a folder.
I use Diagnostics.Process to start a third party process
RXImportExport.exe with parameters.

This RXImportExport.exe export data from a SQL Server 2000 database to
the excel file i've just copied.

When I launch the process, i get the error message from the log
function of the RXImportExport.exe.

If i leave my process running-continue and take the parameters and
launch the .exe from a dos prompt it is working properly and data gets
exported.

-------
Could it be that the file being copied is still on "hold" by the
operating system.
Could it be permission related?

I really have no clue anymore.

I could write a novel of the thing i've tried.

One other thing, it is working sometime!

I've tried to launch it from a batch file since it was working from DOS
prompt.
I get the same behavior-error. If i launch the batch file manually, it
is working!

Any help would be appreciated.

Thanks

1 Answer

Darshan Shaligram

7/8/2007 12:52:00 PM

0

grue@mail.ru (Timofei Shatrov) writes:
> On Sun, 08 Jul 2007 14:38:36 +0300, Haran Pilpel <haranp@gmail.com>
> tried to confuse everyone with this message:

>>Crawl philosophy says that distinct races should provide distinct
>>gameplay experiences. Otherwise, we would just allow a 'choose your
>>own aptitudes' race.

> Then make those races different. Removing them is not an appropriate
> solution.

We happen to disagree.

>>For the same reason, some of the Crawl (and Angband...) options get
>>removed, if practically no one ever changes them.

> How would you know? For example I always use easy_armour=false, yet
> it has been removed from init.txt for some reason.

easy_armour has not been removed.

--
Darshan Shaligram <scintilla@gmail.com> Deus vult