Visual Studio 2017 - C# - Couldn't process (*.resx) file due to its being in the internet or restricted zone...











up vote
0
down vote

favorite
1












I am getting the following Error message on Run (Build) ->

"Couldn't process file 123.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files."

There are 4 forms in the project and Visual Studio 2017 (VS2017) shows error for all the 4 related resx files in this C# project.



Here are the key points.




  • I am running VS2017 Ent on a Win10x64 Ent sys, and everything (os, software including VS2017 and sys drivers) on this sys are updated as and when it becomes available.

  • I have a 1TB OneDrive storage access through corporate Office365 Ent, and I use this cloud storage to store all my data. VS2017 project location is customized to be stored on this OneDrive.

  • I didn't make any changes on this computer or VS2017 or even on this project, apart from updating my OS.


I have tried the following steps and it does not solve my problem.




  1. "UNBLOCK" Solution as mentioned here.
    My .RESX files does not have this UNBLOCK option inside its Properties tab. (Windows Explorer).

    Furthermore, I have made sure that there are currently no resources (Images or Icons downloaded from the web that are being used in this project) that has any "Unblock" option on their Windows Explorer Property. (There were some with the "Unblock" options highlighted, that I promptly UNBLOCKED).

    Interestingly, one of the forms in this project that gets this error, does not have any outside resources on it (plan form), so the theory of using items downloaded from the internet is nullified here.

  2. Under Internet Options -> Security -> Local Intranet Zone -> Sites -> Advanced =


    • Entered "file://[my computer name]" into "Add this website to the zone:"-> and confirmed the same to be under "Websites:"

    • Confirmed that the checkbox option "Require server verification (bla bla bla)..." is unticked (not selected).



  3. Deleting and Recreating the .resx file solution as mentioned here.

    Backing up the .ResX files to a diff dir -> Deleting the same from the project dir -> Recreating it using notepad (copy/paste info from it's backup) -> Relaunching VS -> Recompiling = Did not fix my issue.


By the way, recently I observed that dragging and dropping (aka mouse copy paste) any files on the ONEDRIVE (source and destination both on the one-drive) throws the following error msg
"These files might be harmful to your computer. Your Internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?".

Since I started seeing this message recently, I am wondering if this and the stuff happening in VS has something to do with the recent Windows Update, which had updates for the Office 2016 Pro Plus along with other updates.










share|improve this question
























  • add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
    – JohnB
    Nov 13 at 3:57












  • Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
    – Eri
    Nov 14 at 4:54












  • New in the Creator's edition by the looks of it.
    – Hans Passant
    yesterday















up vote
0
down vote

favorite
1












I am getting the following Error message on Run (Build) ->

"Couldn't process file 123.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files."

There are 4 forms in the project and Visual Studio 2017 (VS2017) shows error for all the 4 related resx files in this C# project.



Here are the key points.




  • I am running VS2017 Ent on a Win10x64 Ent sys, and everything (os, software including VS2017 and sys drivers) on this sys are updated as and when it becomes available.

  • I have a 1TB OneDrive storage access through corporate Office365 Ent, and I use this cloud storage to store all my data. VS2017 project location is customized to be stored on this OneDrive.

  • I didn't make any changes on this computer or VS2017 or even on this project, apart from updating my OS.


I have tried the following steps and it does not solve my problem.




  1. "UNBLOCK" Solution as mentioned here.
    My .RESX files does not have this UNBLOCK option inside its Properties tab. (Windows Explorer).

    Furthermore, I have made sure that there are currently no resources (Images or Icons downloaded from the web that are being used in this project) that has any "Unblock" option on their Windows Explorer Property. (There were some with the "Unblock" options highlighted, that I promptly UNBLOCKED).

    Interestingly, one of the forms in this project that gets this error, does not have any outside resources on it (plan form), so the theory of using items downloaded from the internet is nullified here.

  2. Under Internet Options -> Security -> Local Intranet Zone -> Sites -> Advanced =


    • Entered "file://[my computer name]" into "Add this website to the zone:"-> and confirmed the same to be under "Websites:"

    • Confirmed that the checkbox option "Require server verification (bla bla bla)..." is unticked (not selected).



  3. Deleting and Recreating the .resx file solution as mentioned here.

    Backing up the .ResX files to a diff dir -> Deleting the same from the project dir -> Recreating it using notepad (copy/paste info from it's backup) -> Relaunching VS -> Recompiling = Did not fix my issue.


By the way, recently I observed that dragging and dropping (aka mouse copy paste) any files on the ONEDRIVE (source and destination both on the one-drive) throws the following error msg
"These files might be harmful to your computer. Your Internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?".

Since I started seeing this message recently, I am wondering if this and the stuff happening in VS has something to do with the recent Windows Update, which had updates for the Office 2016 Pro Plus along with other updates.










share|improve this question
























  • add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
    – JohnB
    Nov 13 at 3:57












  • Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
    – Eri
    Nov 14 at 4:54












  • New in the Creator's edition by the looks of it.
    – Hans Passant
    yesterday













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I am getting the following Error message on Run (Build) ->

"Couldn't process file 123.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files."

There are 4 forms in the project and Visual Studio 2017 (VS2017) shows error for all the 4 related resx files in this C# project.



Here are the key points.




  • I am running VS2017 Ent on a Win10x64 Ent sys, and everything (os, software including VS2017 and sys drivers) on this sys are updated as and when it becomes available.

  • I have a 1TB OneDrive storage access through corporate Office365 Ent, and I use this cloud storage to store all my data. VS2017 project location is customized to be stored on this OneDrive.

  • I didn't make any changes on this computer or VS2017 or even on this project, apart from updating my OS.


I have tried the following steps and it does not solve my problem.




  1. "UNBLOCK" Solution as mentioned here.
    My .RESX files does not have this UNBLOCK option inside its Properties tab. (Windows Explorer).

    Furthermore, I have made sure that there are currently no resources (Images or Icons downloaded from the web that are being used in this project) that has any "Unblock" option on their Windows Explorer Property. (There were some with the "Unblock" options highlighted, that I promptly UNBLOCKED).

    Interestingly, one of the forms in this project that gets this error, does not have any outside resources on it (plan form), so the theory of using items downloaded from the internet is nullified here.

  2. Under Internet Options -> Security -> Local Intranet Zone -> Sites -> Advanced =


    • Entered "file://[my computer name]" into "Add this website to the zone:"-> and confirmed the same to be under "Websites:"

    • Confirmed that the checkbox option "Require server verification (bla bla bla)..." is unticked (not selected).



  3. Deleting and Recreating the .resx file solution as mentioned here.

    Backing up the .ResX files to a diff dir -> Deleting the same from the project dir -> Recreating it using notepad (copy/paste info from it's backup) -> Relaunching VS -> Recompiling = Did not fix my issue.


By the way, recently I observed that dragging and dropping (aka mouse copy paste) any files on the ONEDRIVE (source and destination both on the one-drive) throws the following error msg
"These files might be harmful to your computer. Your Internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?".

Since I started seeing this message recently, I am wondering if this and the stuff happening in VS has something to do with the recent Windows Update, which had updates for the Office 2016 Pro Plus along with other updates.










share|improve this question















I am getting the following Error message on Run (Build) ->

"Couldn't process file 123.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files."

There are 4 forms in the project and Visual Studio 2017 (VS2017) shows error for all the 4 related resx files in this C# project.



Here are the key points.




  • I am running VS2017 Ent on a Win10x64 Ent sys, and everything (os, software including VS2017 and sys drivers) on this sys are updated as and when it becomes available.

  • I have a 1TB OneDrive storage access through corporate Office365 Ent, and I use this cloud storage to store all my data. VS2017 project location is customized to be stored on this OneDrive.

  • I didn't make any changes on this computer or VS2017 or even on this project, apart from updating my OS.


I have tried the following steps and it does not solve my problem.




  1. "UNBLOCK" Solution as mentioned here.
    My .RESX files does not have this UNBLOCK option inside its Properties tab. (Windows Explorer).

    Furthermore, I have made sure that there are currently no resources (Images or Icons downloaded from the web that are being used in this project) that has any "Unblock" option on their Windows Explorer Property. (There were some with the "Unblock" options highlighted, that I promptly UNBLOCKED).

    Interestingly, one of the forms in this project that gets this error, does not have any outside resources on it (plan form), so the theory of using items downloaded from the internet is nullified here.

  2. Under Internet Options -> Security -> Local Intranet Zone -> Sites -> Advanced =


    • Entered "file://[my computer name]" into "Add this website to the zone:"-> and confirmed the same to be under "Websites:"

    • Confirmed that the checkbox option "Require server verification (bla bla bla)..." is unticked (not selected).



  3. Deleting and Recreating the .resx file solution as mentioned here.

    Backing up the .ResX files to a diff dir -> Deleting the same from the project dir -> Recreating it using notepad (copy/paste info from it's backup) -> Relaunching VS -> Recompiling = Did not fix my issue.


By the way, recently I observed that dragging and dropping (aka mouse copy paste) any files on the ONEDRIVE (source and destination both on the one-drive) throws the following error msg
"These files might be harmful to your computer. Your Internet security settings suggest that one or more files may be harmful. Do you want to use it anyway?".

Since I started seeing this message recently, I am wondering if this and the stuff happening in VS has something to do with the recent Windows Update, which had updates for the Office 2016 Pro Plus along with other updates.







c# visual-studio-2017 office365 onedrive resx






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked Nov 13 at 3:11









Eri

13




13












  • add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
    – JohnB
    Nov 13 at 3:57












  • Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
    – Eri
    Nov 14 at 4:54












  • New in the Creator's edition by the looks of it.
    – Hans Passant
    yesterday


















  • add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
    – JohnB
    Nov 13 at 3:57












  • Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
    – Eri
    Nov 14 at 4:54












  • New in the Creator's edition by the looks of it.
    – Hans Passant
    yesterday
















add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
– JohnB
Nov 13 at 3:57






add your file server to my Trusted Sites in Internet Options. Reloaded the project and it built normally after that
– JohnB
Nov 13 at 3:57














Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
– Eri
Nov 14 at 4:54






Which File Server to add in Trusted Sites? Does Onedrive has file server which needs to be added and if so then how do we do that?
– Eri
Nov 14 at 4:54














New in the Creator's edition by the looks of it.
– Hans Passant
yesterday




New in the Creator's edition by the looks of it.
– Hans Passant
yesterday

















active

oldest

votes











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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53273231%2fvisual-studio-2017-c-sharp-couldnt-process-resx-file-due-to-its-being-i%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53273231%2fvisual-studio-2017-c-sharp-couldnt-process-resx-file-due-to-its-being-i%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?