We have an MS Access front-end application that connects with Access tables on a network share. The application is installed on three terminal servers and several desktops. It works fine on the desktops and two of the terminal servers. On the third terminal server, we have the following problem.
If one user (no particular user) starts the application more than about 15 minutes prior to the others, the others all get the message "The database has been placed in a state by user 'Admin' that prevents it from being opened or locked".
If all users start the application within an approximate 15 minute window, they all work fine, until they close the application. At this point, no one can get back in until the first person to have started the application closes it. Once that person is out, everyone can get back in.
There are no obvious differences between the terminal servers. We are using the Microsoft Access 2010 Runtime to run the application. The setup is the same across all systems.
Related
Have a client that upgraded all of their machines to Access 2016. Before, they had a mixture of older Access versions. The access databases they use have an ODBC connection to a Pervasive database. I don't know anything more about Pervasive. I know in the past when they've had a single machine go to Access 2016 or from older versions of Windows to Windows 2010 and I've had to re-link tables.
Right now, they're getting this error:
ODBC-call failed
[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Invalid date, time or timestamp value. (#0)
I need some suggestions on how to fix this for all machines and all Access applications.
** UPDATE **
The problem was a missing Active X calendar control. I changed all the date controls on the form to be text boxes to take advantage of the new Access calendar pop-up. The problem now is that the client has dozens of Access database. As far as I know, I'd have to open each file and each form in the file and change the controls one at a time. Anyone know of a way to update multiple Access file without having to touch them all?
The calendar control will still work with Access2016. If you've got loads of databases it's probably quicker to re-install the calendar control.
You will need the MSCAL.OCX file which you can download. Copy the MSCAL.OCX file to c:\windows\sysWOW64 not c:\windows\system32. Register it by running from the command prompt or run in the start menu
regsvr32 c:\windows\sysWOW64\MSCAL.ocx
and it should register OK but make sure that you run regsvr32 with administrator privileges.
I've written an application in Access 2013 (64-bit) that I'd like to split into front-end and back-end databases, storing the back-end on a file server where multiple machines can access the data via local instances of the front-end. None of the computers have Access installed, so I'm using Access Runtime 2013 on them.
The application runs fine when it is not split, on a single computer. As soon as I split the app into front-end/back-end files, the program opens and immediately closes on startup, with no error messages. I'm assuming that this is due to invalid links to the external data file on the first startup of the app (i.e. existing links are to folder locations on my development machine).
Has anyone experienced this problem? If so, is it due to invalid links? And, what can I do to allow the program to stay open, allowing the user to navigate to a form that I've provided in the main menu form for setting the path to the back-end file for re-linking tables?
In the load event for the menu form check if you can access the data by trying to open a recordset. If you can't, close the menu form and open your form for setting the database location. Make that there's nothing on you location setting form that is bound to the database.
i may be going about this the wrong way and would appreciate guidance on how it should be done. :)
I have a windows 7 computer on which i have installed thinVNC (Remote desktop application)
i liked it because its cross platform and does not need the clients to install anything on their devices to connect to the computer.They simply use a HTML 5 enabled browser to connect.
The purpose of this is so that they can get to a Microsoft access database on the computer, log in to it and perform some transactions.
Now, when one person logs in they see the desktop and interact with it and thats fine. However, when another person connects to the computer, they basically watch as the first user goes about using the database. Which i think is the purpose of this kind of software!
So i guess what i want is that each user gets their own fresh "session" if you like, like having the file on a network drive. So users connect to the computer,don't see others using the system and there's a folder where i have granted access to external users and placed the database in it. They will then doubleclick the file icon and be able to login etc.
So what is the best way to achieve this? ideally i don't want the user to have to install any software to be able to connect, but if its unavoidable then so be it.
thanks
Why not use Microsoft's built in remote desktop? There's a version for most (if not all) devices now and it would let you just setup multiple accounts on the Win 7 pc and get each user to log into them individually.
I have IIS7.5 with two websites, and I have an Access database on a server on our network.
The first website has anonymous auth on, using a specific network account (lets say 'jim.smith').
The second website has windows auth on.
I've written some ASP to use a DSN-Less connection to the Access database, and I'm using the same code in both websites.
When logged on to a computer with the same network account as is in use with the first website anonymous setting ('jim.smith') - when viewing in a browser, the first website has access to the database, the second website does not.
The error message is: 80004005 The Microsoft Jet database engine cannot open the file '...'. It is already opened exclusively by another user, or you need permission to view its data.
It is definitely not opened by another user.
So the first website is being accessed by network user 'jim.smith' via the anonymous setting.
The second website is being accessed by network user 'jim.smith' via windows auth.
Why would access to the database work from website one, and not website two..?
Does anyone know how to make windows auth work the same as the anonymous setting so I have access to the database from website two..?
Cheers!
Steve
Edit: Everyone has full rights to the folder where the database sits.
Seems to me that you need to enable impersonation so that the incoming user is used to acces the database. Otherwise the user of the application pool is used and this usually doesn't even have right on the server itself ( Application Pool Identity)
When using 'Integrated Pipeline' on IIS on the server, and if your application does not rely on impersonating the requesting user in the 'BeginRequest' and 'AuthenticateRequest' stages (the only stages where impersonation is not possible in Integrated mode), but still requires Impersonation in other areas of the application, ignore this error (500 - Internal Server Error) by adding the following to your application’s web.config
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
See:
http://allen-conway-dotnet.blogspot.com/2010/11/how-to-use-impersonation-in-aspnet.html
Want to run two instances of a mySql CRM app (one desk side and one webserver side) and want both databases to be synced.
I like the CRM on the desktop because it is fast and I can set the settings as the admin for my viewing and I can continue working in the event of a loss of internet connectivity (then sync the dbase after reconnecting to the server dbase). I want to make a hosted instance of the CRM for my staff and when I am on the road. The databases should be showing the same data in real time. Effectively it is real time back-up system. Is there an existing way to already do this with mySql dbases without having to program anything? A plug-in or something?
Try using MySQL replication http://dev.mysql.com/doc/refman/5.0/en/replication.html
It is too long topic to start describing it here. Just search for information about implementing it.