Error_1_Inconsistent accessibility: property type 'System.Collections.ObjectModel.ObservableCollection WindowsBlogReader.FeedData ' is less accessible than property 'WindowsBlogReader.FeedDataSource.Feeds'

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Web.Syndication;
namespace WindowsBlogReader
   public class FeedData
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime PubDate { get; set; }
        private List<FeedItem> _Items = new List<FeedItem>();
        public List<FeedItem> Items
            get
                return this._Items;
    // FeedItem
    // Holds info for a single blog post.
    public class FeedItem
        public string Title { get; set; }
        public string Author { get; set; }
        public string Content { get; set; }
        public DateTime PubDate { get; set; }
        public Uri Link { get; set; }
    // FeedDataSource
    // Holds a collection of blog feeds (FeedData), and contains methods needed to
    // retreive the feeds.
    public class FeedDataSource
        private ObservableCollection<FeedData> _Feeds = new ObservableCollection<FeedData>();
        public ObservableCollection<FeedData> Feeds         //Error Here//
            get
                return this._Feeds;
        public async Task GetFeedsAsync()
            Task<FeedData> feed1 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/developers/atom.aspx");
            Task<FeedData> feed2 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/windowsexperience/atom.aspx");
            Task<FeedData> feed3 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/extremewindows/atom.aspx");
            Task<FeedData> feed4 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/business/atom.aspx");
            Task<FeedData> feed5 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/bloggingwindows/atom.aspx");
            Task<FeedData> feed6 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/windowssecurity/atom.aspx");
            Task<FeedData> feed7 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/springboard/atom.aspx");
            Task<FeedData> feed8 =
                GetFeedAsync("http://windowsteamblog.com/windows/b/windowshomeserver/atom.aspx");
            // There is no Atom feed for this blog, so use the RSS feed.
            Task<FeedData> feed9 =
                GetFeedAsync("http://windowsteamblog.com/windows_live/b/windowslive/rss.aspx");
            Task<FeedData> feed10 =
                GetFeedAsync("http://windowsteamblog.com/windows_live/b/developer/atom.aspx");
            Task<FeedData> feed11 =
                GetFeedAsync("http://windowsteamblog.com/ie/b/ie/atom.aspx");
            Task<FeedData> feed12 =
                GetFeedAsync("http://windowsteamblog.com/windows_phone/b/wpdev/atom.aspx");
            Task<FeedData> feed13 =
                GetFeedAsync("http://windowsteamblog.com/windows_phone/b/wmdev/atom.aspx");
            Task<FeedData> feed14 =
                GetFeedAsync("http://windowsteamblog.com/windows_phone/b/windowsphone/atom.aspx");
            this.Feeds.Add(await feed1);
            this.Feeds.Add(await feed2);
            this.Feeds.Add(await feed3);
            this.Feeds.Add(await feed4);
            this.Feeds.Add(await feed5);
            this.Feeds.Add(await feed6);
            this.Feeds.Add(await feed7);
            this.Feeds.Add(await feed8);
            this.Feeds.Add(await feed9);
            this.Feeds.Add(await feed10);
            this.Feeds.Add(await feed11);
            this.Feeds.Add(await feed12);
            this.Feeds.Add(await feed13);
            this.Feeds.Add(await feed14);
        private async Task<FeedData> GetFeedAsync(string feedUriString)
            Windows.Web.Syndication.SyndicationClient client = new SyndicationClient();
            Uri feedUri = new Uri(feedUriString);
            try
                SyndicationFeed feed = await client.RetrieveFeedAsync(feedUri);
                // This code is executed after RetrieveFeedAsync returns the SyndicationFeed.
                // Process the feed and copy the data you want into the FeedData and FeedItem classes.
                FeedData feedData = new FeedData();
                if (feed.Title != null && feed.Title.Text != null)
                    feedData.Title = feed.Title.Text;
                if (feed.Subtitle != null && feed.Subtitle.Text != null)
                    feedData.Description = feed.Subtitle.Text;
                if (feed.Items != null && feed.Items.Count > 0)
                    // Use the date of the latest post as the last updated date.
                    feedData.PubDate = feed.Items[0].PublishedDate.DateTime;
                    foreach (SyndicationItem item in feed.Items)
                        FeedItem feedItem = new FeedItem();
                        if (item.Title != null && item.Title.Text != null)
                            feedItem.Title = item.Title.Text;
                        if (item.PublishedDate != null)
                            feedItem.PubDate = item.PublishedDate.DateTime;
                        if (item.Authors != null && item.Authors.Count > 0)
                            feedItem.Author = item.Authors[0].Name.ToString();
                        // Handle the differences between RSS and Atom feeds.
                        if (feed.SourceFormat == SyndicationFormat.Atom10)
                            if (item.Content != null && item.Content.Text != null)
                                feedItem.Content = item.Content.Text;
                            if (item.Id != null)
                                feedItem.Link = new Uri("http://windowsteamblog.com" + item.Id);
                        else if (feed.SourceFormat == SyndicationFormat.Rss20)
                            if (item.Summary != null && item.Summary.Text != null)
                                feedItem.Content = item.Summary.Text;
                            if (item.Links != null && item.Links.Count > 0)
                                feedItem.Link = item.Links[0].Uri;
                        feedData.Items.Add(feedItem);
                return feedData;
            catch (Exception)
                return null;
        // Returns the feed that has the specified title.
        public static FeedData GetFeed(string title)             //ERROR HERE
            // Simple linear search is acceptable for small data sets
            var _feedDataSource = App.Current.Resources["feedDataSource"] as FeedDataSource;
            var matches = _feedDataSource.Feeds.Where((feed) => feed.Title.Equals(title));
            if (matches.Count() == 1) return matches.First();
            FeedData feeddata = null;
            return feeddata;
        // Returns the post that has the specified title.
        public static FeedItem GetItem(string uniqueId)
            // Simple linear search is acceptable for small data sets
            var _feedDataSource = App.Current.Resources["feedDataSource"] as FeedDataSource;
            var _feeds = _feedDataSource.Feeds;
            var matches = _feedDataSource.Feeds.SelectMany(group => group.Items).Where((item) => item.Title.Equals(uniqueId));
            if (matches.Count() == 1) return matches.First();
            return null;
}

