Cannot find DavWWWRoot file - sharepoint

I have an Excel File that's held on a SharePoint site and when I go to it's DavWWWRoot path the excel file is unable to be opened. Any Idea as to why this is happening?
enter image description here

You could check that whether other files in the same path could be accessed.
If the whole DavWWWRoot is not accessible, We need to restart the server and map network drive again, according to the error, first we need to add the web site to your trusted site and select the option to logon automatically in IE settings > Internet Options:
Finally, remember to uncheck the option in IE settings > Internet Options > General:
As a result, if you map network drive again, it will work normally:
you could also refer to this similar case:
https://learn.microsoft.com/en-us/answers/questions/762616/win-10-mapped-drive-to-sharepoint-directory-with.html

Related

Open an Access file without the security warning message [duplicate]

i have a shared access application, i created an accde file for 32-bit machine, when user open the application he/she getting a security warning
is there any way to disable this message from appearing to the users
thank you
You have to set their computer to be a trusted source. In order to get around this issue, you will need to create a Digital Certificate. Digital Certificates are good only on the computer they are created on, so if this database will be used on multiple computers then each one will have to create a Digital Certificate.
To do this, you will need to perform the following tasks:
Click on Start -> All Programs -> Microsoft Office -> Microsoft
Office Tools -> Digital Certificate For VBA Projects (If you don’t
have this, you will need to contact your IT Dept.)
Enter a Certificate Name. Make it obvious like MyProgramName and Click OK
Open the Access database which contains the security warning you want to bypass
Go into the Design View of any Module
Click on Tools -> Digital Signature
Choose your Digital Certificate you created in Step 2
Save and close the database
Re-Open the database. You will now be prompted with a different Security Warning that states the file has been digitally signed.
Check off the “Always trust files from this publisher…” box and click the Open button
All subsequent times you enter this database, you will not be prompted with a security warning.
Note - I wrote the above for our company based on Office 2003. If you're using a more recent version, the instructions may vary somewhat.
other way is following:
click on file and then options
click on trust center and then trust center settings on the right
then click on trusted locations and add new location
browse for the location and save.
that's it.. done.. now no more warnings..
That is a standard warning to indicate the file you are opening has web links and macros.
If you trust the file, just say OK or “Allow”
You can control if this message is displayed: Office button > Excel Options button > Trust Center > Trust Center Settings button (I have no idea why they have this extra button, DUMB DESIGN! )
More Information can be found here
I have an Access database that processes other Access databases. I get OP's error when connecting to one of the other Access databases. To fix the issues, I opened the other Access database and clicked Enabled Content. Then, the Access database is trusted and OP's error doesn't occur when connecting to that Access database from another Access database.
You can create a registry key that will add the directory as a trusted location and will not show the warning anymore. What's nice about this method is that you can easily automate this to happen on the computers where you deploy your app. See method #2 or #3 in this blog: http://www.accessrepairnrecovery.com/blog/fix-microsoft-access-security-notice
And in case the blogs ever gets removed, here is the important bits:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location20] “Path”=”C:\Database\”
“Description”=”My Database location”
Explanation about the key:
– The number “14.0” is the version of MS Office. You can change the numbers that represent the version you are executing.
– The “Location20” is a unique name that you assign. 20 can be any number that is not previously used. Other programs include default MS Access wizards, already have used other numbers. But if you want to make more than one path as trusted location, then each location must end up with different number.
– The “C:\Database\” is the physical path that you want to set to be as Trusted Location. You can place any path that you choose here.
By copy and pasting the above coding into a text file and save it with a name such as RemoveSecurityWarning.reg, you can then run the file into your PC’s registry just by making double click on the file.
The best way is to add the location of the document or the document itself to the Trusted Locations in Registry (if you use only Access runtime on client machines, there is no way to add it through the Office application, like you would do in Excel).
Here is the answer:
Adding Trusted Location to Access Run Time
You would need to create a new Location key and add the necessary Path (and Description) strings inside with the appropriate location of your file. This way the nag dialog will be gone and you won't need to worry about certificates.
Shared may mean it is located on a network share. It is not advisable to add a network location to the Trusted locations and you would need to set the additional flag AllowNetworkLocations to 1. I would advise you to copy the Access modules to the user computers, which would also make things better with the speed I believe.
If anybody else have this problem, it happened to me, with a shared file on a network environment, and the simplest solution was to install Microsoft Office service pack 2, even better is having automatic updates for Office turned on. You can find it here.

Excel VBA help documentation install

