Kigg Changeset 38916 build error under Visual Studio 2008

Jun 30, 2010 at 8:40 PM

 

Please help to resolve this:

The build is successful, but the web page got error:

Server Error in '/' Application.

The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.MetadataException: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension '.csdl', '.ssdl', or '.msl', or a URI that identifies an embedded resource.

Source Error:

Line 43:         }
Line 44:
Line 45: public Database(string connectionString) :
Line 46: base(connectionString, _defaultContainerName)
Line 47: {


Source File: C:\XCDocument\04ASPNETMVC\00Code\KiGG\Kigg mvc 2.0\v2.x\EntityFramework\Repository\Database\Database.cs    Line: 45

Developer
Jul 11, 2010 at 10:01 AM

Copy all the files (csdl, ssdl, msl) from "Kigg-38916\v2.x\SharedFiles" to your app_data folder under web project  (When I said copy means literally copy and paste not just pasting the links)

Cheers

 

Sep 3, 2012 at 9:20 PM

Thanks it works...