The feed links given in the msdn site are already broken because now the official site for windows blogs is "blogs.windows.com" & not "windowsteamblogs.com". I am posting the updated code here :-
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Windows.Web.Syndication;
namespace WindowsBlogReader
// FeedData
// Holds info for a single blog feed, including a list of blog posts (FeedItem).
public class FeedData
public string Title { get; set; }
public string Description { get; set; }
public DateTime PubDate { get; set; }
private List<FeedItem> _Items = new List<FeedItem>();
public List<FeedItem> Items
get
return this._Items;
// FeedItem
// Holds info for a single blog post.
public class FeedItem
public string Title { get; set; }
public string Author { get; set; }
public string Content { get; set; }
public DateTime PubDate { get; set; }
public Uri Link { get; set; }
// FeedDataSource
// Holds a collection of blog feeds (FeedData), and contains methods needed to
// retreive the feeds.
public class FeedDataSource
private ObservableCollection<FeedData> _Feeds = new ObservableCollection<FeedData>();
public ObservableCollection<FeedData> Feeds
get
return this._Feeds;
public async Task GetFeedsAsync()
#region WindowsTeamBlogs Feed Links
//Task<FeedData> feed1 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/developers/atom.aspx");
//Task<FeedData> feed2 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/windowsexperience/atom.aspx");
//Task<FeedData> feed3 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/extremewindows/atom.aspx");
//Task<FeedData> feed4 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/business/atom.aspx");
//Task<FeedData> feed5 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/bloggingwindows/atom.aspx");
//Task<FeedData> feed6 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/windowssecurity/atom.aspx");
//Task<FeedData> feed7 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/springboard/atom.aspx");
//Task<FeedData> feed8 =
// GetFeedAsync("http://windowsteamblog.com/windows/b/windowshomeserver/atom.aspx");
//// There is no Atom feed for this blog, so use the RSS feed.
//Task<FeedData> feed9 =
// GetFeedAsync("http://windowsteamblog.com/windows_live/b/windowslive/rss.aspx");
//Task<FeedData> feed10 =
// GetFeedAsync("http://windowsteamblog.com/windows_live/b/developer/atom.aspx");
//Task<FeedData> feed11 =
// GetFeedAsync("http://windowsteamblog.com/ie/b/ie/atom.aspx");
//Task<FeedData> feed12 =
// GetFeedAsync("http://windowsteamblog.com/windows_phone/b/wpdev/atom.aspx");
//Task<FeedData> feed13 =
// GetFeedAsync("http://windowsteamblog.com/windows_phone/b/wmdev/atom.aspx");
//Task<FeedData> feed14 =
// GetFeedAsync("http://windowsteamblog.com/windows_phone/b/windowsphone/atom.aspx");
#endregion
#region Windows Blogs Broken Links
//Task<FeedData> feed1 =
// GetFeedAsync("http://blogs.windows.com/skydrive/b/skydrive/atom.aspx");
//Task<FeedData> feed2 =
// GetFeedAsync("http://blogs.windows.com/windows/b/windowsexperience/atom.aspx");
//Task<FeedData> feed3 =
// GetFeedAsync("http://blogs.windows.com/windows/b/extremewindows/atom.aspx");
//Task<FeedData> feed4 =
// GetFeedAsync("http://blogs.windows.com/windows/b/business/atom.aspx");
//Task<FeedData> feed5 =
// GetFeedAsync("http://blogs.windows.com/windows/b/bloggingwindows/atom.aspx");
//Task<FeedData> feed6 =
// GetFeedAsync("http://blogs.windows.com/windows/b/windowssecurity/atom.aspx");
//Task<FeedData> feed7 =
// GetFeedAsync("http://blogs.windows.com/windows/b/springboard/atom.aspx");
//Task<FeedData> feed8 =
// GetFeedAsync("http://blogs.windows.com/windows/b/windowshomeserver/atom.aspx");
//// There is no Atom feed for this blog, so use the RSS feed.
//Task<FeedData> feed9 =
// GetFeedAsync("http://blogs.windows.com/windows_live/b/windowslive/rss.aspx");
//Task<FeedData> feed10 =
// GetFeedAsync("http://blogs.windows.com/windows_live/b/developer/atom.aspx");
//Task<FeedData> feed11 =
// GetFeedAsync("http://blogs.windows.com/ie/b/ie/atom.aspx");
//Task<FeedData> feed12 =
// GetFeedAsync("http://blogs.windows.com/windows_phone/b/wpdev/atom.aspx");
//Task<FeedData> feed13 =
// GetFeedAsync("http://blogs.windows.com/windows_phone/b/wmdev/atom.aspx");
//Task<FeedData> feed14 =
// GetFeedAsync("http://blogs.windows.com/windows_phone/b/windowsphone/atom.aspx");
#endregion
#region Windows Blogs Feeds
Task<FeedData> feed1 =
GetFeedAsync("http://blogs.windows.com/windows/b/bloggingwindows/rss.aspx");
Task<FeedData> feed2 =
GetFeedAsync("http://blogs.windows.com/windows/b/windowsexperience/rss.aspx");
Task<FeedData> feed3 =
GetFeedAsync("http://blogs.windows.com/windows/b/extremewindows/rss.aspx");
Task<FeedData> feed4 =
GetFeedAsync("http://blogs.windows.com/windows/b/business/rss.aspx");
Task<FeedData> feed5 =
GetFeedAsync("http://blogs.windows.com/windows/b/windowssecurity/rss.aspx");
Task<FeedData> feed6 =
GetFeedAsync("http://blogs.windows.com/windows/b/springboard/rss.aspx");
Task<FeedData> feed7 =
GetFeedAsync("http://blogs.windows.com/windows/b/windowshomeserver/rss.aspx");
Task<FeedData> feed8 =
GetFeedAsync("http://blogs.windows.com/windows_live/b/windowslive/rss.aspx");
Task<FeedData> feed9 =
GetFeedAsync("http://blogs.windows.com/windows_live/b/developer/rss.aspx");
Task<FeedData> feed10 =
GetFeedAsync("http://blogs.windows.com/ie/b/ie/rss.aspx");
Task<FeedData> feed11 =
GetFeedAsync("http://blogs.windows.com/skydrive/b/skydrive/rss.aspx");
Task<FeedData> feed12 =
GetFeedAsync("http://blogs.windows.com/windows_phone/b/windowsphone/rss.aspx");
Task<FeedData> feed13 =
GetFeedAsync("http://blogs.windows.com/windows_phone/b/wpdev/rss.aspx");
Task<FeedData> feed14 =
GetFeedAsync("http://blogs.windows.com/windows_phone/b/wmdev/rss.aspx");
#endregion
#region Downloading the Feeds
this.Feeds.Add(await feed1);
this.Feeds.Add(await feed2);
this.Feeds.Add(await feed3);
this.Feeds.Add(await feed4);
this.Feeds.Add(await feed5);
this.Feeds.Add(await feed6);
this.Feeds.Add(await feed7);
this.Feeds.Add(await feed8);
this.Feeds.Add(await feed9);
this.Feeds.Add(await feed10);
this.Feeds.Add(await feed11);
this.Feeds.Add(await feed12);
this.Feeds.Add(await feed13);
this.Feeds.Add(await feed14);
#endregion
private async Task<FeedData> GetFeedAsync(string feedUriString)
Windows.Web.Syndication.SyndicationClient client = new SyndicationClient();
Uri feedUri = new Uri(feedUriString);
try
SyndicationFeed feed = await client.RetrieveFeedAsync(feedUri);
// This code is executed after RetrieveFeedAsync returns the SyndicationFeed.
// Process the feed and copy the data you want into the FeedData and FeedItem classes.
FeedData feedData = new FeedData();
if (feed.Title != null && feed.Title.Text != null)
feedData.Title = feed.Title.Text;
if (feed.Subtitle != null && feed.Subtitle.Text != null)
feedData.Description = feed.Subtitle.Text;
if (feed.Items != null && feed.Items.Count > 0)
// Use the date of the latest post as the last updated date.
feedData.PubDate = feed.Items[0].PublishedDate.DateTime;
foreach (SyndicationItem item in feed.Items)
FeedItem feedItem = new FeedItem();
if (item.Title != null && item.Title.Text != null)
feedItem.Title = item.Title.Text;
if (item.PublishedDate != null)
feedItem.PubDate = item.PublishedDate.DateTime;
if (item.Authors != null && item.Authors.Count > 0)
feedItem.Author = item.Authors[0].Name.ToString();
// Handle the differences between RSS and Atom feeds.
if (feed.SourceFormat == SyndicationFormat.Atom10)
if (item.Content != null && item.Content.Text != null)
feedItem.Content = item.Content.Text;
if (item.Id != null)
feedItem.Link = new Uri("http://windowsteamblog.com" + item.Id);
else if (feed.SourceFormat == SyndicationFormat.Rss20)
if (item.Summary != null && item.Summary.Text != null)
feedItem.Content = item.Summary.Text;
if (item.Links != null && item.Links.Count > 0)
feedItem.Link = item.Links[0].Uri;
feedData.Items.Add(feedItem);
return feedData;
catch (Exception)
return null;
// Returns the feed that has the specified title.
public static FeedData GetFeed(string title)
// Simple linear search is acceptable for small data sets
var _feedDataSource = App.Current.Resources["feedDataSource"] as FeedDataSource;
//var matches = _feedDataSource.Feeds.Where((feed) => feed.Title.Equals(title));
var matches = _feedDataSource.Feeds.Where((feed) => feed != null && feed.Title.Equals(title));
if (matches.Count() == 1) return matches.First();
return null;
// Returns the post that has the specified title.
public static FeedItem GetItem(string uniqueId)
// Simple linear search is acceptable for small data sets
var _feedDataSource = App.Current.Resources["feedDataSource"] as FeedDataSource;
var _feeds = _feedDataSource.Feeds;
//var matches = _feedDataSource.Feeds.SelectMany(group => group.Items).Where((item) => item.Title.Equals(uniqueId));
var matches = _feedDataSource.Feeds.SelectMany(group => group.Items).Where((item) => item != null && item.Title.Equals(uniqueId));
if (matches.Count() == 1) return matches.First();
return null;
U will notice that there are 3 sets of list available here.
The first set of links contain the old broken links from  "windowsteamblogs.com",
the second set of links contain the links from  "blogs.windows.com" which are now also broken,
the last set of links contain the links from  "blogs.windows.com" some of which are also broken.
So if u run the program using those links u will get a "nullpointerexception" error.
To solve this problem i updated a line of code in the "GetFeed" method from :- 
var matches = _feedDataSource.Feeds.Where((feed) => feed.Title.Equals(title));
to :- 
var matches = _feedDataSource.Feeds.Where((feed) => feed != null && feed.Title.Equals(title));
This line of code will ignore those empty(null) feeds.
For safety sake i also updated the code in the "GetItem" method, and this "FeedDataSource" class will compile without any error, but he program will crash in split.xaml without giving any proper
error message.
Here are some of the links where people have faced similar problems :- 
Runtime
Error
Parsing
null feeds
Problem
in Page Navigation

