简体   繁体   English

没有相关的源代码行错误。 编译错误

[英]No relevant source lines error. Compilation error

It has been answered before, but i don't know the way to find the exact solution. 之前已经回答过,但我不知道找到确切解决方案的方法。 I took whole day to find the solution but i entirely stuck with this. 我花了一整天才找到解决方案,但我完全坚持这一点。

I was worked with my project nicely on day before yesterday. 我前天很熟悉我的项目。 I designed many modules for doing my project further. 我为进一步完成项目设计了许多模块。 AS usual i opened and started doing (I didn't get any errors) my project today in visual studio. 像往常一样,我今天在视觉工作室打开并开始做(我没有得到任何错误)我的项目。 To execute my old project(coding) once again, i checked in browser, as soon as i did, my face gone too bad :( because of this strange error. Error is, 为了再次执行我的旧项目(编码),我在浏览器中检查过,我的脸一直变得太糟糕了:(因为这个奇怪的错误。错误是,

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: *CS0009: Metadata file 'c:\\Windows\\Microsoft.NET\\assembly\\GAC_32\\System.EnterpriseServices\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.EnterpriseServices.dll' could not be opened -- 'Error importing module 'System.EnterpriseServices.Wrapper.dll' of assembly 'c:\\Windows\\Microsoft.NET\\assembly\\GAC_32\\System.EnterpriseServices\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.EnterpriseServices.dll' -- An attempt was made to load a program with an incorrect format. * 编译器错误消息: * CS0009:元数据文件'c:\\ Windows \\ Microsoft.NET \\ assembly \\ GAC_32 \\ System.EnterpriseServices \\ v4.0_4.0.0.0__b03f5f7f11d50a3a \\ System.EnterpriseServices.dll'无法打开 - '错误程序集'c:\\ Windows \\ Microsoft.NET \\ assembly \\ GAC_32 \\ System.EnterpriseServices \\ v4.0_4.0.0.0__b03f5f7f11d50a3a \\ System.EnterpriseServices.dll'的导入模块'System.EnterpriseServices.Wrapper.dll' - 尝试是用于加载格式不正确的程序。 '

Source Error: 来源错误:

[No relevant source lines]

I did deleting temporary files in this area : C:\\Users\\username\\AppData\\Local\\Temp\\Temporary ASP.NET Files. 我删除了此区域中的临时文件:C:\\ Users \\ username \\ AppData \\ Local \\ Temp \\ Temporary ASP.NET Files。 But again I'm getting the root folder when am running the project 但是,当我运行项目时,我又得到了根文件夹

Any help, would be more and more helpful to me. 任何帮助,对我来说都会越来越有帮助。 Thanks in advance. 提前致谢。

The error message 错误消息

An attempt was made to load a program with an incorrect format 尝试加载格式不正确的程序

means that there is an incompatibility in processor architecture. 表示处理器体系结构不兼容。 I think you installed either the 32- or 64-bit version of .NET and try to run your website in the opposite architecture. 我认为您安装了32位或64位版本的.NET并尝试在相反的架构中运行您的网站。

You should install both the .NET framework versions, or change your application pool to use the right processor architecture. 您应该安装.NET框架版本,或者更改应用程序池以使用正确的处理器体系结构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM