Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 安装服务器时Project出现错误?_Asp.net_Entity Framework - Fatal编程技术网

Asp.net 安装服务器时Project出现错误?

Asp.net 安装服务器时Project出现错误?,asp.net,entity-framework,Asp.net,Entity Framework,当我安装Project Server时,它正在本地项目中运行,但对Entityçağdığdımda的任何查询都没有响应,并且给出此错误不会导致错误 (对不起,我的英语不是很好) 系统数据实体 at System.Data.Metadata.Edm.MetadataArtifactLoaderCompositeResource.LoadResources(String assemblyName, String resourceName, ICollection`1 uriRegistry,

当我安装Project Server时,它正在本地项目中运行,但对Entityçağdığdımda的任何查询都没有响应,并且给出此错误不会导致错误

(对不起,我的英语不是很好)

系统数据实体

   at System.Data.Metadata.Edm.MetadataArtifactLoaderCompositeResource.LoadResources(String assemblyName, String resourceName, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
   at System.Data.Metadata.Edm.MetadataArtifactLoaderCompositeResource.CreateResourceLoader(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
   at System.Data.Metadata.Edm.MetadataArtifactLoader.Create(String path, ExtensionCheck extensionCheck, String validExtension, ICollection`1 uriRegistry, MetadataArtifactAssemblyResolver resolver)
   at System.Data.Metadata.Edm.MetadataCache.SplitPaths(String paths)
   at System.Data.Common.Utils.Memoizer`2.<>c__DisplayClass2.<Evaluate>b__0()
   at System.Data.Common.Utils.Memoizer`2.Result.GetValue()
   at System.Data.Common.Utils.Memoizer`2.Evaluate(TArg arg)
   at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace(Boolean initializeAllCollections)
   at System.Data.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
   at System.Data.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor)
   at System.Data.Objects.ObjectContext..ctor(EntityConnection connection)
   at System.Data.Entity.Internal.InternalConnection.CreateObjectContextFromConnectionModel()
   at System.Data.Entity.Internal.LazyInternalConnection.CreateObjectContextFromConnectionModel()
   at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
   at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
   at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
   at System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator()
   at System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable<TResult>.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
位于System.Data.Metadata.Edm.MetadataArtifactLoaderCompositeResource.LoadResources(String assemblyName,String resourceName,ICollection`1 uriRegistry,MetadataArtifactAssemblyResolver解析程序)
位于System.Data.Metadata.Edm.MetadataArtifactLoaderCompositeResource.CreateResourceLoader(字符串路径、ExtensionCheck ExtensionCheck、字符串validExtension、ICollection`1 uriRegistry、MetadataArtifactAssemblyResolver解析程序)
在System.Data.Metadata.Edm.MetadataArtifactLoader.Create(字符串路径、ExtensionCheck ExtensionCheck、字符串validExtension、ICollection`1 uriRegistry、MetadataArtifactAssemblyResolver解析程序)
位于System.Data.Metadata.Edm.MetadataCache.SplitPath(字符串路径)
在System.Data.Common.Utils.Memoizer`2.c_uudisplayClass2.b_uu0()中
在System.Data.Common.Utils.Memoizer`2.Result.GetValue()中
at System.Data.Common.Utils.Memoizer`2.Evaluate(TArg arg)
位于System.Data.EntityClient.EntityConnection.GetMetadataWorkspace(布尔初始化AllCollections)
位于System.Data.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()处
位于System.Data.Objects.ObjectContext..ctor(EntityConnection连接,布尔isConnectionConstructor)
位于System.Data.Objects.ObjectContext..ctor(EntityConnection连接)
位于System.Data.Entity.Internal.InternalConnection.CreateObjectContextFromConnectionModel()处
位于System.Data.Entity.Internal.LazyInternalConnection.CreateObjectContextFromConnectionModel()处
在System.Data.Entity.Internal.LazyInternalContext.InitializeContext()中
位于System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(类型entityType)
位于System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
位于System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator()处
位于System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
位于System.Collections.Generic.List`1..ctor(IEnumerable`1集合)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

连接字符串是否在web.config中?