1
Vote

Kigg Changeset 38916 build error under Visual Studio 2008

description

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

comments

bendzie wrote Jul 5, 2010 at 2:20 PM

You need to manually copy linked EF files DomainObjects.* into Web/App_Data Directory. Hoping it will help.

johnchen88 wrote Jul 10, 2010 at 5:58 PM

Works like a charm, thanks a lot!