Search
Active

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 426784
Opened: 3/25/2009 10:15:59 AM
Access Restriction: Public
0
Workaround(s)
1
User(s) can reproduce this bug
I am getting an ArgumentException ("Argument expression is not valid") in the first of the following LINQ statements. This code works well when I have fewer items in my DataFeed. The DataFeed currently has 1145 entries. Is there some limit I'm hitting here? I am using the latest March/April SDK. Thanks.

-------------------------------------------------------------------------
public bool HasDataEntries(DataFeed dataFeed, string type, string parentId)
{
    DataEntry found = null;

    if(type != null)
    {
        found = (from de in dataFeed.CreateQuery<DataEntry>()
        where de.Resource.Type == type && de.Resource.ParentId == parentId
        select de).FirstOrDefault<DataEntry>();
    }
    else
    {
        found = (from de in dataFeed.CreateQuery<DataEntry>()
        where de.Resource.ParentId == parentId
        select de).FirstOrDefault<DataEntry>();
    }

    return found != null;
}


Re: http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/579c2c96-e60c-4d04-85a8-256ae6c33a6a
Details (expand)
Repro Steps
(1) Upload entries to query (e.g., 1145 entries)
(2) Invoke the HasDataEntries method (see above)
What OS are you using on your computer?
Vista SP1 (Home)
What platform is your OS?
x86
Where in the product are you seeing your problem?
Live Framework
What browser are you using to view Live Mesh?
PC - Internet Explorer 8

Our team will be able to actively investigate your issue if you provide your logs

Our team will be able to actively investigate your issue if you provide your logs
 

You will be given the option of attaching log files to your bug after you click the submit button below. 

To create the log files for Live Framework Client reporting:

1.  Click Start
2.  Select All Programs so that you are looking at the program folder for Live Framework Client (see screenshot below).
3.  Click Collect Logs
4. Your logs will be bundled together in a cab file named LiveFxClientLogs.cab saved on your desktop.
5. Complete the bug form and provide as much details as possible for our team to be able to understand and investigate your issue
6. Submit your bug. You will attach the cab file after the bug has been submitted.
7. On the bottom of the next page click attach files.
8. Attach the LiveFxClientLogs.cab saved on your desktop.

Thank you for helping us build a better product!


Installation issues

If you run into an error during the installation of the Live Mesh software a Servicing.log will be created.  The easiest way to find this log file:

1.  Click Start
2.  In the search bar (Vista) or Click Search (XP/2003) type Servicing*
3.  In the search results you will see Servicing.log or Servicing(0000).log depending on where the installation failed. 

To directly go to the file, the Servicing log is in INSTALLDIR\Setup\Servicing.log or %temp%\Live Mesh\Servicing[0000].log if Live Mesh was uninstalled/rolled back during a failed installation.

1. Submit a new bug and enter all information that will help us understand and investigate your issue.
2. Once completed submit your bug (you will attach the log file after the bug has been submitted)
3. On the bottom of the next page click attach files.
4. Attach your Servicing.log file to your bug.

File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 3/30/2009 at 1:11 PM
thanks for reporting this swt!

I sent this to the right team for review. Any updates should be reflected here but in the meantime hopefully that workaround posted in the forum will get you moving.

-Ben W.