How can VBA help full, offline accessible documentation install into Microsoft Excel 2013?
I have tried to download this: https://www.microsoft.com/en-us/download/details.aspx?id=40326, but I cannot open help sections.
I have already tried to modify my installation, but cannot find any options related to this in setup.
Trick to open the file is double click the file. One pop-up as per image shown below will appear.
Please uncheck the tick mark ie remove it in the check-box Always Ask before opening the file.Then open it. It will be opened with its contents. HTH
Edit :
I am able to open these documents by trick adopted by me. Screen shots shown here.
After opening Excel Developer Help File I am getting the index on the left side and selected page opened on the right side which can be fully navigated. Please let me know what you are looking for. Apart from this There is an opening page where references to web url's are presented.
In a connected world security updates are a fact of life for a Long time. Microsoft have done a mighty job of securing Windows starting with XP SP2 released in Aug 2004. Since then a string of updates have reduced the humble CHM to the status of a humble local help system. It's a shame but we have had to move on.
Please note and make sure downloading your CHM's to a local drive!
Because files downloaded off the Internet - including ZIP files and CHM files contained in those zip files - are marked as as coming from the Internet and so can potentially be malicious, so do not get browsing rights on the local machine.
A explicitly 'unblock' of your downloaded CHM file may solve your problem. Please try in Windows Explorer and in a local drive (!) before going the next installation steps for Office 2013:
Open Windows Explorer and navigate to your download folder
Find your CHM file
Right click and select Properties
Click the Unblock button on the General tab
Here's what the dialog looks like:
I remember (not sure) the Unblock button may appear in NTFS filesystems only.

Adding a mapping to Hosts file and cannot save

I am trying to add a mapping to the Hosts file for my SharePoint site. Every time I hit save, it opens the Save As... dialog box and then says I need to save in My Documents, as I do not have permission to alter the Hosts file in its original location. I tried this on two accounts with Admin rights and the results were the same. Where can I enable this right?
Note: If it helps, this is for a SharePoint 2010 project. I am remotely connected to a server via RDP.
If it's anything involving permissions, odds are you need to open programs as administrator. A wise rule to abide by.
For this you can just open your fresh notepad as administrator... and then from File menu select your host file location and open file. After that edit the host file and save..... It will save without asking anything... :)

Can't open PDF files in SharePoint 2010 with Internet Explorer

