Hi all,
I have created a website using DynamicData in VS2008. It is working perfect in VS2008 including access of data from a SQL database on a remote server on the local intranet.
I am using Microsoft .NET Framework 3.5 SP1 on the server with Windows Server 2003.
Then I have copied the website to the remote server. When I try to access the website in IE 7 on my pc I get the following message:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'System.Web.DynamicData.MetaModel' does not contain a definition for 'visibleTables' and no extension method 'visibleTables' accepting a first argument of type 'System.Web.DynamicData.MetaModel' could be found (are you missing a using directive or an assembly reference?)
Source Error:
|
Line 16: protected void Page_Load(object sender, EventArgs e) { Line 17: Line 18: System.Collections.IList visibleTables = MetaModel.Default.visibleTables; Line 19: if (visibleTables.Count == 0) { Line 20: throw new InvalidOperationException("There are no accessible tables. Make sure that at least one data model is registered in Global.asax and scaffolding is enabled or implement custom pages.");
|
Source File: c:\Inetpub\wwwroot\WebSite6\Default.aspx.cs Line: 18
Can anyone please help me.
Ole Stribolt