Beginning Question

Aug 29, 2007 at 12:00 AM
Hi-

I added the 3 references to my web app, added the components to the toolbox, and created a default.aspx webpage with the sample code provided. I created a virtual directory leading to this webpage, and set my facebook application callback url to this page (http://localhost/facebook/default.aspx) as well. I'm still getting an error:
*
Parser Error Message: Could not load type 'Facebook.Entity.User' from assembly 'Facebook, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Source Error:


Line 12: <form id="form1" runat="server">
Line 13: <div>
Line 14: <c1:friendlist id="MyFriendList" runat="server"></c1:friendlist>
Line 15:
Line 16: </div>*

Am I missing something? On the default.aspx page here are the two references I have up top:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Facebook._Default" %>
<%@ Register Assembly="Facebook.WebControls" Namespace="Facebook.WebControls" TagPrefix="c1" %>

If anyone has any hints I would greatly appreciate it. Thank you.
Aug 29, 2007 at 12:15 AM
I figured it out. The problem was I called my WebApplication Facebook. I think it confused the machine.