So we couldn't open .pdf in the browser in our SP2010 site. I set the setting to permissive browser file handling in central admin. I then found out that there's a bug that if a site is created from a custom template the pdf files uploaded to that site will still prompt for either Save or Cancel. I ran a hotfix on the server
http://support.microsoft.com/kb/2459108
Consider the following scenario:
You set Browser File Handling to Permissive for a web application in the General settings page in SharePoint 2010 Central Administration.
You create a document library, and then upload an html document.
You open the html document in the browser.
Note You are not prompted to download the html document and it is rendered in the browser.
You select to include the content when you save the SharePoint site as a template.
You use the template to create a new SharePoint site in the same web application.
In this scenario, the Browser File Handling list setting for the document library in the new site is set to Strict. Additionally, when you open the html document, you are prompted to download the file.
Now when I click on a pdf with firefox I can open it directly but with internet explorer (8 and 9, default settings) I still can't do it, what's the solution here?
Edit: Maybe it always worked in firefox, anyway, when I create a new library it works as expected. How can I run this setting on all libraries?
There's a different, more subtle, but simpler root cause of this problem.
After much web searching and many hours with MSFT support, as hard as this may be to believe, it turns out that the root cause of my "SharePoint won't open PDF documents" problem was actually an Adobe extension/add-on. The symptom was an Adobe error msg "failed to open" after clicking the PDF list item in a document library. The culprit, an Adobe extension/add-on: "Adobe Acrobat SharePoint OpenDocuments Component".
I do not know how this got installed. What I do (finally) know is that this component actually does the exact opposite of what its name implies, i.e., it apparently prevents PDF documents from opening up when clicked in a SharePoint 2010 document library.
After various failed attempts to solve this problem (including changing "Browser File Handler" settings on the web app server from "Strict" to "Permissive" and other fixes suggested below and elsewhere on various blogs and web sites), nothing fixed the problem until we disabled this Adobe extension/add-on. Then, problem solved.
Note that you may not see this component in the "Tools > Manage Add-Ons" list until after attempting to open a PDF document from the library: apparently the add-on isn't activated (won't appear in that list) until an 'open' attempt is made. SO - if at first you don't see the component listed, try to open a PDF file and check the list again. If this component appears, disable it, and your problem is likely to go away.
Baffling, at best; or worse, actually nefarious on Adobe's part ...?
I'd still like to know how to get the PDF to open in a separate browser tab in IE vs. displacing the active tab. If anyone can help with that, please let me know! No custom coding solutions, PLEASE!
There is a better way to handle "Browser File Handle" issue. Take a look at my blog here: http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/
Solution #2 addresses Pdf extension without exposing entire Web Application to "Permissive" browsing. Setting "Browsing File Handle" to "permissive" opens too many vulnerabilities with other file extensions.
Thanks,
Dmitry
I have the same problem - originally installed Office Web apps, then turned that off, turned on the open in client application, then changed the setting on each doc library to open in browser .. Still have a problem with PDFs though.
If somebody includes a link to them in an announcement, then that person can open, other not. But only in IE - in FF there is no problme
Just change the Browser File Handling for the Web Application from the central admin as:
Central Administration > Application Management > Manage Web Applications
go to your Web Application example "http://sharepoint:80, just select it
from the top ribbon click "General Settings"
go down to "Browser File Handling" and change it to "Permissive"
If am not clear go to http://www.pdfsharepoint.com/sharepoint-2010-and-pdf-integration-series-part-1/
try this:
Make sure you're the site collection admin. Go into the site (not the central admin) and then go to site settings then go to site collection features. In there you will find the setting for " Open Documents in Client Applications by Default " it will probably be deactivated. Active it and you're good to go. users will then open attachments in their windows assigned applications, not the sharepoint web apps.
Also, try going into adobe reader and in the settings there is an option to open with the browser. check or uncheck it based on what you want it to do.
Encryption and SharePoint don't play well together
Right click My Documents or source folder
Select Properties > Advanced (button)
Uncheck "Encrypt contents to secure data"
This should solve many SharePoint problems you might have, including files not opening properly.
Appreciate this is an old post but still very relevant today. I spent a while trying to get this to work - just thought I'd share my findings.
This is specific to Adobe Acrobat. If you use a different PDF viewer, such as SumatraPDF the issue does not occur.
1. To prevent the 'Open, Save, Save As' dialog box in Internet Explorer:
This is specific to the versions of Acrobat. Set the following key/value:
Key: HKLM\SOFTWARE\Policies\Adobe\Acrobat Reader\*acrobat_version_number*\FeatureLockDown\cSharePoint
Value Name: bDisableSharePointFeatures
Value Type: REG_DWORD
Value: 0x1 (hex)
e.g.
For Acrobat X:
HKLM\SOFTWARE\Policies\Adobe\Acrobat Reader\11.0\FeatureLockDown\cSharePoint
2. To disable PDFs opening in the browser
This is specific to the versions of Acrobat. Set the following key/value:
Key: HKCU\Software\Adobe\Acrobat Reader\acrobat_version_number\Originals
Value Name: bBrowserIntegration
Value Type: REG_DWORD
Value: 0x0 (hex)
e.g.
For Acrobat X:
HKCU\Software\Adobe\Acrobat Reader\11.0\Originals
Thanks,
References:
Adobe Acrobat - Lockable Settings
Adobe Acrobat - General Application Settings

Mapping drive to SharePoint 2010

Maybe someone can help me with this one. I am able to map a SharePoint folder to a drive just fine , however if I log off then log back in , there is a red X on the drive , if i double click it and put my credentials then it fine again.
My question is , How do I avoid that ? how can I make it so that when I login, the drive is ready to go and I dont have to click on it and type my password?
Open IE
Tools -> Internet Options -> Security
The its either "Trusted" or "Local Intranet" depending on your settings
Sites -> Advanced (or Add) -> Add
then add file://*.yourdomainname.com, or http://*.yourdomainname.com
Create the perfect user first.
On a fresh profile
Populate the trusted list in IE with everything required.
Open Regedit and extract the keys at HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
This will be your importable reg file.
On the profile you wish to provision run the script that.
First imports the reg file using
Reg Import "%~dp0\TrustedSites.reg"
or something similar.
Then opens internet explorer to a SharePoint page, using the UNC path, that everyone in the company should have access to, but still requires O365 credentials.
Sets a pause, so once Internet Explorer has completed loading, you can tell the batch to move on. This can also be done with "sleep". IE must fully load and save the credentials to the page.
Kills ALL open IE instances using
Taskkill /IM "iexplore.exe" /F
Then using the following command you can map directly to that SharePoint folder.
net use <Your drive letter>: "<Full UNC Path>" /p:yes
If you have multiple sharable folders add another line like the one above. It will only map drives drive to the resources THE CURRENT USER has privileges to access. All the rest will show as "path not found" or something similar. The script will move one at a time through the resources and map the appropriate drives to the user.

Resources