Folder or Namespace...

Hello, I am preparing the simple scenario file to file based on below link
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
I have to create the namespace in the SCV. what is the use of namespace. I have come across the folder concept in PI7.1 while searching on SDN forum. It have created mess in my mind. What will be the differences of using folder and namespaces or both have the same purpose. Is it the use of namespace will be outdated from PI7.1
regards
Reema

Hi,
namespaces are explained here:
http://help.sap.com/saphelp_nw04/helpdata/en/a3/cc132914cf41e4a193c32627a87542/frameset.htm
Folders are explained in this blog:
/people/william.li/blog/2007/08/07/using-folders-in-pi-71
I guess you still have namespaces but with 7.1 you can create folders inside of a namespace.
Regards
Patrick
Edited by: Patrick Koehnen on Jun 8, 2008 1:01 PM

Similar Messages

  • Content of the Namespace-property of a report deleted bei TFS

    Hello,
    We use the SAP Crystal Reports for Visual Studio 2010. We store the reports of a .NET-project in a folder named Berichte. To have folder and namespaces synchron we set the Namespace-Property of each report in this folder to Berichte.
    When another developer checkout the report from TFS 2010, he gets the report but the Namespace-Property is empty.
    I think this is a bug of the Team Foundation Server, but perhaps it is a bug of the Crystal Reports-Plugin.
    Best regards
    Peter

    The Namespace of the report will be stored in the project-file. So the developer have not only to checkout the report but the project-file too.

  • Extracting Zip files using PowerShell 3.0 on Windows 2008

    I’m using a script to extract data to multiple servers, I’ve tested it many times, however an issue has come up that has me stumped. When extracting the zip file, it wants to create a top level folder the same name as the zip file instead of just extracting
    the contents.  Here is a sample of my script. What I need it to do is just extract the contents to the location I specify, but not create a folder with the same name as the zip file itself. Hopefully that makes sense.
     ( now the code I used is from a sample I found online, it’s been edited to fit my needs.
    $Date
    = Get-Date
    #ERROR REPORTING ALL
    Set-StrictMode
    -Version latest
    #STATIC VARIABLES
    $search
    = ""
    $destSRC  
    = "D:\Destination\DestinationUpdate"
    $zips  
    = "D:\Source\ZipSource"
    #log start of script
    Write-EventLog
    -LogName OpsCenter
    -Source ZIP
    -EntryType Information
    -EventId 3001
    -Message "Start Extraction of Update files to
    $destSRC @
    $Date"
    #FUNCTION GetZipFileItems
    Function
    GetZipFileItems
    Param([string]$zip)
    $split =
    $split.Split(".")
    $destSRC
    = $destSRC
    + "\"
    + $split[0]
    If (!(Test-Path
    $destSRC))
    Write-Host "Created folder :
    $destSRC"
    $strDest
    = New-Item $destSRC
    -Type Directory
    $shell   =
    New-Object -Com
    Shell.Application
    $zipItem
    = $shell.NameSpace($zip)
    $items   =
    $zipItem.Items()
    GetZipFileItemsRecursive
    $items
    #FUNCTION GetZipFileItemsRecursive
    Function
    GetZipFileItemsRecursive
    Param([object]$items)
    ForEach($item
    In $items)
    If ($item.GetFolder
    -ne $Null)
    GetZipFileItemsRecursive
    $item.GetFolder.items()
    $strItem
    = [string]$item.Name
    If ($strItem
    -Like "*$search*")
    If ((Test-Path ($destSRC
    + "\"
    + $strItem))
    -eq $False)
    Write-Host "Copied file :
    $strItem from zip-file :
    $zipFile to destination folder"
    $shell.NameSpace($destSRC).CopyHere($item)
    Else
    Write-Host "File :
    $strItem already exists in destination folder"
    #FUNCTION GetZipFiles
    Function
    GetZipFiles
    $zipFiles
    = Get-ChildItem -Path
    $zips -Recurse
    -Filter "*.zip"
    | % {
    $_.DirectoryName
    + "\$_" }
    ForEach ($zipFile
    In $zipFiles)
    $split =
    $zipFile.Split("\")[-1]
    Write-Host "Found zip-file :
    $split"
    GetZipFileItems
    $zipFile
    #RUN SCRIPT
    GetZipFiles
    #log end of script
    Start-Sleep
    -Seconds 2
    $Date
    = Get-Date
    Write-EventLog
    -LogName OpsCenter
    -Source ZIP
    -EntryType Information
    -EventId 3001
    -Message "Extracted all ZIP Update files to
    $destSRC @
    $Date"
    Paul Arbogast

    @jrv
    I hate to hijack an old thread.
    I have been playing with this for the past hour.
    I have use this fine in an interactive console or the ISE.
    But as soon as I place this into a script, and then run the script " .\script.ps1 "; nothing happens.
    I obviously have some disconnect going on that I am not finding.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • Pin items to Windows 8 Taskbar

    Guys.
    I found this powershell function on the internet for adding items to the taskbar on Windows 7\8 The function works fine when running it against a single item
    for example
    Pin-Taskbar -Item "C:\Windows\System32\mspaint.exe" -Action Pin
    What I am trying to do is add multiple items to the taskbar in one go. As an example a user over time adds many items. I have another script that backs everything that is in C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User
    Pinned\TaskBar up to a network share. I would then like the script below to add everything in say
    \\Servername\some_share and add them to the Taskbar.
    Have been playing around with the script but not quite getting there. Can anyone help? Thanks in advance
    function Pin-Taskbar([string]$Item = "",[string]$Action = ""){
        if($Item -eq ""){
            Write-Error -Message "You need to specify an item" -ErrorAction Stop
        if($Action -eq ""){
            Write-Error -Message "You need to specify an action: Pin or Unpin" -ErrorAction Stop
        if((Get-Item -Path $Item -ErrorAction SilentlyContinue) -eq $null){
            Write-Error -Message "$Item not found" -ErrorAction Stop
        $Shell = New-Object -ComObject "Shell.Application"
        $ItemParent = Split-Path -Path $Item -Parent
        $ItemLeaf = Split-Path -Path $Item -Leaf
        $Folder = $Shell.NameSpace($ItemParent)
        $ItemObject = $Folder.ParseName($ItemLeaf)
        $Verbs = $ItemObject.Verbs()
        switch($Action){
            "Pin"   {$Verb = $Verbs | Where-Object -Property Name -EQ "Pin to Tas&kbar"}
            "Unpin" {$Verb = $Verbs | Where-Object -Property Name -EQ "Unpin from Tas&kbar"}
            default {Write-Error -Message "Invalid action, should be Pin or Unpin" -ErrorAction Stop}
        if($Verb -eq $null){
            Write-Error -Message "That action is not currently available on this item" -ErrorAction Stop
        } else {
            $Result = $Verb.DoIt()

    Hi WallaceTech,
    I‘m writing to check if the suggestions were helpful, if you
    have any questions, please feel free to let me know.
    If you have any feedback on our support,
    please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • How does EF Distinguish Regular Classes from Entity Classes?

    I'm newbie to EF, just read a couple of short articles on it the other day.  When reading them I didn't pick up on what criteria EF has for distinguishing regular classes from EF classes. Suppose for instance I wrote up a class for internal use only
    (but which happened to have the same name as one of my Sql Server tables).  Aside from reading my mind, how would EF know that I never intended this class for entity purposes?

    What are you talking about here? It's back to the namespaces.
    If you are making folders in a VS project, then that's a namespace. You crate a class in that namespace, then it should be decelerated with a namespace attribute specifying what namespace the class is in, and you woud have to use an Imports in VB or a Using
    statement in C# pointing to the namesapce where the class is located in the class that needs to use a class in another namespace. Or you don't use Import or Using and you give the full namespace path to the class in code of namespace.classname.The below DB
    first, only a part of the code in  namespace, the usage was installed into the DAL.Model namespace where I have a project called DAL and within the DAL  project I made a folder, a namespace,  named Model and pointed EF to that folder in doing
    an add of a new Item in VS. And everything about EF is in the DAL.MODEL namespace. You can have Jal2 class in the namespace and Jal2 in some other namespace. Ef could care less about Jal2 in the other not DAL.Model namespace.
    I don't care how you do it. I don't care if you are using EF DB first, Model first, Code first,  any other kind of first or you start making your own classes for data yourself, but you need to understand Namespaces in .NET, what they are for,and how
    to use them effectively in creating  .NET solutions. 
    Comon man, this is .NET 101 you should have figured out long ago.
    https://msdn.microsoft.com/en-us/library/ms973231.aspx#assenamesp_topic5
    using System;
    using System.Data.Objects;
    using System.Data.Objects.DataClasses;
    using System.Data.EntityClient;
    using System.ComponentModel;
    using System.Xml.Serialization;
    using System.Runtime.Serialization;
    [assembly: EdmSchemaAttribute()]
    #region EDM Relationship Metadata
    [assembly: EdmRelationshipAttribute("PublishingCompanyModel", "FK_Article_Author", "Author", System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(DAL.Model.Author), "Article", System.Data.Metadata.Edm.RelationshipMultiplicity.Many,
    typeof(DAL.Model.Article), true)]
    [assembly: EdmRelationshipAttribute("PublishingCompanyModel", "FK_Payroll_Author", "Author", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(DAL.Model.Author), "Payroll", System.Data.Metadata.Edm.RelationshipMultiplicity.Many,
    typeof(DAL.Model.Payroll), true)]
    #endregion
    namespace DAL.Model
        #region Contexts
        /// <summary>
        /// No Metadata Documentation available.
        /// </summary>
        public partial class PublishingCompanyEntities : ObjectContext
            #region Constructors
            /// <summary>
            /// Initializes a new PublishingCompanyEntities object using the connection string found in the 'PublishingCompanyEntities' section of the application configuration file.
            /// </summary>
            public PublishingCompanyEntities() : base("name=PublishingCompanyEntities", "PublishingCompanyEntities")
                this.ContextOptions.LazyLoadingEnabled = true;
                OnContextCreated();

  • The name "Folder" does not exist in the namespace

     I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
    I am using Visual studio 2013. As I work through the example I am getting the following error. 
    Error 1
    The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
    c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
    11 17
    FolderExplorer
    Error 2
    The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
    c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
    16 7
    FolderExplorer
    Here is the code:
    <Window x:Class="MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:my="clr-namespace:FolderExplorer"
        Title="Folder Explorer" Height="350" Width="525">
        <Window.Resources>
            <ObjectDataProvider x:Key="RootFolderDataProvider" >
                <ObjectDataProvider.ObjectInstance>
                    <my:Folder FullPath="C:\"/>
                </ObjectDataProvider.ObjectInstance>
            </ObjectDataProvider>
            <HierarchicalDataTemplate 
       DataType    = "{x:Type my:Folder}"
                ItemsSource = "{Binding Path=SubFolders}">
                <TextBlock Text="{Binding Path=Name}" />
            </HierarchicalDataTemplate>
        </Window.Resources>
    I have a class file named Folder.vb with this code. 
    Public Class Folder
        Private _folder As DirectoryInfo
        Private _subFolders As ObservableCollection(Of Folder)
        Private _files As ObservableCollection(Of FileInfo)
        Public Sub New()
            Me.FullPath = "c:\"
        End Sub 'New
        Public ReadOnly Property Name() As String
            Get
                Return Me._folder.Name
            End Get
        End Property
        Public Property FullPath() As String
            Get
                Return Me._folder.FullName
            End Get
            Set(value As String)
                If Directory.Exists(value) Then
                    Me._folder = New DirectoryInfo(value)
                Else
                    Throw New ArgumentException("must exist", "fullPath")
                End If
            End Set
        End Property
        ReadOnly Property Files() As ObservableCollection(Of FileInfo)
            Get
                If Me._files Is Nothing Then
                    Me._files = New ObservableCollection(Of FileInfo)
                    Dim fi As FileInfo() = Me._folder.GetFiles()
                    Dim i As Integer
                    For i = 0 To fi.Length - 1
                        Me._files.Add(fi(i))
                    Next i
                End If
                Return Me._files
            End Get
        End Property
        ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
            Get
                If Me._subFolders Is Nothing Then
                    Try
                        Me._subFolders = New ObservableCollection(Of Folder)
                        Dim di As DirectoryInfo() = Me._folder.GetDirectories()
                        Dim i As Integer
                        For i = 0 To di.Length - 1
                            Dim newFolder As New Folder()
                            newFolder.FullPath = di(i).FullName
                            Me._subFolders.Add(newFolder)
                        Next i
                    Catch ex As Exception
                        System.Diagnostics.Trace.WriteLine(ex.Message)
                    End Try
                End If
                Return Me._subFolders
            End Get
        End Property
    End Class
    Can someone explain what is happening. 
    Thanks Hal

    Did you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
    in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
    xmlns:my="clr-namespace:FolderExplorer"
    The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
    If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • Adding namespace server and replicating folder structure

    Not sure if this is the correct forum. @mod, please redirect if applicable.
    When adding a second or subsequent Namespace server to a DFS Root, how is the virtual folderstructure replicated when that server is added?
    The folder-targets are stored in AD under the System container. However, folders (to create a sensible hierarchy) are not stored in AD. Where do they come from when a new Namespace server is added ?
    Regards, Marcel

    To answer your first question go to the link below.
    Overview of DFS Replication:
    http://msdn.microsoft.com/en-us/library/cc771058.aspx
    As for your second question review the answer below.
    Stand-alone and domain-based DFS namespace servers store DFS-related information in the registry. All namespace servers also store a copy of the namespace structure on a local volume on the server in DFS root folders and link folders as follows.
    Does this answer your questions?
    Reference used:
    DFS Namespaces: Frequently Asked Questions
    http://technet.microsoft.com/en-us/library/ee404780(v=ws.10).aspx

  • Do all namespaces have to live in the 'DFSRoots' folder?

    Running through DFSN PS commands for the 70-411...
    My question is, do all DFS namespaces have to have their root shared folder in the 'DFSRoots' folder? Working through the 70-411 Exam Ref handbook, and entering..
    New-DfsnRoot -TargetPath \\trey-dc-02\Public `
    -Path \\TreyResearch\Public `
    -Type DomainV2 `
    -Description "Central source for Publicly visible files"
    ...would create a namespace root of 'TreyResearch\Public', pointing to the pre-created/shared folder of 'Public'.
    Now, I tried this myself - I created a shared folder on the C: drive, and pointed my namespace to this folder. 
    If I were to create the namespace using the DFS GUI, it would create the shared folder in the 'DFSRoots' folder.
    Does it hurt to have the shared folder outside of here, and what are the implications?
    Many thanks.

    Hi,
    When you create a namespace folders using the DFS GUI, the namespace folder will store in 'DFSRoots' folder by default. You can change the location under the “Edit Settings…” button. Please see the screenshot below. On the screenshot, if you do not manually
    select a folder, it will create a folder C:\DFSRoots\test as a default setting.
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Folder targets go missing - restart of namespace service fixes

    2008 R2 DFS
    We have seen this random issue across multiple clients (completely separate infrastructure) and are trying to find the root cause and, hopefully, fix the issue. The issue is random missing folder targets when we browse the namespace (domain.local\namespace).
    The fix is to restart the namespace service on the DFS server. It doesn't happen often - we've seen in twice with two different clients in the last 6 months and there isn't a 'smoking gun' in the logs so we're a little baffled as to the cause.
    Any help in figuring out this mystery would be appreciated!

    Hi,
    Above all please understand that as the issue occurs randomly and only twice in 6 months, we may not able to know if the step we tried is really helpful or not in a short time. 
    In specific situation, reparse points (links) will be deleted as Orphaned. You can change the startup type of DFS service into Automatic (Delayed Start) if it is the cause. 
    If you have any feedback on our support, please send to [email protected]

  • Mounting Samba folder on a DFS namespace

    Hey Technet,
    Is there any kind of document or an article, which can suggest me how to add a samba folder to a DFS Namespace.
    Cheers, Alan.

    Hi Alan,
    You could add a folder targer to a DFS namespace. A folder target is the Universal Naming Convention (UNC) path of a shared folder or another namespace that is associated with a folder in a namespace.
    For more detailed information, please refer to the article below:
    Add Folder Targets
    http://msdn.microsoft.com/en-us/library/cc732105.aspx
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Creating a new folder in a SharePoint library using C# Windows Application.

    I have tried to create a folder within a SharePoint document library. The coding is as follows.
    Text Box Name: txtNewFolderName
    Button Name : btnCreateNewFolder
    private void btnCreateNewFolder_Click(object sender, EventArgs e)
    //String parameters for site URL and site name
    const string siteUrl = "http://thekingsbury/";
    const string siteName = "/SiteDirectory/thekingsbury/";
    //Freeze UI
    Cursor = Cursors.WaitCursor;
    btnCreateNewFolder.Enabled = false;
    //Use SPSite constructor to assign site collection based on top-level URL
    SPSite siteCollection = new SPSite(siteUrl);
    //Assign target site (SPWeb instance) based on site name
    SPWeb site = siteCollection.AllWebs[siteName];
    //Create an instance of SPDocumentLibrary based on the named doc library list
    SPDocumentLibrary docLibrary = (SPDocumentLibrary)site.Lists["Test Library"];
    //Create instance of SPFolderCollection and add a named folder based on forms input,
    //then update library to reflect added folder
    SPFolderCollection myFolders = site.Folders;
    myFolders.Add("http://thekingsbury/Test%20Library/" + txtNewFolderName.Text + "/");
    docLibrary.Update();
    //UI clean-up
    Cursor = Cursors.Default;
    btnCreateNewFolder.Enabled = true;
    Site URL :
    http://thekingsbury/
    Site Name: thekingsbury
    Document Library  : Test Library
    My problem is when I click the button it gives an error as the following.
    The Web application at http://thekingsbury/ could not be found.
    Verify that you have typed the URL correctly.
    If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    The error shows at the following statement.
    "SPSite siteCollection = new SPSite(siteUrl);"
    I created both Windows & Web solutions and the result was the same.
    Note: I have add the reference to the SharePoint using the Microsoft.SharePoint.dll file. And used the "using Microsoft.SharePoint;" statement.
    Please can someone help me on this matter.It's a real paint to me.

    The complete solution using an InfoPath 2010 form is as the below.
    using Microsoft.Office.InfoPath;
    using System;
    using System.Xml;
    using System.Xml.XPath;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.Linq;
    namespace Create_Folder_In_SharePoint_Library
    public partial class FormCode
    public void InternalStartup()
    ((ButtonEvent)EventManager.ControlEvents["btnCreateFolder"]).Clicked += new ClickedEventHandler(btnCreateFolder_Clicked);
    public void btnCreateFolder_Clicked(object sender, ClickedEventArgs e)
    SPSite mySite = new SPSite("Http://thekingsbury/");
    SPWeb myWeb = mySite.OpenWeb();
    //Code to retreive the new library.
    XPathNavigator xLibraryName = MainDataSource.CreateNavigator();
    String NewLibraryName = xLibraryName.SelectSingleNode("/my:myFields/my:LibraryName", NamespaceManager).Value;
    //Code to retreive the library description.
    XPathNavigator xLibraryDesc = MainDataSource.CreateNavigator();
    String NewLibDesc = xLibraryDesc.SelectSingleNode("/my:myFields/my:LibraryDescription", NamespaceManager).Value;
    //Code to retreive the new folder name.
    XPathNavigator xFolderName = MainDataSource.CreateNavigator();
    String NewFolderName = xFolderName.SelectSingleNode("/my:myFields/my:FolderName", NamespaceManager).Value;
    //Creating the new library.
    myWeb.Lists.Add(NewLibraryName, NewLibDesc, SPListTemplateType.DocumentLibrary);
    myWeb.Update();
    //Creating the new folder within the new library.
    SPDocumentLibrary newDocLibrary = (SPDocumentLibrary)myWeb.Lists[NewLibraryName];
    SPFolderCollection newFolders = myWeb.Folders;
    newFolders.Add("http://thekingsbury/" + NewLibraryName + "/" + NewFolderName + "/");
    newDocLibrary.Update();
    I think everyone can use this.
     When you are generating a folder always try to avoid reserved characters  : ; # $ % ^ a and suchlike.

  • Saving to Windows Phone Documents Folder

    Greetings,
    I tried to look through the forum but could not find anything on saving to the Windows Phone Documents folder. From what I researched online on the Windows Phone 8 it was not possible to do this as Microsoft had blocked the ability to do this due to security
    reasons. But on the 8.1 release they allowed this area to be accessed by third party apps. Is this correct?
    If so how do I go abouts saving to the documents folder. Basically my app is really simple I just input a couple of words into different text boxes and that should save to a text file. How do I go abouts doing this.
    I tried doing this
    StorageFolder local = KnownFolders.DocumentsLibrary;
    However, when I run it the program stops at this spot:
    #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
                UnhandledException += (sender, e) =>
                    if
    (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
    #endif
    What am I doing wrong. Thank you in advanced!!

    I apologize for that I looked at it quickly on my phone. Ok so I managed to get it to save to a file. The problem is now is I want to be able to append to that same file. Is that possible?
    Here is what I have so far:
    using SDKTemplate;
    using System;
    using System.Collections.Generic;
    using Windows.ApplicationModel.Activation;
    using Windows.Storage;
    using Windows.Storage.Pickers;
    using Windows.Storage.Provider;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Navigation;
    namespace FilePicker
        /// <summary>
        /// Implement IFileSavePickerContinuable interface, in order that Continuation Manager can automatically
        /// trigger the method to process returned file.
        /// </summary>
        public sealed partial class Scenario4 : Page, IFileSavePickerContinuable
            MainPage rootPage = MainPage.Current;
            public Scenario4()
                this.InitializeComponent();
                SaveFileButton.Click += new RoutedEventHandler(SaveFileButton_Click);
            private void SaveFileButton_Click(object sender, RoutedEventArgs e)
                // Clear previous returned file name, if it exists, between iterations of this scenario
                OutputTextBlock.Text = "";
                FileSavePicker savePicker = new FileSavePicker();
                savePicker.SuggestedStartLocation = PickerLocationId.DocumentsLibrary;
                // Dropdown of file types the user can save the file as
                savePicker.FileTypeChoices.Add("Plain Text", new List<string>() { ".csv" });
                // Default file name if the user does not type one in or select a file to replace
                savePicker.SuggestedFileName = "New Document";
                savePicker.PickSaveFileAndContinue();
            /// <summary>
            /// Handle the returned file from file picker
            /// This method is triggered by ContinuationManager based on ActivationKind
            /// </summary>
            /// <param name="args">File save picker continuation activation argment. It cantains the file user selected with file save picker </param>
            public async void ContinueFileSavePicker(FileSavePickerContinuationEventArgs args)
                string complete = "";
                string office = "";
                string revenue = "";
                string nps = "";
                string answer;
                answer = NotesTxt.Text;
                StorageFile file = args.File;
                if (file != null)
                    // Prevent updates to the remote version of the file until we finish making changes and call CompleteUpdatesAsync.
                    CachedFileManager.DeferUpdates(file);
                    // write to file
                    await FileIO.WriteTextAsync(file, answer);
                    // Let Windows know that we're finished changing the file so the other app can update the remote version of the file.
                    // Completing updates may require Windows to ask for user input.
                    FileUpdateStatus status = await CachedFileManager.CompleteUpdatesAsync(file);
                    if (status == FileUpdateStatus.Complete)
                        OutputTextBlock.Text = "File " + file.Name + " was saved.";
                    else
                        OutputTextBlock.Text = "File " + file.Name + " couldn't be saved.";
                else
                    OutputTextBlock.Text = "Operation cancelled.";
            private void SaveFileButton_Click_1(object sender, RoutedEventArgs e)

  • Drive Map to DFS Folder Getting Lost

    We had a problem yesterday morning with every user (about a dozen) in one of our small branch offices being unable to access a certain network share.
    Their T: drive, which is the one they had a problem with, is mapped to this:
    \\domain.com\namespace\OfficeShare1
    which is a DFS folder that simply points to:
    \\2012FileServer\OfficeShare1
    That is a Server 2012 R2 server.
    This share is only a few weeks old, and has been working fine for them until today. We have other offices that have their own shares on the same server, and mapped to a DFS folder the same way, and those have been working OK (as far as I know).
    The PCs are all running Windows 7.
    Their S: drive is mapped to
    \\2003FileServer\CompanyShare
    which is a MS Server 2003 server. They had no problems with accessing this, ever.
    Going to Computer > Map network drive, I could see the label for \OfficeShare1 was still attached to T:, but the path was empty. The T: drive appeared in the Computer window, but was showing as disconnected, and double-clicking it would throw an error about
    the path being unavailable.
    Typing \\domain.com\namespace\OfficeShare1 in the address bar would cause the Computer window to hang before erroring-out. Thus, re-creating the drive map would not work.
    After trying that, a user could go to \\domain.com\namespace and that would work fine. From there, they could go to the \OfficeShare1 folder without any errors.
    If they then went back into Computer, their T: drive would again be working, without having to re-create the mapping.
    Also, even though users couldn't browse directly to \\domain.com\namespace\OfficeShare1,without first browsing \\domain.com\namespace, they could browse directly to \\2012FileServer\OfficeShare1.
    I've seen a few other users outside the aforementioned office who had the issue, but this is the first opportunity I've had to get more information on it before the client PC was rebooted. Some of those users who have had this issue, also have an X: drive,
    which is mapped to:
    \\domain.com\namespace\DeptShare1
    But this is a CIFS share. And like the share on the 2003 server, no user has experienced the issue with this share.
    It has only happened with the shares on the Server 2012 system. And it has been kinda rare (currently less than 75 users who could potentially experience it).
    All drives are mapped via Group Policy. Users do have a script they can run to re-create drive maps.
    It's probably some connectivity issue that causes the drive to get disconnected (wifi signal drops, VPN gets disconnected, etc). But I'm not sure why the problem persists after connectivity is restored, why the path disappears from the mapping, and why only
    with this one drive. The servers hosting those shares are all in the same subnet, same data center.
    I'm about to migrate about a share accessed by 500 users to this 2012 system, and I can't until I get this figured out. My hunch is that something in the Windows 7 client PC is getting... lost. It's only happening to drives that map to DFS folders in that namespace
    that point to shares on that 2012 server (no one has a drive that maps directly to the shares on that server). The share itself doesn't appear  to actually go offline or anything like that. And this morning is the first time I've seen it happen to multiple
    people at once.
    Weird.
    Any help is appreciated.
    Thanks!

    Hi,
    Is there any error message in the Event Log? Do you add more than one namespace server in the DFS namespace? Since the server hangs when you access the DFS link, you could refer to the article below to establish connectivity with the target computer and shared
    folder.
    Troubleshooting Dfs Problems
    http://technet.microsoft.com/en-us/library/cc962144.aspx
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • IMAP sent folder specification.

    Below is an email from my web hosting support which pretty much tells me I should not be using mail with their service, as it is too limited. Its hard to believe with the release of a new OS and improvements in mail, that apple have not produced a program that has limited featuers compared to other software available.
    The basic problem is that all folders on my server are subfolders of the inbox ie: inbox/sent and mail does not let you specify a folder for your sent mail. The result is that with the save mail on server setting my sent emails are not being saved.
    Any suggestions?
    From web hosting support:
    Our developers have investigated this and the mail server seems to be working fine.
    Our mail system stores all folders as subfolders of INBOX.
    From the look of it, Apple mail doesn't give you the ability to specify the name of the folder that you want to store sent messages in, and defaults to a folder at the same level as INBOX. So in short, the server either has to do it Apple's way or not at all.
    A decent mail client like thunderbird (at least on PC and Linux) will allow you to specify the IMAP folder to store sent messages in. Looks like it's Apple Mail just being limiting, so unfortunately there's nothing we can really do to help I'm afraid.

    There does seem to be a great deal of validity to the suggestion that Mail treats IMAP servers differently, as opposed to say Thunderbird.
    The relevant technical info pertains to http://www.rfc-editor.org/rfc/rfc2342.txt
    Specifically: It would appear that some IMAP servers (e.g. Dovecot) implement the namespace as inbox.Sent instead of inbox/Sent and Mail is hard coded to assume / NOT . as a separator.
    I confirmed that I can telnet to the server in question and browse the folders manually when I enter them with periods as separators, and likewise that another client (Thunderbird for OS X) can too.
    If none of the above methods worked, I'd try to contact the server administrator (at my ISP) to correct things on their end, or someone who can take a bug report for Dovecot.
    But that isn't my issue, and from the sound of it may not be the other poster's issue either.
    Back in the day there used to be an officially sanctioned way to submit bugs for NeXT ([email protected] or some such).
    I have no idea if this is supposed to be addressed in other versions (Leopard for example), but from where I stand it looks like Apple Mail won't play nice with Dovecot, while both other methods work.

  • Oracle XE 11g x64 does not run. No *DBF files inside of the XE folder. Windows 7 Pro x64.

    Hello everyone!
    I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
    1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
    2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
    3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
    4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
    5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
    6. I opened the cloneDBCreation.log and it contains these data:
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> exec dbms_backup_restore.zerodbid(0);
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SQL> shutdown immediate;
    ORA-12560: TNS:protocol adapter error
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
    ORA-12560: TNS:protocol adapter error
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> alter system enable restricted session;
    SP2-0640: Not connected
    SQL> alter database "XE" open resetlogs;
    SP2-0640: Not connected
    SQL> alter database rename global_name to "XE";
    SP2-0640: Not connected
    SQL> alter system switch logfile;
    SP2-0640: Not connected
    SQL> alter system checkpoint;
    SP2-0640: Not connected
    SQL> alter database drop logfile group 3;
    SP2-0640: Not connected
    SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
    SP2-0640: Not connected
    SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
    SP2-0640: Not connected
    SQL> select sid, program, serial#, username from v$session;
    SP2-0640: Not connected
    SQL> alter user sys identified by "&&sysPassword";
    SP2-0640: Not connected
    SQL> alter user system identified by "&&systemPassword";
    SP2-0640: Not connected
    SQL> alter system disable restricted session;
    SP2-0640: Not connected
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> set echo on
    SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
    I spent around 2 days to come to this reason and now I do not know what to do next.
    My actions to resolve this problem:
    1. Checked if my user has administrative rights and belongs to ora_dba. It does!
    2. Turned Microsoft UAC off.
    3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
         - ORACLE_BASE -> C:\oraclexe
         - ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
         - ORACLE_SID -> XE
         - Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
         - TNS_ADMIN -> %ORACLE_HOME%\network\admin
    4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
    Some more errors:
    1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
    It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
    2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
    Some other information relevant to the issue:
    1)  echo %USERNAME% - Administrator
         echo %USERDOMAIN% - ildar-PC
    2) Listener.log:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    3) Tnsnames.log
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    4) Sqlnet.log:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    5) While connecting by sqlplus, I get this errors/messages:
    6) Confirmation that I've got admin rights and I am in ORA_DBA:
    If u need some more information from me, please let me know!!
    Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
    Kind regards,
    ildar

    I have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
    This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
    Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..

Maybe you are looking for