我正在使用Entity Framework在SqlServer中创建表格。 我成功创建了表格。当我运行网络来呈现表格时,我收到了这条错误消息: "目录列表 - /" 我的情景: 1)在SqlServer中创建DB - >创建webform - >创建实体 - >运行webform:显示错误消息。 我想弄清楚如何解决它。我不知道我哪里错了。 在webform应用程序运行时,除了此消息外,Sqlscript,web.config,webform,tabels,实体等已成功创建。
Directory Listing -- /
Monday, January 05, 2015 11:22 PM <dir> bin
Monday, January 05, 2015 11:21 PM 14,780 CourseModel.Designer.cs
Monday, January 05, 2015 11:21 PM 7,274 CourseModel.edmx
Monday, January 05, 2015 11:21 PM 2,491 CourseModel.edmx.sql
Monday, January 05, 2015 11:21 PM 5,366 Courses_EF.csproj
Tuesday, January 06, 2015 12:35 PM 1,170 Courses_EF.csproj.user
Monday, January 05, 2015 10:13 PM <dir> obj
Monday, January 05, 2015 10:17 PM 118 packages.config
Monday, January 05, 2015 10:13 PM <dir> Properties
Monday, January 05, 2015 11:21 PM 1,025 Web.config
Monday, January 05, 2015 10:13 PM 1,285 Web.Debug.config
Monday, January 05, 2015 10:13 PM 1,346 Web.Release.config
Monday, January 05, 2015 11:21 PM 1,421 WebForm1.aspx
Monday, January 05, 2015 10:28 PM 332 WebForm1.aspx.cs
Monday, January 05, 2015 10:30 PM 1,461 WebForm1.aspx.designer.cs