我安装了VS-2005和VS-2010.由于Crystal Reports作为VS-2010的单独下载提供,我下载并安装.我的旧项目是在使用Crystal Reports 10.0版的VS-2010中.新项目位于VS-2010中,其Crystal Reports版本为13.0.
我在VS-2010中用一个报告做了一个小应用程序.当我尝试运行此项目时,它显示错误:
The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.2.3600.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll'
The indirectly-referenced assembly 'BusinessObjects.Licensing.KeycodeDecoder, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll.
Run Code Online (Sandbox Code Playgroud)
我无法卸载旧的Crystal Reports(即版本10).如何使这些工作并行工作以及GAC和web.config文件中需要进行哪些更改.
我正在构建ASP.NET MVC 5应用程序.
我读到工作库和单元(UOW)模式在这里.
这些示例使用Entity Framework,它本身添加了高级抽象.
我使用的是ADO.NET而不是EF.我想知道:
asp.net-mvc ado.net design-patterns unit-of-work repository-pattern
什么是这家工厂,使用工厂模式的优势是什么?它是否提供可插拔架构?为什么它被称为"工厂"?
我的应用程序基于ASP.NET 2.0构建,并托管在运行Windows Server 2008 R2的专用服务器上.
从过去几天开始,我的用户抱怨应用程序通过选择以前的SQL Server连接值而开始出现故障.GridView开始显示DropDown控件的选项等.当我重新启动SQL Server后台服务时,一切都开始正常工作.我与人们进行了很多讨论,很少有人建议它与应用程序池有关.
我查看了IIS属性,以查看哪个应用程序池正在运行我的应用程序.我发现我的应用程序使用经典应用程序池,管理管道模式设置为:Classic.应用程序也在运行应用程序池标识:LocalSystemAccount.
在数据库连接字符串(在web.config文件中)中,我使用Server Name作为LocalHost with Integrated Security=SSPI.
我想知道上述设置是否与此故障有关.
我是否需要将管道模式更改为集成并将应用程序放在单独的池中?集成Security=SSPI是否与PipeLine Mode?有关?
我的页面需要很长时间才能加载各种控件和菜单图像.我想显示一个带有进度条的弹出窗口.当显示此弹出窗口时,用户必须无法访问Web浏览器上的原始页面.
页面完全加载后,此弹出窗口必须消失.这该怎么做?
我想更改工作文件夹的位置。如何在我的 SVN 存储库中进行更改?我正在使用 TortoiseSVN 客户端。
我正在学习在ASP.NET中使用Handler.
我添加了Web Form并将扩展名更改为"*.bspx".
我添加了一个类,代码如下:
namespace Experiments1
{
public class UniqueHandler: IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
if (context.Request.RawUrl.Contains(".bspx"))
{
string newUrl = context.Request.RawUrl.Replace(".bspx", ".aspx");
context.Server.Transfer(newUrl);
}
}
public bool IsReusable
{
get { return false; }
}
}
}
Run Code Online (Sandbox Code Playgroud)
我在web.config文件中添加了以下行:
<system.webServer>
<handlers>
<add verb="*" path="*.bspx" name="Uniquehandler"/>
</handlers>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
Run Code Online (Sandbox Code Playgroud)
页面"default.aspx"有一个链接按钮,其中设置了回发URL以打开上面的页面.
<asp:LinkButton ID="lnk" PostBackUrl="~/DifferentPage.bspx" runat="server" Text="Bspx"></asp:LinkButton>
Run Code Online (Sandbox Code Playgroud)
但是当我点击上面的链接按钮时,它显示错误:
The HTTP verb POST used to access path '/DifferentPage.bspx' is not allowed.
Run Code Online (Sandbox Code Playgroud)
**编辑**Web.Config代码
<?xml version="1.0"?>
<!--
For more information …Run Code Online (Sandbox Code Playgroud) asp.net ×2
html ×2
.net-3.5 ×1
ado.net ×1
ajax ×1
asp.net-2.0 ×1
asp.net-4.0 ×1
asp.net-mvc ×1
c# ×1
factory ×1
iis ×1
iis-7 ×1
javascript ×1
pyqt4 ×1
svn ×1
tortoisesvn ×1
unit-of-work ×1