我是编程新手,需要回答以下答案 [英] I am new in programming and need answer of following answer

查看:105
本文介绍了我是编程新手,需要回答以下答案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

i已经下载了一个项目的源代码,但是在运行项目时我收到以下错误请紧急帮我。



错误29无法更新项目引用'V2.PaidTimeOffBLL'。源项目不可用。 http:// localhost / PaidTimeOffUI /



错误30无法更新项目引用'V2.PaidTimeOffDAL'。源项目不可用。 http:// localhost / PaidTimeOffUI /



错误36无法加载文件或程序集'CrystalDecisions.CrystalReports.Engine,Version = 10.5.3700.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304'或其依赖项之一。该系统找不到指定的文件。 E:\Demoproject \ Chapter 11 \ Chapter 11 \ PaidTimeOffSolution\PaidTimeOffUI\web.config 80

hello,
i have download the source code of an project but while running the project i am getting the following error please help me urgently.

Error 29 Cannot update project reference 'V2.PaidTimeOffBLL'. Source project not available. http://localhost/PaidTimeOffUI/

Error 30 Cannot update project reference 'V2.PaidTimeOffDAL'. Source project not available. http://localhost/PaidTimeOffUI/

Error 36 Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. E:\Demoproject\Chapter11\Chapter11\PaidTimeOffSolution\PaidTimeOffUI\web.config 80

推荐答案

对于错误29-你必须添加参考 V2.PaidTimeOffBLL dll。可能在您的bin文件夹中。或者删除黄色无效引用并单独构建该特定项目,然后再将该dll添加到所需项目作为参考。



为错误30做同样的事情 - V2.PaidTimeOffDAL



错误36 - 检查以下内容提到链接。



Crystal Report-无法加载文件。 [ ^ ]



http://support.xincube.com/KB/a17/could-not-load- file-assembly.aspx [ ^ ]



http://www.aspdotnet-suresh.com/2012/01/could-not-load-file-or-assembly.html [ ^ ]



更新



For Error 29- you have to add reference for the V2.PaidTimeOffBLL dll.That may be in your bin folder.Or remove yellow colored invalid reference and build that particular project alone and again add that dll to the required project as a refernce.

Do the same for Error 30- V2.PaidTimeOffDAL

Error 36 - Check below mentioned links.

Crystal Report- Could not load the file.[^]

http://support.xincube.com/KB/a17/could-not-load-file-assembly.aspx[^]

http://www.aspdotnet-suresh.com/2012/01/could-not-load-file-or-assembly.html[^]

UPDATE

引用:

此错误可能是由于虚拟目录未配置为IIS中的应用程序造成的。



您可以拥有web.config子目录的文件。但是,某些属性无法在子目录的web.config中设置,例如身份验证,会话状态。原因是,除非子目录也被配置为应用程序,否则不能在子目录级别覆盖这些设置。



您可以尝试指定位置路径标签和授权,如下: -



This error can be caused by a virtual directory not being configured as an application in IIS.

you can have web.config file for the sub-directory. However, there are certain properties which cannot be set in the web.config of the sub-directory such as authentication, session state. The reason is, these settings cannot be overridden at the sub-directory level unless the sub-directory is also configured as an application.

You can try to specify the location path tags and authorization, as follows:-

<location path="Admin">
<system.web>
<authorization>
<allow roles="administrators" />
<deny users="*" />
</authorization>
</system.web>
</location>





如果您希望在子目录级别拥有web.config并保护sub -directory,你可以按如下方式指定授权模式: -





If you wish to have a web.config at the sub-directory level and protect the sub-directory, you can just specify the Authorization mode as follows:-

<configuration>
<system.web>
<authorization>
<allow roles="administrators" />
<deny users="*" />
</authorization>
</system.web>
</configuration>



因此,您可以保护子目录免受未经授权的访问。


Thus you can protect the sub-directory from unauthorized access.





欲了解更多信息: http://social.msdn.microsoft.com/Forums/vstudio/en-US/238eeead-482f-4d82-b26f-37f2ef543b40 / error-to-use-a-section-registered-as-allowdefinitionmachinetoapplication-beyond-application-level?prof = required [ ^ ]



虚拟目录未配置为IIS中的应用程序???????? [ ^ ]







我希望这会对你有所帮助。



For more info :http://social.msdn.microsoft.com/Forums/vstudio/en-US/238eeead-482f-4d82-b26f-37f2ef543b40/error-to-use-a-section-registered-as-allowdefinitionmachinetoapplication-beyond-application-level?prof=required[^]

virtual directory not being configured as an application in IIS ???????[^]



I hope this will help to you.


这篇关于我是编程新手,需要回答以下答案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