Develooping app for Windows Store - writing and reading file: file came from another computer

I am developing an app Store Windows (XAML, c#) and I am writing a file to the user Documents folder.  When writing is complete, the file is marked as «this file came from another computer and can be blocked to protect the computer»  Of course, this isn't what I want - the file did not come from another computer.  Subsequent attempts to read the file in the same application fail unless I have use Windows Explorer to unlock the file.

How can I write a file in a way that I don't let not blocked for the following readings?

I am developing an app Store Windows (XAML, c#) and I am writing a file to the user Documents folder.  When writing is complete, the file is marked as «this file came from another computer and can be blocked to protect the computer»  Of course, this isn't what I want - the file did not come from another computer.  Subsequent attempts to read the file in the same application fail unless I have use Windows Explorer to unlock the file.

How can I write a file in a way that I don't let not blocked for the following readings?

Probably should be this announcement on the forums for developers (MSDN/Technet).

Tags: Windows

Similar Questions

  • DPS app for windows store was non-compliant

    I built a DPS app for windows store. He was sent as not in line with the following errors:

    The encoding of the file test: FAILED

    Encoding UTF-8

    Found error: the file UTF-8 coding test has detected the following errors:

    • File res\library\main.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\app.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\Config.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\controllers.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\services.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\directives\folioItemView.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\directives\indeterminateProgressBar.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\directives\mainFolioView.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\directives\tabBar.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\js\directives\tabContentContainer.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\libs\AdobeLibraryAPI.min.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\libs\angular.1.2.8.js is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\index.html is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\templates\faq.html is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).
    • File res\library\styles.css is not properly encoded as UTF - 8. Re-save the file as UTF-8 (including Byte Order Mark).

    An impact if not set: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a corresponding order of byte (BOM) mark in order to benefit from the bytecode caching and avoid other runtime error conditions.

    How to fix: open the file and select "save under...". "option in the file menu of Visual Studio. Select the drop-down list next to the button control record and select the option "save with encoding...". ». The Advanced Save dialog options, select "Unicode (UTF-8 with signature)" option and click the OK button.

    How can I go about fixing this? I don't know where these files reside indeed like all I submit is an APPXBUNDLE file.

    Thank you!

    Hi Rhome,

    It looks like that you use a custom window in your Windows application and custom store files are not encoded properly. You must use a text editor to re - register all your showcase custom files so that they are UTF - 8 with the byte order mark. Then repackage the files customized storefront in a zip, re - download App Builder and submit your application.

    One publisher who can do that is to notepad ++. When you change the file go to menu "encode in UTF - 8" encoding, and then select Save file. You will need to do this for each folder in your custom storefront.

    Neil

  • When I try to download apps on windows store, it shows that they are waiting for download and they keep showing pending

    Original title: Windows store does not work

    Hi... when I try to download apps on windows store, it shows that they are waiting for the download but they never download at all, they keep showing waiting... and apps are never download... and internet works also very well... so, what was the problem with the windows store? ...

    Hello

    I recommend you download and install Windows App troubleshooting using link:
    Also makes us say that it shows any code or message?
  • Windows Store App for Windows 8 says now that he can not be installed

    Hello

    I just do a restore to factory on my computer Windows 8 and now I'm reinstalling all the applications that I used for the Windows store. I liked and had no problem with The Weather Channel, but when I went to install from the Windows store, it now says my PC can not meet the minimum requirements, or may be updated. I do not understand that because it has worked well for the 2 years that I got it on this computer before restoring factory three weeks back.

    Hi Daffy,

    The problem you are experiencing has occurred due to a corruption in the App Store Windows.

    A few quick questions to better understand the issue:

    1. What is the brand and model of your computer?
    2. The issue is limited to a specific application (The Weather Channel)?
    3. You are able to download other applications?

    Try the following methods:

    Method 1

    Check Windows updates if driver updates are available. If so, the same install and check if it helps.

    • Press Windows key + W on the keyboard.
    • Type the updates in the search bar and click the Windows Update icon from the result of the search.
    • In the Windows Update window, click on the link: check the updates from the left side of the window to receive a new list of updates.

    If updates are available, install all updates listed there. Make sure that you install all updates including the optional updates.

    Method 2

    Allow us to reset the Windows Store cache and check if you can download the application.

    • Press the Windows key + Q.
    • In the search box, type WSReset.exe , and then press ENTER.

    This will reset your hiding place for the store. Now, try the download and check.

    Method 3

    Run the utility troubleshooting app which is a tool that can automatically identify and fix problems with applications and store.

    See the link below:

    Solving the problems of the app

    http://go.Microsoft.com/fwlink/p/?LinkId=268423 

    Let us know the results. Feel free to write to us for assistance.

  • Just DLd CD player. Now, nothing will be printed. I also get error app for Windows (0xc0000022) whenever I start CD player. I uodated download of the last update and tried an auto repair. Using Win 7 Pro 64 bit machine.

    Just DLd CD player. Now, nothing will be printed. I also get error app for Windows (0xc0000022) whenever I start CD player. I uodated download of the last update and tried an auto repair. Using Win 7 Pro 64 bit machine. I tried several printers and I can test printing from other applications such as Outlook and Wordpad.

    None of this has worked. I have to get rid of the error (0 x 000022) and he got good printing. I did clean the Adobe Reader DC machine, reinstalled drive XI 11.0.10 and in the preferences to disabled Adobe protected in Security (Enhanced) Mode and set "view documents I have PDF/A mode" forever in the Documents tab...

    It seems that each player version as it becomes more complex (with the "features enhanced security") gets more unstable.

    I'll try Adobe Reader DC when I eventually have to WIN 10 which is never if all goes well.

  • NEED of Talking app for window.

    Need to talk about the APP for window 8 (Nokia Lumia 520) something like Talkatone or Groove IP for android phone.
    Have a lot of DATA allowance, but not a lot of talk time (100 minutes per month) - T Mobile.

    Thank you

    Hello

    I suggest you to download and install the free app to talk about the store of Windows 8.

    http://apps.Microsoft.com/Windows/en-us/app/free-talk/5aeb9690-143d-4350-9069-2ed317a2bd3e

    Keep us updated on the status of the issue.

  • My laptop has been out of service for Windows 10 preview and free offer, but now work. Is it possible to get the upgrade for Windows 10 free?

    My laptop has been out of service for Windows 10 preview and free offer, but now work. Is it possible to get the upgrade for Windows 10 free?

    Hello

    You buy Windows 10, as there is no free upgrade to Vista 10.

    https://www.Yahoo.com/tech/s/Microsoft-just-confirmed-Windows-10-pricing-everything-know-114542550.html

    Microsoft on Monday said CNET Windows 10 will cost just as much as its predecessor. This means price for Windows 10 will run anywhere from $110 for Windows 10 Home package at $199 for Windows 10 Pro edition. In addition a Pack Pro 10 will allow users upgrade Home Pro for $99.

    http://www.CNET.com/news/Microsoft-prices-single-Windows-10-licenses-at-119-for-home-199-for-Pro/

    How to buy Windows 10:

    http://www.microsoftstore.com/store/msusa/en_US/cat/Windows/CategoryID.70036700

    But first make sure that you have the correct configuration and your computer manufacturer provides the right drivers for 10.

    https://www.Microsoft.com/en-us/Windows/Windows-10-specifications#sysreqs

    " System requirements Windows 10"

    https://www.Thurrott.com/Windows/Windows-10/3884/Windows-10-system-requirements

    Microsoft deploys Windows 10 available as free upgrade to Windows 7 features, Windows and Windows Phone 8.1 8.1 qualified. It will be available from July 29, 2015

    "FAQ Windows 10.

    http://www.Microsoft.com/en-us/Windows/Windows-10-FAQ

    See you soon.

  • I can't download apps on windows store. error code: 0 x 80070422

    I can't download apps on windows store. I tried a lot of answers. He goes on to say the same thing, "your purchase could not be executed. error code: 0 x 80070422

    From the desk of
    Press the Windows key + R
    Type WSReset.exe and press OK

    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Method 3:


    You can try to run Apps Troubleshooter

    Download and run the troubleshooter modern UI App and check.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Please use the following links as reference:

    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

  • Facebook app for Windows 8 has no log out/off option?

    After the signature by using the facebook app for windows 8, there is no log out/out option at the bottom of the left side because usually.  Also, the button 'account' at the top right is not there either.  So, I can't connect out / stop.  Help, please!

    I've uninstalled and reinstalled the application twice now and it was as described above both times.

    Thanks for any help.

    Go into settings of disconnection.  You can access the parameters with the mouse, the keyboard or touch; Just choose what you prefer:

    • The mouse; point the right corner of your screen, and then click settings.
    • Keyboard; Press on + C to show the charms, then click settings.
    • Touch; Drag from the right edge to display the charms, then click settings.
  • I got new skins for windows media player and chose one, you click on apply skin and nothing happened! What should I do

    I got new skins for windows media player and chose one, you click on apply skin and nothing happened! What should I do? !!

    Hello

    1. where did you downloaded skin?

    I suggest to refer to this link and follow the steps on how to apply the skin to see if it helps.

    There is a link to Microsoft to download skins, you can try to download the skins from this link and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-how-Windows-Media-Player-looks-using-skins

    It will be useful.

  • Manually download the update for Windows Server 2008 and Windows Vista platform

    Where can I manually download and install Update for Windows Server 2008 and Windows Vista platform?

    I have a machine that requires this update for installation of PowerPivot for Excel 2010, but the Windows updates are usually hunted in the world by our headquarters and I can not run it manually.

    Platform for Windows Server 2008 and Windows Vista updates are only available via Windows Update (or WSUS, in your case). Contact your IT Department. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • A security update for Windows XP (KB975560) and __Security update for Windows XP (KB977914) __Keep showing as needing to install even after update. Why?

    Update for Windows XP (KB975560) security and
    Update security for Windows XP (KB977914)
    appear on install Shield yellow Auto.  I tried to update both with Express and custom methods and then restart or shut down according to the instructions. Subsequently, it says full but in no time the Exact same shield updates pop-up again as needing to be installed again. Why?

    Norton was the original installation that came on the machine, but I removed that before starting the use of Trend Micro about 3 years ago

    Applications, (Norton and McAfee) are known to not uninstall (or upgraded) themselves. If you have not already done so:

    1. download the Norton Removal Tool, save it to your desktop: ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

    2. close all open applications (that is, anything with an icon on the taskbar).

    3. double-click on the file that you saved in #1 above to run the utility. DO TAP not your keyboard until the race ends, then restart.

    4. now to reset Windows Update via the difficulty it here: http://support.microsoft.com/kb/971058

    TIP: Run the difficulty in default and aggressive mode.

    5 restart once again & test (see, for example, if Windows Update offers KB975560 and KB977914 after their installation once again, if you are prompted to do so).

    6. update of security for Windows XP (KB975560) and/or update of security for Windows XP (KB977914) listed in Add/Remove programs now?

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Update for Windows XP (KB2718704) and Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332) will be without installation

    ORIGINAL TITLE: updates XP

    Update for Windows XP (KB2718704) and Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332) will BE WITHOUT INSTALLATION

    Please answer each of the following [admittedly tedious] diagnostic questions in a numbered list type in your very next answer (no need to quote this post):

    1. What is the full name of your application or the installed antivirus security suite and when (date about) is your subscription current expires?  What (other than Defender) anti-spyware applications are installed?  What third-party firewall (if applicable)?

    2 a Norton or McAfee application ALREADY installed on the computer?

    3. do you have a free trial Norton or a test of free McAfee [CHOOSE ONE ANSWER] come preinstalled on the computer when you bought it? (No matter if you have never used or activated).

    4. open Add/Remove Programs and make sure that Show updates at the top is checked (and leave it checked); then select the name in the box sort by on the right. Now do scroll down & tell me if ALL the other updates following up-to-date are listed?

    (a) KB2676562,262, KB2686509 & KB2695962KB2659;

    (b) KB2675157, KB2653956 & KB2621440;

    (c) KB2661637, KB2598479, KB2631813 & KB2585542;

    (d) KB2633171, KB2393802 and especially KB971029

    Most will appear as Windows XP security update , followed by the number in brackets.

    If IE8 is installed, two 2 will appear as a security for Windows Internet Explorer 8 update , followed by the number in brackets.

    5. is Firefox, Chrome or any other alternative browser installed?

    6. what version of Java is installed?  TEST HERE in USING IE (only!)-online http://java.com/en/download/installed.jsp

    7. are you familiar with "Registry cleaners" (e.g., Registry Mechanic;) System Mechanic; RegCure; RegClean Pro. Advanced SystemCare. Registry Booster; McAfee QuickClean. AVG PC TuneUp. Norton Registry Cleaner; PCTools optimizer; SpeedUpMyPC; Advanced System Optimizer. TuneUp Utilities; WinMaximizer; WinSweeper; CCleaner)?

    8 have you ever had the opportunity to do a repair install or clean install of Windows XP for some reason any?

    Note: KB2463332 is a update optional, not security. Feel free to hide it.

  • I have microsoft net framework 2.0 service pack 2... and msnf 3.0 sp2... and msnf 3.5 sp1... and the microsoft compression client pack 1.0 for windows... should I all of this on my computer?

    I have microsoft net framework SP2 2.o... and sp2... msnf3.0 and msnf3.5 sp 1... and the microsoft compression client pack 1.0 for windows... should I all of this on my computer?

    See:

    What is the .NET Framework, and I need all these versions?
    http://ask-Leo.com/what_is_the_net_framework_and_do_i_need_all_these_versions.html

  • ARP expire for Windows XP, Vista and 7

    What is the exact value or ARP expire for Windows XP, Vista and 7, if the primary remote DHCP server is not available, then how long long time, it will release ARP and send DHCP broadcast again?

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows 7 forum.

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

Maybe you are looking for

  • What happened to the arrow on the rear buttons which allow to jump around in your story?

    In previous versions of Firefox, there is a small arrow attached to the previous/next buttons. By clicking on this arrow has shown a menu of the last 10 sites you've visited and allowed you to skip backward or forward, without having to press the bac

  • Re: Powers of display off every 15 min sp10-304

    Can anyone help, the screen turns off every 15 minutes, but the power option is set to never.I can t access the Windows power options where it went to power after 15 minutes Mick

  • How can I disable itunes game and restore my library

    I would like to disable itunes match and replace everything on my computer - I can't seem to find a place to do

  • Recoverable error of memory - next steps?

    Hello Over the past years, we have seen a number of alerts "Recoverable error" memory of our out-of-support PS4000. They were a few months out and now seem to happen every month or two.  I want to be proactive and replace what needs to replace. Error

  • BlackBerry classic Amazon app

    I bought my wife the direct classic of Bell Mobility. I he would lie for her, and I noticed that a newer version of Amazon apps as my Z30. I was more than Netflix or zedge (what I was looking for the most part). I tried to install the old version, bu