Similar Messages

  • Reference to "System.Collection.Generic.List"

    Encountered a problem when making a .NET method call:
    MT8855.StatusCode SetBluetoothProfile(
    MT8855.BluetoothProfileConfiguration newProfileConfiguration,
    ref List<MT8855.InvalidSettingInfo> invalidList
    Parameters
    newProfileConfiguration
    Type: Anritsu.MMD.MT8855x.TestSet.MT8855.BluetoothProfileConfiguration
    The structure containing the new settings.
    invalidList
    Type: System.Collections.Generic.List (Of <MT8855.InvalidSettingInfo>)
    A list to hold information about any settings that are invalid.
    Return Value
    Status code indicating the success or otherwise of the call.
    What should I do in TestStand to pass the reference of the list? 

    Hi,
    Just also visit this thread
    http://forums.ni.com/t5/NI-TestStand/How-to-iterat​e-though-a-net-dictionary/td-p/1232557
    Regards
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Systems.Collections.Generic.List T Requires 1 Type of Argument?

    I am having troubles with my code. I am trying to start a list entitles "studentList" and it is supposed to allow the user to enter in a list of student names and their ages. 
    Below is my code and this is a windows Forms:
    <code>
    List<Student> studentList = new List();
            private void btnAddStudent_Click(object sender, EventArgs e)
            private void btnShowStudents_Click(object sender, EventArgs e)
                List<Student> sortedList = studentList.OrderBy(o => o.LastName).
                                                  ThenBy(o => o.FirstName).ToList();
                String outputStr = "";
                foreach (Student s in sortedList)
                    if (outputStr != "")
                        outputStr += "\n--------------\n";
                    outputStr += s.ToString();
                if (outputStr == "")
                    outputStr = "No Student Records Yet!";
                MessageBox.Show(outputStr);
    </code>
    I have other code as well but this is the problem area. I am getting a Systems.Collections.Generic.List<T> Requires 1 Type of Argument error on this line of code: List<Student> studentList = new List(); and I cannot figure out why.
    If I change it to List<string>studentList = new List<string>(); I get an error later on in the code.
    I'm sorry if this is confusing but this is a really complex assignment that I've been working on for hours and I'm completely frustrated because I'm so close to finishing.
    Any help would be appreciated!
    Thanks :)

    I am having troubles with my code.
    If you post this to a C# and not to a VB forum, you'll have the chance all your troubles are gone. :)
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral
    Armin

  • Bad index type for collection access ???

    Hi there,
    I am writing a script in VBA to connect to SAP.
    I encountered something strange.
    Why does this work:
    Set oSession = oConnection.Children(0)
    But this isn't:
    X = 0
    Set oSession = oConnection.Children(X)
    It results in an error: "Bad index type for collection access"
    Regards, Bas Prins

    Thanks,
    Although that is not proper VBA syntax I understand your suggestion.
    In VBA that would be:
    DIM X AS INTEGER
    X = 0
    Set oSession = oConnection.Children(X)
    But I tried several datatypes, all resulted in error.
    Regards, Bas.

  • Cannot implicitly convert type 'Microsoft.SharePoint.SPListItemCollection' to 'System.Collections.Generic.List T '_

    Hi
    I want use SPListItemCollection' to 'System.Collections.Generic.List<T>'.
    How to achieve this.
    Thanks,
    Siva.

    Hi Siva,
    This is how I code it for looping all SPListItem in the SPListItemCollection using Generic List<T>
    public IEnumerable GetEnumerator()
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    var list = web.Lists["Friends"];
    var query = new SPQuery();
    query.Query = "<FieldRef Name='ID'/>";
    IEnumerable items = list.GetItems(query);
    return items;
    Then calling the method would be
    var items = GetEnumerator();
    foreach(SPListItem item in items)
    Response.Write(item["FirstName"]);
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • 1067: Implicit coercion of a value of type void to an unrelated type mx.collections:ArrayCollection.

    Here is what I have going on.
    When a button in my app is clicked it will instantiate a new object called ButtonCommand, within that object I create a new instance of a ListVO called vo.  I then reference my model object that also has a separate instance of the same Value Object ListVO class, reference its properties and place it into the corresponding property of the new VO object. Here is the code.
    var vo:ListVO = new ListVO();
    vo.name = model.list.name;
    vo.id = model.list.id;
    vo.amount = model.list.amount;
    vo.category = model.list.category;
    Within that same ButtonCommand class, next line I am trying to add the new ListVO instance to an arrayCollection that is also referenced from my model object, so here is the code for that.
    model.listCollection = model.listCollection.addItem(vo);
    I get the following error : -1067: Implicit coercion of a value of type void to an unrelated type mx.collections:ArrayCollection.
    And here is my getter/setter for the model.listCollection.
    public function get listCollection ():ArrayCollection
          return _listCollection;
    public function set listCollection(value:ArrayCollection):void
          _listCollection = value;
    Any Ideas?

    I thought model.listCollection is an ArrayCollection?
    model.listCollection is an ArrayCollection as shown in the example model code a few posts back.
    public class Model extends Actor
         //- PROPERTIES - //
         //-- other properties are here
         private var _listCollection:ArrayCollection = new ArrayCollection();
         public function Model()
         super();
         //other getter and setters here
         public function get listCollection ():ArrayCollection
         return _listCollection;
         public function set listCollection(value:ArrayCollection):void
         _listCollection = value;
    I am finding this to be very odd, seems like a simple getter setter situation, but I feel I must be missing something. The code trace(model.listCollection); should trace out as an ArrayCollection and not the VO object I am trying to add to it. Also when i run the code model.listCollection.addItem(vo); it should add the vo to the array collection through my setter, but yet it seems to try to access my getter.
    I took Kglads advice and traced out  _listCollection within my getter before my return statement and it returns [object ListVO]..... confused for sure. I am going to change the _listCollection property in the model from private with a getter/setter to a public and see what happens.

  • How to exclude specific PCs or Organization Unit from discovery and All system collection?

    We want to exclude some PCs from discovery and All System collection.
    1. We want to exclude with out modfing query of All System collection and without modifiing registry.
    2. We want to exclude with Organization unit container.
    We have also tested Include and exclude option which is avaible in system discovery (Discovery method)  but it is not working as per expected.
    Please help us.

    Jason messaged me offline and said that the method of denying read access does not always work. I was thinking that I had done that back in 2003 but have not tested it in the past 10 years or so. It would be easy to test though if you want to give it a try.
    Just browse to the OU on ADUC, right click, properties, security tab. Click Add, change the object type to computers, enter the same of the server that performs discovery, click ok, click deny on all boxes and click OK.
    Actually I just did it to write the instructions above. When I see in my adsysdis.log clearly indicates to me that, in my environment, this works.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • How to exclude stock of a particular storage type from collective availabil

    How to exclude stock of a particular storage type from collective availability check in MDVP.

    you can set the storage location as 'Storage location stock excluded from MRP' value '1' in the field
    Sloc MRP indicator , in MRP view $ when you enter a storage location accessing the material master.
    Thsi is the only way to exclude the storage location, you have to do it per each material and also it is excluded from the MRP.
    With this option the stock is not considered in ATP.
    IF you need the storage location in the MRP, then you should consider the use of MRP Areas.
    With the MRP Areas you define which plants/storage locations belong to each MRP area and the ATP is performed for eah area with the stocks that exist in each of them.
    Please if the issue is solved set the thread  as answered and provide the points to the useful replies.
    thanks for your cooperation

  • How to change lookup code  with Access Level as 'System'

    Hi,
    I need to append new lookup codes in a lookup type having access level as 'SYSTEM'. Is there any standard way to do the same or just updating the customization level column will do ? Please let me know if you have any solution for this.
    Regards
    Girish

    You can also change the meaning on that value to something like "*** DO NOT USE***". This will make it obvious to the user that he/she should not choose it.
    You can try to add a when-validate-record personalization to show error if someone selected a disabled value.
    You can also try to modify the list of values associated with the field using personalizations.
    If nothing else works, you can use a SQL to uncheck the enabled flag. The risks involved in this are well known.
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • C# compiling error: 'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)

    Hello experts,
    I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
            string tempFileName = fileName;
            int count = 1;
            while (allFiles.Contains(tempFileName ))
                tempFileName = String.Format("{0} ({1})", fileName, count++); 
            output = Path.Combine(folderPath, tempFileName );
            string fullPath=output + ".xml";
    However, it gives the following compilation errors
    for the Select and Contain methods respectively.:
    'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
    (are you missing a using directive or an assembly reference?)
    'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
    found (are you missing a using directive or an assembly reference?)
    I googled on these errors, and people suggested to add using System.Linq;
    I did, but the errors persist. 
    Any help and information is greatly appreciated.
    P. S. Here are the using clauses I have:
    using System;
    using System.Data;
    using System.Windows.Forms;
    using System.IO;
    using System.Collections.Generic;
    using System.Text;
    using System.Linq;

    Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    namespace consAppFileManipulation
    class Program
    static void Main(string[] args)
    string fullPath = @"c:\temp\trace.log";
    string folderPath = @"c:\temp\";
    string fileName = "trace.log";
    string output = "";
    string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
    string extension = Path.GetExtension(fullPath);
    string path = Path.GetDirectoryName(fullPath);
    string newFullPath = fullPath;
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
    string tempFileName = fileName;
    int count = 1;
    //THIS IS AN INFINITE LOOP
    while (allFiles.Contains(fileNameOnly))
    tempFileName = String.Format("{0} ({1})", fileName, count++);
    //THIS CODE IS NEVER REACHED
    output = Path.Combine(folderPath, tempFileName);
    fullPath = output + ".xml";
    //string fullPath = output + ".xml";
    UML, then code

  • Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed

    SharePoint 2010 -
    I have created a console utility that further calls the stsadm.exe to Export sites from one site collection in a DB to another site collection in another DB of the same web application.
    Export works fine. But during Import, I get the following errors
    [ListItem] [Admin] Progress: Importing
    [ListItem] [Admin]   Verbose: List URL: /pwa1/GTR/7 GTR  Programme
    [ListItem] [Hol plans.xls] Progress: Importing
    [ListItem] [Hol plans.xls]   Verbose: List URL: /pwa1/GTR/7 GTR  Programme
    [ListItem] [Time.doc] Progress: Importing
    [ListItem] [Time.doc]   Verbose: List URL: /pwa1/GTR/7 GTR  Programme
    [ListItem] [AP Docs] Progress: Importing
    [ListItem] [AP Docs]   Verbose: List URL: /pwa1/GTR/7 GTR  Programme
    [ListItem] [Update - June 27th.pdf] Progress: Importing
    [ListItem] [Update - June 27th.pdf]   Verbose: List URL: /pwa1/GTR/7 GTR  Programme
    [ListItem] [Update - June 27th.pdf]   Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    [ListItem] [Update - June 27th.pdf]   Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    [ListItem] [Update - June 27th.pdf]   Error: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    FatalError: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    Progress: Import did not complete.
    1. Does the console application treated as a Sandbox Solution?
    2. Do I need to configure CAS policy in wss_usercode.config? and what?
    3. What else could be configured to make this work?
    I have tried adding the following in wss_custom_minimaltrust.config but no avail.
    <SecurityClass Name="SqlClientPermission" Description="System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>           
    and
    <PermissionSet
                        class="NamedPermissionSet"
                        version="1"
                        Name="SPRestricted">
    <IPermission
                          class="SqlClientPermission"
                          version="1"
                          Unrestricted="true"
                                />   
    <!-- Other IPermission -->
    </PermissionSet>
    UPDATE: It has been observed that the issue is intermittent. That is, sometimes the import works fine (event without any configuration of SqlClientPermission in any config file) but sometimes it gives the above error. I'm stuck!
    Regards, Amit Gupta

    Hi,
    According to your post, my understanding is that you get Error “Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
    Simple solution is to change the trust the trust level to FULL: <trust   level="[Full]"    originUrl="URL" />
    In addition, you can modify the wss_mediumtrust.config and wss_minimaltrust.config file under the path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG”.
    For more information, you can refer to:
    http://blogs.msdn.com/b/navdeepm/archive/2010/02/19/system-security-securityexception-request-for-the-permission-of-type-system-data-sqlclient-sqlclientpermission-system-data-version-2-0-0-0-culture-neutral-publickeytoken-b77a5c561934e089-failed.aspx
    http://www.fewlines4biju.com/2011/01/request-for-permission-of-type_18.html
    http://techsolutions-at-desk.blogspot.com/2011/08/request-for-permission-of-type.html
    Thanks,
    Linda Li                
    Forum Support
    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]
    Linda Li
    TechNet Community Support

  • Strange memory behaviour using the System.Collections.Hashtable in object reference

    Dear all,
    Recently I came across a strange memory behaviour when comparing the system.collections.hashtable versus de scripting.dictionary object and thought to analyse it a bit in depth. First I thought I incorrectly destroyed references to the class and
    child classes but even when properly destroying them (and even implemented a "SafeObject" with deallocate method) I kept seeing strange memory behaviour.
    Hope this will help others when facing strange memory usage BUT I dont have a solution to the problem (yet) suggestions are welcome.
    Setting:
    I have a parent class that stores data in child classes through the use of a dictionary object. I want to store many differenct items in memory and fetching or alteging them must be as efficient as possible using the dictionary ability of retrieving key
    / value pairs. When the child class (which I store in the dictionary as value) contains another dictionary object memory handeling is as expected where all used memory is release upon the objects leaving scope (or destroyed via code). When I use a system.collection.hashtable
    no memory is released at all though apears to have some internal flag that marks it as useable for another system.collection.hashtable object.
    I created a small test snippet of code to test this behaviour with (running excel from the Office Plus 2010 version) The snippet contains a module to instantiate the parent class and child classes that will contain the data. One sub will test the Hash functionality
    and the other sub will test the dictionary functionality.
    Module1
    Option Explicit
    Sub testHash()
    Dim Parent As parent_class
    Dim d_Count As Double
    'Instantiate parent class
    Set Parent = New parent_class
    'Create a child using the hash collection object
    Parent.AddChildHash "TEST_hash"
    Dim d_CycleCount As Double
    d_CycleCount = 50000
    'Add dummy data records to the child container with x amount of data For d_Count = 0 To d_CycleCount
    Parent.ChildContainer("TEST_hash").InsertDataToHash CStr(d_Count), "dummy data"
    Next
    'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
    'According to documentation and debug messages not really required!
    Set Parent.ChildContainer("TEST_hash") = Nothing
    'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
    Set Parent = Nothing
    End Sub
    Sub testDict()
    Dim Parent As parent_class
    Dim d_Count As Double
    'Instantiate parent class
    Set Parent = New parent_class
    'Create a child using the dictionary object
    Parent.AddChildDict "TEST_dict"
    Dim d_CycleCount As Double
    d_CycleCount = 50000
    'Blow up the memory with x amount of records
    Dim s_SheetCycleCount As String
    s_SheetCycleCount = ThisWorkbook.Worksheets("ButtonSheet").Range("K2").Value
    If IsNumeric(s_SheetCycleCount) Then d_CycleCount = CDbl(s_SheetCycleCount)
    'Add dummy data records to the child container
    For d_Count = 0 To d_CycleCount
    Parent.ChildContainer("TEST_dict").InsertDataToDict CStr(d_Count), "dummy data"
    Next
    'Killing the parent when it goes out of scope should kill the childs. (Try it out and watch for the termination debug messages)
    'According to documentation and debug messages not really required!
    Set Parent.ChildContainer("TEST_dict") = Nothing
    'According to documentation not really as we are leaving scope but just to be consistent.. kill the parent!
    Set Parent = Nothing
    End Sub
    parent_class:
    Option Explicit
    Public ChildContainer As Object
    Private Counter As Double
    Private Sub Class_Initialize()
    Debug.Print "Parent initialized"
    Set ChildContainer = CreateObject("Scripting.dictionary")
    End Sub
    Public Sub AddChildHash(ByRef ChildKey As String)
    If Not ChildContainer.Exists(ChildKey) Then
    Dim TmpChild As child_class_hashtable
    Set TmpChild = New child_class_hashtable
    ChildContainer.Add ChildKey, TmpChild
    Counter = Counter + 1
    Set TmpChild = Nothing
    End If
    End Sub
    Public Sub AddChildDict(ByRef ChildKey As String)
    If Not ChildContainer.Exists(ChildKey) Then
    Dim TmpChild As child_class_dict
    Set TmpChild = New child_class_dict
    ChildContainer.Add ChildKey, TmpChild
    Counter = Counter + 1
    Set TmpChild = Nothing
    End If
    End Sub
    Private Sub Class_Terminate()
    Debug.Print "Parent being killed, first kill all childs (if there are any left!) - muahaha"
    Set ChildContainer = Nothing
    Debug.Print "Parent killed"
    End Sub
    child_class_dict
    Option Explicit
    Public MemmoryLeakObject As Object
    Private Sub Class_Initialize()
    Debug.Print "Child using Scripting.Dictionary initialized"
    Set MemmoryLeakObject = CreateObject("Scripting.Dictionary")
    End Sub
    Public Sub InsertDataToDict(ByRef KeyValue As String, ByRef DataValue As String)
    If Not MemmoryLeakObject.Exists(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
    End Sub
    Private Sub Class_Terminate()
    Debug.Print "Child using Scripting.Dictionary terminated"
    Set MemmoryLeakObject = Nothing
    End Sub
    child_class_hash:
    Option Explicit
    Public MemmoryLeakObject As Object
    Private Sub Class_Initialize()
    Debug.Print "Child using System.Collections.Hashtable initialized"
    Set MemmoryLeakObject = CreateObject("System.Collections.Hashtable")
    End Sub
    Public Sub InsertDataToHash(ByRef KeyValue As String, ByRef DataValue As String)
    If Not MemmoryLeakObject.ContainsKey(KeyValue) Then MemmoryLeakObject.Add KeyValue, DataValue
    End Sub
    Private Sub Class_Terminate()
    Debug.Print "Child using System.Collections.Hashtable terminated"
    Set MemmoryLeakObject = Nothing
    End Sub
    Statistics:
    TEST: (Chronologically ordered)
    1.1 Excel starting memory: 25.324 kb approximately
    Max memory usage after hash (500.000 records) 84.352 kb approximately
    Memory released: 0 %
    1.2 max memory usages after 2nd consequtive hash usage 81.616 kb approximately
    "observation:
    - memory is released then reused
    - less max memory consumed"
    1.3 max memory usages after 3rd consequtive hash usage 80.000 kb approximately
    "observation:
    - memory is released then reused
    - less max memory consumed"
    1.4 Running the dictionary procedure after any of the hash runs will start from the already allocated memory
    In this case from 80000 kb to 147000 kb
    Close excel, free up memory and restart excel
    2.1 Excel starting memory: 25.324 kb approximately
    Max memory usage after dict (500.000 records) 90.000 kb approximately
    Memory released: 91,9%
    2.2 Excel starting memory 2nd consequtive dict run: 27.552 kb approximately
    Max memory usage after dict (500.000 records) 90.000 kb approximately
    Memory released: 99,4%
    2.3 Excel starting memory 3rd consequtive dict run: 27.712 kb approximately
    Max memory usage after dict (500.000 records) 90.000 kb approximately
    Memory released:

    Hi Cor,
    Thank you for going through my post and took the time to reply :) Most apreciated. The issue I am facing is that the memory is not reallocated when using mixed object types and is not behaving the same. I not understand that .net versus the older methods
    use memory allocation differently and perhaps using the .net dictionary object (in stead of the scripting.dictionary) may lead to similar behaviour. {Curious to find that out -> put to the to do list of interesting thingies to explore}
    I agree that allocated memory is not a bad thing as the blocks are already assigned to the program and therefore should be reallocated with more performance. However the dictionary object versus hashtable perform almost identical (and sometimes even favor
    the dictionary object)
    The hashtable is clearly the winner when dealing with small sets of data.
    The issue arises when I am using the hash table in conjunction with another type, for example a dictionary, I see that the dictionary object's memory is stacked on top of the claimed memory space of the hashtable. It appears that .net memory allocation and
    reuse is for .net references only. :) (Or so it seems)
    In another example I got with the similar setup, I see that the total used memory is never released or reclaimed and leakage of around 20% allocated memory remains to eventually crash the system with the out of memory message. (This is when another class
    calls the parent class that instantiates the child class but thats not the point of the question at hand)
    This leakage drove me to investigate and create the example of this post in the first place. For the solution with the class -> parent class -> child class memory leak I switched all to dictionaries and no leakage occurs anymore but nevertheless thought
    it may be good to share / ask if anyone else knows more :D (Never to old to learn something new)

  • Trying to access R/3 system in VC , getting error

    Hi all,
    my project requires me to get materials from r/3 and insert into my application.
    i have to create a model in VC which does so. I have identified BAPI_MATERIAL_GETLIST and BAPI_MATERIAL_GETDETAIL which would do it for me.
    now i know to access these BAPI's i have to define a system in EP for r/3 which i have done.
    Now when in VC , i say <b>Find Data</b> Service , and select the r/3 system that i configured , it says
    <b>Falied to Connect to backend system. Check your system definition and user privileges.</b>
    <b>In EP</b> this is how i have defined my system.
    created a system of type "SAP system using a dedicated Application Server"
    gave the following Properties.
    A) Connector
    1)Application host : my host
    2)SAP Clinet : 000
    2) SAP System Id : RTD
    3) SAP System Number : 00
    4) Server Port : 3200
    5) System Type : SAP_R3
    B) User Management
    1) Authentication Ticket Type : SAP Logon Ticket
    2) Logon Method : UIDPW
    3) User Mapping Type : admin,user
    then gave System alias to my system.
    Defined an user mapping within j2ee_admin user (Last tab which says User Mapping For system Access), choose my system there and gave r/3 user id and pwd.
    Now in EP too i guess i have some connection problem .. I mean in one test it succeds and other it fails.
    <b>Succeds in this test</b> , which means my connection parameters are correct :
    <b>System administration->Support-> SAP Application->SAP Transaction->i gave  my system Alias->Transaction code as SU01->SAP GUI type as SAP GUI for windows</b>. It displays r/3 window where i was able to create a new user.
    <b>Fails in this test</b>.
    In system Administration -> system Confguration, i select my object and Choose Display as "Connection Tests" and choose <b>Connection Test for connector</b>  but it fails saying
    <b>Connection failed. Make sure user mapping is set correctly and all connection properties are correct.</b>
    <b>so am really confused as to where i am going wrong.
    How do i define a system for R/3 so that i can access its BAPI's in VC.</b>

    now i checked jrfc2323_2323.trc and it gives following trace ..
    majorly tasks about two things<b>. User in not authorized</b>
    and
    <b> Name or password is incorrect. Please re-enter</b>
    here is the trace
    **** Trace file opened at 20061121 174456 GMT+05:30 Rel 6.45.9 (2006-06-21) [700.52]
    *> RfcOpen
        TYPE=A USER="persistent" PASSWD=********** CLIENT=100 LANG=E ASHOST=ps3186.persistent.co.in SYSNR=00 TRACE=1 PCS=1
    WARNING: use ashost as gwhost
    WARNING: generated gwserv from system number
    >>>> [1] <unknown> EXT <ac: 1> >>> OPEN (00000000)
    UUID: ab_coxopen create uuid:E67CA420-7959-11DB-B4B9-CF520A4DDE56
       >> CPIC native call SAP_CMINIT3 [1] convid: 00000000 17:44:56,354
        sym_dest_name: <Java Rfc client>
        lu: ps3186.persistent.co.in
        tp: sapdp00
        gw_host: ps3186.persistent.co.in
        gw_serv: sapgw00
        prot: I
        snc_mode: 0
        snc_qop: 0
        snc_myname: null
        snc_partnername: null
        snc_lib: null
       << CPIC native call SAP_CMINIT3 [1] convid: 11296530 rc: 0 17:44:56,385
       >> CPIC native call CMSPLN [1] convid: 11296530 17:44:56,385
       << CPIC native call CMSPLN [1] convid: 11296530 rc: 0 17:44:56,385
       >> CPIC native call CMALLC [1] convid: 11296530 17:44:56,385
       << CPIC native call CMALLC [1] convid: 11296530 rc: 0 17:44:56,385
    Send RFCHEADER [1]: 01/BIG/IEEE/SPACE/49494848
    Send UNICODE-RFCHEADER [1]: cp:4102/ce:IGNORE/et:6/cs:2/rc:0x00000023
    UUID: send_rfcuuid E67CA420-7959-11DB-B4B9-CF520A4DDE56
    >>> RfcCall [1] >Tue Nov 21 17:44:56,385< ...
    *> RfcCall
       FUNCTION RFCPING
        handle = 1
        parameter   = <null>
        parameter   = <null>
        tables = <null>
    UUID:  RfcCallNew send the uuid to the partner:E67CA420-7959-11DB-B4B9-CF520A4DDE56
    >>>> [1] <unknown> EXT <ac: 2> >>> WRITE (11296530)
    000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |................
    000010 | 01020101 01010000 01010103 00040000 |................
    000020 | 020B0103 0106000B 04010002 01060200 |................
    000030 | 00002301 06000700 0C31302E 37372E32 |..#......10.77.2
    000040 | 32322E38 36000700 11000145 00110012 |22.86......E....
    000050 | 00043634 30200012 00130004 36343020 |..640 ......640
    000060 | 00130008 000A7464 6C617367 61746F73 |......tdlasgatos
    000070 | 00080006 00093C75 6E6B6E6F 776E3E00 |......<unknown>.
    000080 | 06051400 10E67CA4 20795911 DBB4B9CF |......|. yY.....
    000090 | 520A4DDE 56051401 11000A50 45525349 |R.M.V......PERSI
    0000a0 | 5354454E 54011101 17000C9C 0D25B847 |STENT........%.G
    0000b0 | 6792CACE 69512C01 17011400 03313030 |g...iQ,......100
    0000c0 | 01140115 00014501 15050100 01010501 |......E.........
    0000d0 | 05020000 0502000B 00043634 3020000B |..........640 ..
    0000e0 | 01020007 52464350 494E4701 02033700 |....RFCPING...7.
    0000f0 | 00033705 140010E6 7CA42079 5911DBB4 |..7.....|. yY...
    000100 | B9CF520A 4DDE5605 14FFFF00 00FFFF00 |..R.M.V.........
       >> CPIC native call CMSEND [1] convid: 11296530 17:44:56,385
       << CPIC native call CMSEND [1] convid: 11296530 rc: 0 17:44:56,385
    >>>> [1] <unknown> EXT <ac: 3> >>> FLUSH(WRITE) (11296530)
    <* RfcCall >Tue Nov 21 17:44:56,385<    successful *>
    >>> RfcReceive [1] >Tue Nov 21 17:44:56,385< ...
    >>>> [1] <unknown> EXT <ac: 4> >>> FLUSH(WRITE) (11296530)
       >> CPIC native call cpic_coxread [1] convid: 11296530 17:44:56,385
       << CPIC native call cpic_coxread [1] convid: 11296530 rc: 18 17:44:56,666
    >>>> [1] <unknown> EXT <ac: 5> >>> READ (11296530)
    000000 | 01010008 01010101 01010000 01010103 |................
    000010 | 00040000 020B0103 0106000B 01010000 |................
    000020 | 01010100 00002301 06001600 04313130 |......#......110
    000030 | 30001600 07000F31 302E3737 2E323232 |0......10.77.222
    000040 | 2E363520 20200007 00110001 33001100 |.65   ......3...
    000050 | 12000436 32302000 12001300 04363230 |...620 ......620
    000060 | 20001300 08002070 73333138 365F5454 | ..... ps3186_TT
    000070 | 445F3030 20202020 20202020 20202020 |D_00           
    000080 | 20202020 20202000 08000600 803C756E |       ......<un
    000090 | 6B6E6F77 6E3E0000 00000000 00000000 |known>..........
    0000a0 | 00000000 00000000 00000000 00000000 |................
    0000b0 | 00000000 00000000 00000000 00000000 |................
    0000c0 | 00000000 00000000 00000000 00000000 |................
    0000d0 | 00000000 00000000 00000000 00000000 |................
    0000e0 | 00000000 00000000 00000000 00000000 |................
    0000f0 | 00000000 00000000 00000000 00000000 |................
    000100 | 00000000 00000000 00000000 00000605 |................
    000110 | 140010E6 7CA42079 5911DBB4 B9CF520A |....|. yY.....R.
    000120 | 4DDE5605 14050000 00050004 15000230 |M.V............0
    000130 | 30041504 17000331 35370417 04040027 |0......157.....'
    000140 | 55736572 206E6F74 20617574 686F7269 |User not authori
    000150 | 7A65642E 20536573 73696F6E 20746572 |zed. Session ter
    000160 | 6D696E61 74656404 04040200 27557365 |minated.....'Use
    000170 | 72206E6F 74206175 74686F72 697A6564 |r not authorized
    000180 | 2E205365 7373696F 6E207465 726D696E |. Session termin
    000190 | 61746564 0402FFFF 0000FFFF 00000000 |ated............
    Received RFCHEADER [1]: 01/LIT/IEEE/SPACE/1100
    Received UNICODE-RFCHEADER [1]: cp:1100/ce:IGNORE/et:1/cs:1/rc:0x00000023
    UUID: ab_rfccheck_uuid compare uuid's E67CA420-7959-11DB-B4B9-CF520A4DDE56
    <* RfcReceive >Tue Nov 21 17:44:56,666<    failed *>
    >>>> [1] <unknown> EXT <ac: 6> >>> CLOSE (11296530)
       >> CPIC native call coxclose [1] convid: 11296530 17:44:56,666
       << CPIC native call coxclose [1] convid: 11296530 rc: 0 17:44:56,666
    RfcException:
        message: User not authorized. Session terminated
        Return code: RFC_SYS_EXCEPTION(3)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
        message class: 00
        message number: 157*> RfcReceive ...
        handle = 1
        parameter   = <null>
        parameter   = <null>
        tables = <null>
    *> RfcClose ...
    >>>> [1] <unknown> EXT <ac: 7> >>> FREE (11296530)
    <* RfcClose*>
    Error> RfcOpen failed. Could not ping the partner system.
      User not authorized. Session terminated
    *> RfcOpen
        TYPE=A USER="persistent" PASSWD=********** CLIENT=100 ASHOST=ps3186.persistent.co.in SYSNR=00 TRACE=1 PCS=1
    WARNING: use ashost as gwhost
    WARNING: generated gwserv from system number
    >>>> [1] <unknown> EXT <ac: 1> >>> OPEN (00000000)
    UUID: ab_coxopen create uuid:E6AC3FA0-7959-11DB-BE79-CF520A4DDE56
       >> CPIC native call SAP_CMINIT3 [1] convid: 00000000 17:44:56,666
        sym_dest_name: <Java Rfc client>
        lu: ps3186.persistent.co.in
        tp: sapdp00
        gw_host: ps3186.persistent.co.in
        gw_serv: sapgw00
        prot: I
        snc_mode: 0
        snc_qop: 0
        snc_myname: null
        snc_partnername: null
        snc_lib: null
       << CPIC native call SAP_CMINIT3 [1] convid: 11296827 rc: 0 17:44:56,682
       >> CPIC native call CMSPLN [1] convid: 11296827 17:44:56,682
       << CPIC native call CMSPLN [1] convid: 11296827 rc: 0 17:44:56,682
       >> CPIC native call CMALLC [1] convid: 11296827 17:44:56,682
       << CPIC native call CMALLC [1] convid: 11296827 rc: 0 17:44:56,682
    Send RFCHEADER [1]: 01/BIG/IEEE/SPACE/49494848
    Send UNICODE-RFCHEADER [1]: cp:4102/ce:IGNORE/et:6/cs:2/rc:0x00000023
    UUID: send_rfcuuid E6AC3FA0-7959-11DB-BE79-CF520A4DDE56
    >>> RfcCall [1] >Tue Nov 21 17:44:56,682< ...
    *> RfcCall
       FUNCTION RFCPING
        handle = 1
        parameter   = <null>
        parameter   = <null>
        tables = <null>
    UUID:  RfcCallNew send the uuid to the partner:E6AC3FA0-7959-11DB-BE79-CF520A4DDE56
    >>>> [1] <unknown> EXT <ac: 2> >>> WRITE (11296827)
    000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |................
    000010 | 01020101 01010000 01010103 00040000 |................
    000020 | 020B0103 0106000B 04010002 01060200 |................
    000030 | 00002301 06000700 0C31302E 37372E32 |..#......10.77.2
    000040 | 32322E38 36000700 11000145 00110012 |22.86......E....
    000050 | 00043634 30200012 00130004 36343020 |..640 ......640
    000060 | 00130008 000A7464 6C617367 61746F73 |......tdlasgatos
    000070 | 00080006 00093C75 6E6B6E6F 776E3E00 |......<unknown>.
    000080 | 06051400 10E6AC3F A0795911 DBBE79CF |.......?.yY...y.
    000090 | 520A4DDE 56051401 11000A50 45525349 |R.M.V......PERSI
    0000a0 | 5354454E 54011101 17000C5D 90352F27 |STENT......].5/'
    0000b0 | 14896AA0 42C05A01 17011400 03313030 |..j.B.Z......100
    0000c0 | 01140115 00000115 05010001 01050105 |................
    0000d0 | 02000005 02000B00 04363430 20000B01 |.........640 ...
    0000e0 | 02000752 46435049 4E470102 03370000 |...RFCPING...7..
    0000f0 | 03370514 0010E6AC 3FA07959 11DBBE79 |.7......?.yY...y
    000100 | CF520A4D DE560514 FFFF0000 FFFF0000 |.R.M.V..........
       >> CPIC native call CMSEND [1] convid: 11296827 17:44:56,682
       << CPIC native call CMSEND [1] convid: 11296827 rc: 0 17:44:56,682
    >>>> [1] <unknown> EXT <ac: 3> >>> FLUSH(WRITE) (11296827)
    <* RfcCall >Tue Nov 21 17:44:56,682<    successful *>
    >>> RfcReceive [1] >Tue Nov 21 17:44:56,682< ...
    >>>> [1] <unknown> EXT <ac: 4> >>> FLUSH(WRITE) (11296827)
       >> CPIC native call cpic_coxread [1] convid: 11296827 17:44:56,682
       << CPIC native call cpic_coxread [1] convid: 11296827 rc: 18 17:44:56,713
    >>>> [1] <unknown> EXT <ac: 5> >>> READ (11296827)
    000000 | 01010008 01010101 01010000 01010103 |................
    000010 | 00040000 020B0103 0106000B 01010000 |................
    000020 | 01010100 00002301 06001600 04313130 |......#......110
    000030 | 30001600 07000F31 302E3737 2E323232 |0......10.77.222
    000040 | 2E363520 20200007 00110001 33001100 |.65   ......3...
    000050 | 12000436 32302000 12001300 04363230 |...620 ......620
    000060 | 20001300 08002070 73333138 365F5454 | ..... ps3186_TT
    000070 | 445F3030 20202020 20202020 20202020 |D_00           
    000080 | 20202020 20202000 08000600 803C756E |       ......<un
    000090 | 6B6E6F77 6E3E0000 00000000 00000000 |known>..........
    0000a0 | 00000000 00000000 00000000 00000000 |................
    0000b0 | 00000000 00000000 00000000 00000000 |................
    0000c0 | 00000000 00000000 00000000 00000000 |................
    0000d0 | 00000000 00000000 00000000 00000000 |................
    0000e0 | 00000000 00000000 00000000 00000000 |................
    0000f0 | 00000000 00000000 00000000 00000000 |................
    000100 | 00000000 00000000 00000000 00000605 |................
    000110 | 140010E6 AC3FA079 5911DBBE 79CF520A |.....?.yY...y.R.
    000120 | 4DDE5605 14050000 00050004 15000230 |M.V............0
    000130 | 30041504 17000331 35320417 0404002E |0......152......
    000140 | 4E616D65 206F7220 70617373 776F7264 |Name or password
    000150 | 20697320 696E636F 72726563 742E2050 | is incorrect. P
    000160 | 6C656173 65207265 2D656E74 65720404 |lease re-enter..
    000170 | 0402002E 4E616D65 206F7220 70617373 |....Name or pass
    000180 | 776F7264 20697320 696E636F 72726563 |word is incorrec
    000190 | 742E2050 6C656173 65207265 2D656E74 |t. Please re-ent
    0001a0 | 65720402 FFFF0000 FFFF0000 00000000 |er..............
    Received RFCHEADER [1]: 01/LIT/IEEE/SPACE/1100
    Received UNICODE-RFCHEADER [1]: cp:1100/ce:IGNORE/et:1/cs:1/rc:0x00000023
    UUID: ab_rfccheck_uuid compare uuid's E6AC3FA0-7959-11DB-BE79-CF520A4DDE56
    <* RfcReceive >Tue Nov 21 17:44:56,713<    failed *>
    >>>> [1] <unknown> EXT <ac: 6> >>> CLOSE (11296827)
       >> CPIC native call coxclose [1] convid: 11296827 17:44:56,713
       << CPIC native call coxclose [1] convid: 11296827 rc: 0 17:44:56,713
    RfcException:
        message: Name or password is incorrect. Please re-enter
        Return code: RFC_SYS_EXCEPTION(3)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
        message class: 00
        message number: 152*> RfcReceive ...
        handle = 1
        parameter   = <null>
        parameter   = <null>
        tables = <null>
    *> RfcClose ...
    >>>> [1] <unknown> EXT <ac: 7> >>> FREE (11296827)
    <* RfcClose*>
    Error> RfcOpen failed. Could not ping the partner system.
      Name or password is incorrect. Please re-enter

  • Access Denied to Site Collection for Everyone Including Site Collection Administrator

    I have a site collection with several subsites which I can no longer access.  I am listed as both a farm administrator and site collection administrator in this installation.  I can access a separate site collection on the same web application,
    and I can access the Central Administration site.  All accounts including mine, get an access denied error when navigating to any site on the aformentioned site collection.
    I was not having any access issues until this morning when I was doing some housekeeping and changing group membership at the root site level, and also deleting a few custom sharepoint groups that were no longer needed.  At some point after deleting
    one of these custom groups, I began getting the access denied errors.
    I found the error below in the uls viewer, but haven't seen anything that looks related in the windows application log.  I had some similar issues yesterday, but was able to resolve them by toggling Inherit Permissions, Stop Inheriting permissions from
    a subsite using SharePoint Designer.  I've had no such luck with SharePoint Designer today.  I've scoured this forum and the web for a solution, but have not found any issue that looked the same as mine.  Any help would be appreciated.
    PortalSiteMapProvider was unable to fetch children for node
     at URL: /, message: Thread was being aborted., stack trace:  
     at System.Threading.Thread.AbortInternal()   
     at System.Threading.Thread.Abort(Object stateInfo)   
     at System.Web.HttpResponse.End()   
     at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString)   
     at Microsoft.SharePoint.Utilities.SPUtility.RedirectToAccessDeniedPage(HttpContext context)   
     at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext context)   
     at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)   
     at Microsoft.SharePoint.Library.SPRequest.GetSubwebsFiltered(String bstrParentWebUrl, UInt64 iPermMaskForUnique, UInt64 iPermMaskForInherited, Int32 nWebTemplate, Int16 nProvisionConfig, Int32 lToLinkRecurringMeeting, Object& pvarSubwebs, Object&
    pvarSubwebIds, Object& pvarLangs, Object& pvarTitles, Object& pvarDescriptions, Object& pvarCreationTimes, Object& pvarModifiedTimes, Object& pvarUserIsWebAdmins, Object& pvarWebTemplates, Object& pvarProvisionConfigs, Object&
    pvarMeetingCounts)   
     at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.GetWebsData(String[]& strNames, String[]& strServiceRelUrls, Guid[]& guidWebIds, Int32[]& nLanguages, String[]& strTitles, String[]& strDescriptions, String[]& strCreationTimes,
    String[]& strModifiedTimes, Boolean[]& bUserIsWebAdmins, Int32[]& nWebTemplates, Int16[]& nProvisionConfigs, Int16[]& nMeetingCounts, Int32[]& nUIVersions, Int32[]& nFlags, String[]& strMasterUrls, String[]& strCustomMasterUrls)   
     at Microsoft.SharePoint.SPWebCollection.EnsureWebsData()   
     at Microsoft.SharePoint.SPWebCollection.get_WebsInfo()   
     at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.FetchDynamicItems(PublishingWeb pubWeb, NodeTypes includedTypes, Boolean& websFetched, Boolean& pagesFetched)   
     at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildrenInner(NodeTypes includedTypes)   
     at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes includedTypes)   
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)   
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid)   
     at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes)   

    Make sure you give  supper user account with following format.
    Moral of the story: if
    you are in claims mode, you will need to use the claims user name (i:0#.w|domain\user).
    some one point out that.
    http://blogs.msdn.com/b/andrasg/archive/2010/09/30/setting-the-super-user-account-on-sharepoint-2010-and-getting-access-denied-errors-afterwards.aspx
    Sutha Thavaratnarajah

  • R/3 Users of Type system Change Passwords

    Hi,
    I have the following scenario, I have users from R/3 that can access portals, but i don't want them to access from dialog in R/3. I created them of type user "B" as "system users".
    How can i change the passwords of them in portals, like a service for "changing passwords" or "forgot passwords"?
    Should i created them as other type? But the others types can access dialog?
    regards,
         Cesar Felce

    Hi GLM,
        I don't want to disable the passwords, i just want them to be able to change their passwords from the portal.
        Let me explain my scenario again, I have many students that have a R/3 user account, but they only use sap from a WD4A applications so thay can update personal data and so on. The thing is thay they are users in R/3 of type system, because i don't want them to be able to enter form SAPGUI, but they can't change their passwords.
      Student -> enter portals -> change password.
      Student -> enter SAPGUI -> can't access. 
      We have the single sign on.
      thanks for the help,
          Cesar Felce

Maybe you are looking for

  • Closing and opening in new fiscal period

    Hi I am going to close last fiscal period and open new period . What should I do step by step for closing inventory and BP and Accounting and Open them in new Period. does system has any facility to do these step automatically. Thanks in advance

  • How to use my time capsule with windows vista

    i have a 2tb time capsule iphone 3gs appple tv and a ipad 2 the wife and kids have iphone 3gs and 4 and id like to set up a home network for us all to use and share music and photos is this possible

  • Mail is not working

    After I SL mail stopped working. At first I thought it was only mail with attachments but i tried a simple text only email and it will not send, it just stays in outbox... Anyone else having the same issue?

  • FI BUSINESS CONTENT

    Hi Guys.,                I want to find FI business contenet datasources & ODS's & CUBES "which are regularly used in any business". Can anyone send me in detail, i will be greatfull for your input.          or else can you give me URL, where i can f

  • IOS 6 now can't get past Terms and Conditions

    I downloaded ios 6 for my iphone 4, it had an error and deleted everything on my iphone. I reloaded all my music, apps, etc. but my contacts were also deleted. I tried Verizon ZV Contact Transfer which apparently needed an update to work. I tried to