2012-04-22 15 views
2

みなさん、こんにちはは型エラーをロードできませんでした

私はFacebookのゲームを開発しようとしているが、私はこのテーマではかなり新しいです。 私はビジュアルスタジオでデバッグするときに、エラーなしで表示されますが、エラーページが表示されたときに私のウェブサイトに公開します。

Server Error in '/' Application. 
Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load type 'Xandra.index'. 

Source Error: 
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Xandra.index" %> 
Line 2: 
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

Source File: /Apps/Web/Xandra/Index.aspx Line: 1 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 

そして、私のソースコードです:

using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
using Facebook; 
using Facebook.Web; 
using Facebook.Session; 

namespace Xandra 
{ 
    public partial class index : Facebook.Web.CanvasIFrameBasePage 
    { 
     protected void Page_Load(object sender, EventArgs e) 
     { 

      CanvasSession fs = new Facebook.Session.FBMLCanvasSession(Config.APIKey, Config.Secret); 
      base.RequireLogin = true; 
     } 

     protected void Button1_Click(object sender, EventArgs e) 
     { 

      long uid = (long)base.Api.Users.GetInfo().uid; 
      Button1.Text = uid.ToString(); 
     } 
    } 
} 

答えて

0

あなたにも(/ bin)に、すべての適切なアセンブリファイルを展開しましたか?

関連する問題