I have an SSIS package for importing excel files into the database.
In my source folder, I got an automatically created excel file, and I did not create that file. Even after I delete it, the file will be created again, and it shows that my user account is the owner of the file.
I do not know if any process creates the file.
Related
I had created a MDE file from a MDB file. Now i want to use MDE file to enter/update any field on my table and store data in it. I just want that whatever i update in my MDE file should automatically update my parent MDB file. Please help me with steps. I tried link manager but it isn't working. Please help me with it.
Create a copy of your MDB.
Then run the wizard to split a database into frontend and backend.
Finally, create an MDE of the frontend.
Now both the MDE and the MDB will share the same backend.
I have a database in mdb format that will not open. When I try to open the file I get an error:
"The Microsoft Access database engine stopped the process because you and another user are attempting to change data at the same time"
I was the only user accessing the database and this occurred after a compact/repair.
Any ideas on how to get the db working again?
open the .ldb file with Notepad, its name is the same as your .mdb file and its located on the same folder, you'l see info about the person 'locking' this database.
TO bypass it all, just copy the .MDB and paste it in the same folder, the lockings are not copied with it, so you can continue working on the copy of the mdb regardless.
Im loading excel files from ftp server to SQL Server where ftp server will contain only one file.
There is change of having the file with different name on monthly basis and old file is deleted. At that time if we run the package the package will fails, because ftp server contains new file with new name.
So, how to capture the new file.
Can anybody help me?
you need to use MASK to set the file name for example *.xlsx. Go to FTP Task Editor, set RemotePath to /your ftp path/*.xlsx.
Any idea on why I open certain MS Access mdb file(abc.mdb), msgbox pop-up saying that it is READ ONLY, but in fact it is not when I right-click the mdb to view "Properties"?
The folder where mdb locates can write folder/txt files in it.
I copy a dummy mdb file into that folder and this READ ONLY msgbox does not pop-up in that dummy mdb. The READ ONLY issue seems only exist in ABC.mdb
I did not see any .ldb file in that folder.
Any idea on that?
Couple of suggestions (in order):
Check the security permissions in the File Properties dialog. Make sure Administrators or your login has full control.
Repair and Compact the database file. Run this command:
"C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE" "DatabaseFile.mdb" /nostartup /repair /compact
Try opening in a different folder like your desktop.
If all else fails.. Create a new access database in the same folder and import all access objects from the Read Only database and test again.
how do i specify which DB it connects to? i am opening an access file that has sql code in it and it automatically wants to connect to a specific file. how can i change this setting?
If you want to do this manually hold the shift key down and open the MDB. Then run the Linked Table Manager and choose a different MDB containing the tables you want. If Access 2003 see Tools -> Database Utilities -> Linked Table Manager. If Access 2007 I think it's on a similar labelled item behind the Office button.
If you want to do this programmatically then see Relink Access tables from code
http://www.mvps.org/access/tables/tbl0009.htm. I store the path and file name of the tables MDB, typically called the backend (BE) MDB, in an iNI file located in the same folder as the front end (FE) MDB. Although you could use the registry. This way when I release a new copy of the FE MDB/MDE it reads that path and file name and automatically relinks to the customers BE MDB.