Forum Discussion
Strange/Lock Out From SharePoint
- Jul 12, 2021
Have you tried the trouble-shooting steps and work around described here?
Have you tried the trouble-shooting steps and work around described here?
George_Hepworth Thanks. I won't have time to look at this possibility till this time tomorrow, unfortunately.
- George_HepworthJul 14, 2021Silver Contributor
Well, if this works, it is truly embarrassing. I had COMPLETELY forgotten about this little code snippet and, more importantly, why I have it. My apologies.
This code was written back around 2010 when MS was trying to develop Access Web Databases, which used SP tables as the back end. That approach was deprecated. However, I wonder if this can help you here.
Public Function RemoveSPPublish() As BooleanDim db AS DAO.Database
Set db = CurrentDB
RemoveSPPublish = False
db.Properties.Delete ("PublishURL")
RemoveSPPublish = TrueEnd Function
It is something of a long shot because I think you actually have a different problem, but it's worth trying.