[?][?][?]also ch10 (2 question)
I follow the ch10 instructions and got some errors, you may need chinese support too read those error original massage(character set GB2312 is working well enough). I tried to figure out which english version error it is.
First, I ran the aspx code like this:
<asp:Panel id="pnlFixtureDetails" runat="server" Visible="False">
<HEADERTEMPLATE>
<asp:Repeater id="MatchesByDateList" runat="server">
</asp:Repeater>
<span style="WIDTH: 110px; HEIGHT: 25px">Date: </span>
<span style="WIDTH: 135px; HEIGHT: 25px"><%# Calendar1.SelectedDate.ToShortDateString() %>
</span>
</HEADERTEMPLATE>
<ITEMTEMPLATE>
<span style="WIDTH: 110px">Wrox Team</span>
<span style="WIDTH: 135px"><%# DataBinder.Eval(Container.DataItem, "TeamName") %></span>
<span style="WIDTH: 110px">Opposing Team</span>
<span style="WIDTH: 135px"><%# DataBinder.Eval(Container.DataItem, "OpponentName") %></span>
<span style="WIDTH: 110px">Venue</span>
<span style="WIDTH: 135px"><%# Venue((string)DataBinder.Eval(Container.DataItem, "OpponentLocation"), (int)DataBinder.Eval(Container.DataItem, "Location")) %></span>
</ITEMTEMPLATE>
<SEPARATORTEMPLATE>
</SEPARATORTEMPLATE>
</asp:Panel>
and the error report:
õÃ÷: Ãñà ÃëÃò¸ÃÃëÃóÃṩ·þÃñÃùà èÃÃôµÃ¹ý³ÃÃóöÃôÃÃó¡£Ãë ¼ì²éÃÃÃÃÃö¨´ÃÃóÃêøÃÃ
â² ¢Ãõ±µÃÃøÃô´úÃë¡£
(description: there are error during compiling resource requested. check the error info and correct the source code.)
±à ÃëÃ÷´ÃÃóÃÃ
â: CS0117: ¡°System.Web.UI.Control¡±²¢²»°üº¬¶Ã ¡Â°DataItem¡±µÃ¶¨ÃÃ¥
(compiler error info: CS0117: There is not definiton of "DataItem" in "System.Web.UI.WebControls.Repeater")
ô´ÃÃó:
(source error:)
ÃÃ(line) 148£º </HEADERTEMPLATE>
ÃÃ(line) 149£º <ITEMTEMPLATE>
Ãà 150£º <span style="WIDTH: 110px">Wrox Team</span> <span style="WIDTH: 135px"><%# DataBinder.Eval(Container.DataItem, "TeamName") %></span>
Ãà 151£º <br />
Ãà 152£º <span style="WIDTH: 110px">Opposing Team</span> <span style="WIDTH: 135px"><%# DataBinder.Eval(Container.DataItem, "OpponentName") %></span>
ôÃüþ: Default.aspx ÃÃ: 150
(source file:)
Then I turn to the files downloaded from Wrox, but still error:
Microsoft Jet Ãý¾Ã¿âÃýÃæ´ò²»¿ªÃüþ'C:\Docume nts and Settings\Administrator.SHANGRI-LA\My Documents\BegASPNET11\data'¡£ ÃüÃþ±»±ðµÃÃû§ÃöÃü·½à ½´ò¿ª£¬»òûÃò鿴Ãý¾ÃµÃè Ãá£
õÃ÷: ôÃõ±Ã° Web ÃëÃóÃü䣬³öÃÃô´¦ÃõÃÃì³ £¡£Ãë¼ì²é¶Ãû¸úÃÃÃÃ
⣬Ãà ÃýâÃùøôÃÃóÃü°´úÃëÃõ ¼ÃôÃÃóµÃ³ö´¦µÃÃêøÃÃ
â¡£
Ãì³£ÃêøÃÃ
â: System.Data.OleDb.OleDbException: Microsoft Jet Ãý¾Ã¿âÃýÃæ´ò²»¿ªÃüþ'C:\Docume nts and Settings\Administrator.SHANGRI-LA\My Documents\BegASPNET11\data'¡£ ÃüÃþ±»±ðµÃÃû§ÃöÃü·½à ½´ò¿ª£¬»òûÃò鿴Ãý¾ÃµÃè Ãá£
OleDbException (0x80004005): Microsoft Jet Ãý¾Ã¿âÃýÃæ´ò²»¿ªÃüþ'C:\Docume nts and Settings\Administrator.SHANGRI-LA\My Documents\BegASPNET11\data'¡£ ÃüÃþ±»±ðµÃÃû§ÃöÃü·½à ½´ò¿ª£¬»òûÃò鿴Ãý¾ÃµÃè Ãá£
System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvid er() +51
System.Data.OleDb.OleDbConnection.Open() +203
_ASP.Default_aspx.Dates() +155
_ASP.Default_aspx.Page_Load(Object sender, EventArgs e) +54
System.Web.UI.Control.OnLoad(EventArgs e) +55
System.Web.UI.Control.LoadRecursive() +27
System.Web.UI.Page.ProcessRequestMain() +725
The english version of the first paragraph i think is:
The Microsoft Jet database engine cannot open the file '...'. It is already opened exclusively by another user, or you need permission to view its data.
This error persisted even computer is restarted.
|