Allow another user to Refresh Excel file with Data connections
In my Excel 2016 File, I have set up connections to SQL views to get data. (There are about 6 sheets and each one connects to a different SQL query View) However, when I give this file to another user to Refresh data, they get an error because the odc files are saved in My data Sources folder.
Is the best solution to copy over my 'My data Sources folder' to a folder they have access to and manually point each connection to a odc file in the My data Sources folder I have copied over?
Is there a better way?
excel
add a comment |
In my Excel 2016 File, I have set up connections to SQL views to get data. (There are about 6 sheets and each one connects to a different SQL query View) However, when I give this file to another user to Refresh data, they get an error because the odc files are saved in My data Sources folder.
Is the best solution to copy over my 'My data Sources folder' to a folder they have access to and manually point each connection to a odc file in the My data Sources folder I have copied over?
Is there a better way?
excel
add a comment |
In my Excel 2016 File, I have set up connections to SQL views to get data. (There are about 6 sheets and each one connects to a different SQL query View) However, when I give this file to another user to Refresh data, they get an error because the odc files are saved in My data Sources folder.
Is the best solution to copy over my 'My data Sources folder' to a folder they have access to and manually point each connection to a odc file in the My data Sources folder I have copied over?
Is there a better way?
excel
In my Excel 2016 File, I have set up connections to SQL views to get data. (There are about 6 sheets and each one connects to a different SQL query View) However, when I give this file to another user to Refresh data, they get an error because the odc files are saved in My data Sources folder.
Is the best solution to copy over my 'My data Sources folder' to a folder they have access to and manually point each connection to a odc file in the My data Sources folder I have copied over?
Is there a better way?
excel
excel
asked Nov 26 '18 at 6:31
CamilleCamille
119214
119214
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
On the Microsoft Office Support site it is said that
If the external data source that you want to access is not on your local computer, you may need to contact the administrator of the database for a password, user permission, or other connection information.
In other words: Create a database on a server and ask your administrator to help you with it.
EDIT:
If the database is already somewhere on your LAN, then you should be able to use an odc file on the network. Here is an answer how to do that for Excel 2010. Hope it works for 2016 as well.
If the link dies, here is a copy of the most important parts of the text:
Connection files on the network
This list can be created from the following:
•A set of folders on your local network, the location of which can be deployed across the network as part of the deployment of Microsoft Office group policies.
•An Excel Services Data Connection Library (DCL) on a SharePoint
Foundation site. For more information about DCLs, see the section
Publishing to Excel Services securely.
And a step by step for the first option:
Here's the steps to publish a DCL using a GPO.
Right click on the Group Policy Object folder and select the New option from the popup menu. Enter an identifier for the shared link,
such as Enterprise Connections and leave the Source Starter GPO set to
(none).
Right click on the newly created GPO and select Edit from the popup menu.
- Expand the User Configuration, Preferences, and Windows Settings nodes in the tree on the left hand side to expose the Registry
entry.
- Right-click on the Registry node and select the New|Registry Entry from the popup menu.
- Change the Action property to Create.
- Leave the Hive value set on HKEY_CURRENT_USER and enter SoftwareMicrosoftOffice14.0CommonServer LinksPublishedMy
SiteSharepoint Connections as the Key Path.
- For the Value name, enter URL.
- Leave the Value type as the default of REG_SZ and enter the URL of your SharePoint DCL, i.e http://testsite/Data Connections for
PerformancePoint.
Create three additional registry entries with the Name, Data Type, and Values given in the table below.
Name Data Type Value
IsMember REG_DWORD 0
IsPublished REG_DWORD 1
LinkType REG_QWORD DCL: 00 00 00 04 00 00 00 00
Document Library: 00 20 00 00 00 00 00 00
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53475788%2fallow-another-user-to-refresh-excel-file-with-data-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
On the Microsoft Office Support site it is said that
If the external data source that you want to access is not on your local computer, you may need to contact the administrator of the database for a password, user permission, or other connection information.
In other words: Create a database on a server and ask your administrator to help you with it.
EDIT:
If the database is already somewhere on your LAN, then you should be able to use an odc file on the network. Here is an answer how to do that for Excel 2010. Hope it works for 2016 as well.
If the link dies, here is a copy of the most important parts of the text:
Connection files on the network
This list can be created from the following:
•A set of folders on your local network, the location of which can be deployed across the network as part of the deployment of Microsoft Office group policies.
•An Excel Services Data Connection Library (DCL) on a SharePoint
Foundation site. For more information about DCLs, see the section
Publishing to Excel Services securely.
And a step by step for the first option:
Here's the steps to publish a DCL using a GPO.
Right click on the Group Policy Object folder and select the New option from the popup menu. Enter an identifier for the shared link,
such as Enterprise Connections and leave the Source Starter GPO set to
(none).
Right click on the newly created GPO and select Edit from the popup menu.
- Expand the User Configuration, Preferences, and Windows Settings nodes in the tree on the left hand side to expose the Registry
entry.
- Right-click on the Registry node and select the New|Registry Entry from the popup menu.
- Change the Action property to Create.
- Leave the Hive value set on HKEY_CURRENT_USER and enter SoftwareMicrosoftOffice14.0CommonServer LinksPublishedMy
SiteSharepoint Connections as the Key Path.
- For the Value name, enter URL.
- Leave the Value type as the default of REG_SZ and enter the URL of your SharePoint DCL, i.e http://testsite/Data Connections for
PerformancePoint.
Create three additional registry entries with the Name, Data Type, and Values given in the table below.
Name Data Type Value
IsMember REG_DWORD 0
IsPublished REG_DWORD 1
LinkType REG_QWORD DCL: 00 00 00 04 00 00 00 00
Document Library: 00 20 00 00 00 00 00 00
add a comment |
On the Microsoft Office Support site it is said that
If the external data source that you want to access is not on your local computer, you may need to contact the administrator of the database for a password, user permission, or other connection information.
In other words: Create a database on a server and ask your administrator to help you with it.
EDIT:
If the database is already somewhere on your LAN, then you should be able to use an odc file on the network. Here is an answer how to do that for Excel 2010. Hope it works for 2016 as well.
If the link dies, here is a copy of the most important parts of the text:
Connection files on the network
This list can be created from the following:
•A set of folders on your local network, the location of which can be deployed across the network as part of the deployment of Microsoft Office group policies.
•An Excel Services Data Connection Library (DCL) on a SharePoint
Foundation site. For more information about DCLs, see the section
Publishing to Excel Services securely.
And a step by step for the first option:
Here's the steps to publish a DCL using a GPO.
Right click on the Group Policy Object folder and select the New option from the popup menu. Enter an identifier for the shared link,
such as Enterprise Connections and leave the Source Starter GPO set to
(none).
Right click on the newly created GPO and select Edit from the popup menu.
- Expand the User Configuration, Preferences, and Windows Settings nodes in the tree on the left hand side to expose the Registry
entry.
- Right-click on the Registry node and select the New|Registry Entry from the popup menu.
- Change the Action property to Create.
- Leave the Hive value set on HKEY_CURRENT_USER and enter SoftwareMicrosoftOffice14.0CommonServer LinksPublishedMy
SiteSharepoint Connections as the Key Path.
- For the Value name, enter URL.
- Leave the Value type as the default of REG_SZ and enter the URL of your SharePoint DCL, i.e http://testsite/Data Connections for
PerformancePoint.
Create three additional registry entries with the Name, Data Type, and Values given in the table below.
Name Data Type Value
IsMember REG_DWORD 0
IsPublished REG_DWORD 1
LinkType REG_QWORD DCL: 00 00 00 04 00 00 00 00
Document Library: 00 20 00 00 00 00 00 00
add a comment |
On the Microsoft Office Support site it is said that
If the external data source that you want to access is not on your local computer, you may need to contact the administrator of the database for a password, user permission, or other connection information.
In other words: Create a database on a server and ask your administrator to help you with it.
EDIT:
If the database is already somewhere on your LAN, then you should be able to use an odc file on the network. Here is an answer how to do that for Excel 2010. Hope it works for 2016 as well.
If the link dies, here is a copy of the most important parts of the text:
Connection files on the network
This list can be created from the following:
•A set of folders on your local network, the location of which can be deployed across the network as part of the deployment of Microsoft Office group policies.
•An Excel Services Data Connection Library (DCL) on a SharePoint
Foundation site. For more information about DCLs, see the section
Publishing to Excel Services securely.
And a step by step for the first option:
Here's the steps to publish a DCL using a GPO.
Right click on the Group Policy Object folder and select the New option from the popup menu. Enter an identifier for the shared link,
such as Enterprise Connections and leave the Source Starter GPO set to
(none).
Right click on the newly created GPO and select Edit from the popup menu.
- Expand the User Configuration, Preferences, and Windows Settings nodes in the tree on the left hand side to expose the Registry
entry.
- Right-click on the Registry node and select the New|Registry Entry from the popup menu.
- Change the Action property to Create.
- Leave the Hive value set on HKEY_CURRENT_USER and enter SoftwareMicrosoftOffice14.0CommonServer LinksPublishedMy
SiteSharepoint Connections as the Key Path.
- For the Value name, enter URL.
- Leave the Value type as the default of REG_SZ and enter the URL of your SharePoint DCL, i.e http://testsite/Data Connections for
PerformancePoint.
Create three additional registry entries with the Name, Data Type, and Values given in the table below.
Name Data Type Value
IsMember REG_DWORD 0
IsPublished REG_DWORD 1
LinkType REG_QWORD DCL: 00 00 00 04 00 00 00 00
Document Library: 00 20 00 00 00 00 00 00
On the Microsoft Office Support site it is said that
If the external data source that you want to access is not on your local computer, you may need to contact the administrator of the database for a password, user permission, or other connection information.
In other words: Create a database on a server and ask your administrator to help you with it.
EDIT:
If the database is already somewhere on your LAN, then you should be able to use an odc file on the network. Here is an answer how to do that for Excel 2010. Hope it works for 2016 as well.
If the link dies, here is a copy of the most important parts of the text:
Connection files on the network
This list can be created from the following:
•A set of folders on your local network, the location of which can be deployed across the network as part of the deployment of Microsoft Office group policies.
•An Excel Services Data Connection Library (DCL) on a SharePoint
Foundation site. For more information about DCLs, see the section
Publishing to Excel Services securely.
And a step by step for the first option:
Here's the steps to publish a DCL using a GPO.
Right click on the Group Policy Object folder and select the New option from the popup menu. Enter an identifier for the shared link,
such as Enterprise Connections and leave the Source Starter GPO set to
(none).
Right click on the newly created GPO and select Edit from the popup menu.
- Expand the User Configuration, Preferences, and Windows Settings nodes in the tree on the left hand side to expose the Registry
entry.
- Right-click on the Registry node and select the New|Registry Entry from the popup menu.
- Change the Action property to Create.
- Leave the Hive value set on HKEY_CURRENT_USER and enter SoftwareMicrosoftOffice14.0CommonServer LinksPublishedMy
SiteSharepoint Connections as the Key Path.
- For the Value name, enter URL.
- Leave the Value type as the default of REG_SZ and enter the URL of your SharePoint DCL, i.e http://testsite/Data Connections for
PerformancePoint.
Create three additional registry entries with the Name, Data Type, and Values given in the table below.
Name Data Type Value
IsMember REG_DWORD 0
IsPublished REG_DWORD 1
LinkType REG_QWORD DCL: 00 00 00 04 00 00 00 00
Document Library: 00 20 00 00 00 00 00 00
edited Nov 27 '18 at 8:50
answered Nov 26 '18 at 15:03
ffonzffonz
8301918
8301918
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53475788%2fallow-another-user-to-refresh-excel-file-with-data-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown