`
csstome
  • 浏览: 1519782 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Deploying a Web Application that Uses NetAdvantage for ASP.NET Controls....

阅读更多

Deploying a Web Application that Uses NetAdvantage for ASP.NET Controls

1. 需要创建一个ig_common 的虚拟目录,将你的开发机上的 asp.net 20073CLR20 文件夹和 Image copy 里你的拟目录下。

2. 在程序发布的文件夹内的Bin 里一定要包含全 infragistics .dll

3. 如果用到了webschedule ,那个就要在webschedule 的目创建一个bin文件夹,Bin里面加上一个包含所有infragistics .dll

看具休的档说明

Deploying a Web Application that Uses NetAdvantage for ASP.NET Controls

Before You Begin

Deploying Web applications that use one or more NetAdvantage for ASP.NET controls/components is very similar to deploying any other assembly. The NetAdvantage for ASP.NET controls' assemblies are installed in the Global Assembly Cache (GAC) by default. However, the NetAdvantage for ASP.NET controls use other folders that you should be aware to ensure successful deployment. In .NET Framework 2.0, it's relatively simple to deploy the NetAdvantage for ASP.NET control assemblies.

What You Will Accomplish

In this walkthrough, you will learn how to deploy NetAdvantage for ASP.NET controls/components to a Web server that hosts your Web application.

Follow these Steps

1. Locate and deploy the correct assemblies.

a. Navigate to the following folder where the NetAdvantage for ASP.NET assemblies are installed by default: C:\Program Files\Infragistics\NetAdvantage for .NET 2007 Vol. 3 CLR 2.0\ASP.NET\bin.

b. Copy the necessary assemblies from this directory and paste them into your Web application's bin directory on the production server. Alternatively, you can place the Infragistics assemblies into the production server's GAC, assuming you have the proper permissions.

At minimum, all NetAdvantage ASP.NET controls/components require the Infragistics2.WebUI.Shared.v7.3 assembly for deployment. For more information on which assemblies need to be deployed for which control, see Deployment Overview.

2. In certain cases, you may need to deploy the Forms, Scripts, Styles, and Images directories (see the list below for the scenarios). By default, the NetAdvantage for ASP.NET controls/components look for a virtual directory called "ig_common", which points to the physical path of the Forms, Scripts, Styles, and Images directories. (Alternatively, you can locate these directories in the following folder where the NetAdvantage for ASP.NET product is installed by default: C:\Program Files\Infragistics\NetAdvantage for .NET 2007 Vol. 3 CLR 2.0\ASP.NET\):

· If you used the WebSchedule™ control in your application, locate the following directory

C:\Inetpub\wwwroot\aspnet_client\Infragistics\20073CLR20\Forms

· If you modified JavaScript files (not recommended), locate the following directory:

C:\Inetpub\wwwroot\aspnet_client\Infragistics\20073CLR20\Scripts

Note: In .NET Framework 2.0, the NetAdvantage for ASP.NET controls' JavaScript files and some images are included in each control's assembly (e.g., Infragistics2.WebUI.UltraWebGrid.7.3) as embedded resources. Therefore, unless you modified the JavaScript files, it's not necessary to deploy the JavaScript files found in the Scripts directory to the production server.

· If you used the WebSchedule control in your application, or you applied presets (i.e., Aero, Aqua, Default, ElectricBlue, Onyx, Royale, XpBlue, XpOlive, or XpSilver), located the following directory:

C:\Inetpub\wwwroot\aspnet_client\Infragistics\20073CLR20\Styles

Note: If you are using the WebSchedule, you must deploy Forms and Style directories. In addition, certain presets (e.g., Aero, Aqua presets) also require you to deploy the Style directory.

· If you are using your own custom images in your application, as opposed to Infragistics' predefined images, locate the following directory:

C:\Inetpub\wwwroot\aspnet_client\Infragistics\Images

3. Deploy the Forms, Scripts, Styles, and Images directories that you located in step 2, as necessary.

. On the production server, create a parent directory.

a. Place the "20073CLR20" and "Images" directories in the parent folder that you created in step 3a.

b. Create the ig_common virtual directory and point to the parent folder that you created. For example, if you create a parent folder named "Infragistics" anywhere on the production server, place the 20073CLR20 and "Images" directories under the "Infragistics" directory. Then create the ig_common virtual directory and point to that "Infragistics" folder.

-到些为止我发现我在使用webschedule 的仍然有问题,包下面的错误:

Server Error in '/ig_common/20071CLR20/Forms/WebSchedule' Application.

--------------------------------------------------------------------------------

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Infragistics2.WebUI.Shared.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 15: <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

Line 16: <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

Line 17: <add assembly="Infragistics2.WebUI.Shared.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

Line 18: <add assembly="Infragistics2.WebUI.UltraWebTab.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

Line 19: <add assembly="Infragistics2.WebUI.WebDateChooser.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />

Source File: C:\Inetpub\wwwroot\aspnet_client\infragistics\20071clr20\forms\webschedule\web.config Line: 17

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Infragistics2.WebUI.Shared.v7.1, Version=7.1.20071.40, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' could not be loaded.

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

WRN: Assembly binding logging is turned OFF.

通常的意思在虚拟主机的根目录下的bin文件夹中找不到所需的Assembly文件(或称.dl文件)

于是我加上了最面的第3条,问题解决。

分享到:
评论

相关推荐

    Pro.ASP.NET.2.0.E.Commerce.in.C.Sharp.2005.Dec.2006.part2

    In this book, I will use a real-world example to demonstrate how to construct a multitiered ASP.NET application that allows a business to sell its merchandise online. Using this real-world, ...

    [ASP.NET.3.5高级程序设计(第2版)].Pro.ASP.NET.3.5.in.C#.2008.2th.edtion part 2

    Pro ASP.NET 3.5 in C# 2008 raises the bar for high–quality, practical advice on learning and deploying Microsoft’s dynamic web solution. Seasoned .NET professionals Matthew MacDonald and Mario ...

    [ASP.NET.3.5高级程序设计(第2版)].Pro.ASP.NET.3.5.in.C#.2008.2th.edtion part 1

    Pro ASP.NET 3.5 in C# 2008 raises the bar for high–quality, practical advice on learning and deploying Microsoft’s dynamic web solution. Seasoned .NET professionals Matthew MacDonald and Mario ...

    VB.Net Programming.pdf

    Module 4: Object-Oriented Design for Visual Basic .NET Overview..............................................................................................................1 Designing Classes.........

    Learning.Node.js.for..NET.Developers.epub

    Build an interactive web application with MongoDB and Redis and create your own JavaScript modules that work both on the client side and server side Familiarize yourself with the new features of Node....

    Programming with MS VB.NET.pdf

    Module 4: Object-Oriented Design for Visual Basic .NET Overview.................................................................................................................1 Designing Classes......

    Essential Docker for ASP.NET Core MVC

    what it is, and why you should be using it for your ASP.NET Core MVC applicationsUse Docker to create a development platform for ASP.NET Core MVC so that applications behave consistently across ...

    ASP.NET Core: Cloud-ready, Enterprise Web Application Development

    This book is for developers who want to learn to build web applications using ASP.NET Core, those who want to make a career building web applications using Microsoft technology, and those who are ...

    ASP.NET 3.5 高级程序设计英文第3版:Pro ASP.NET 3.5 in C# 2008: Includes Silverlight 2(part1)

    Pro ASP.NET 3.5 in C# 2008 raises the bar for high–quality, practical advice on learning and deploying Microsoft’s dynamic web solution. This new edition is updated with everything you need to ...

    DevOps-with-ASP.NET-Core-and-Azure.pdf

    Learn the various methods for deploying an ASP.NET Core app to Azure App Service. Continuous integration and deployment Build an end-to-end continuous integration and deployment solution for your ...

    Pro ASP.NET MVC 5.mobi

    This book is for web developers with a basic knowledge of ASP.NET and C#who want, or need, to start using the new ASP.NET MVC 5 Framework. Table of Contents Part I: Introducing ASP.NET MVC 5 1. What'...

    MSDN Traning - VB.NET (VBL).pdf

    Module 4: Object-Oriented Design for Visual Basic .NET Overview....................................................................................................1 Designing Classes...................

    Pro ASP.NET MVC 5.pdf

    This book is for web developers with a basic knowledge of ASP.NET and C#who want, or need, to start using the new ASP.NET MVC 5 Framework. Table of Contents Part I: Introducing ASP.NET MVC 5 1. What'...

    Programming with Microsoft Visual Basic.NET_Delivery Guide.pdf

    Module 4: Object-Oriented Design for Visual Basic .NET Overview....................................................................................................1 Designing Classes...................

    Learning ASP.NET Core MVC Programming

    "Learning ASP.NET Core MVC Programming" English | ISBN: 1786463830 | 2016 | ...Explore new configuration and deployment scenarios—step by step guide to deploying ASP.NET Core web application in Linux

    信息: Deploying web application directory lx01

    在给定的信息中,我们正在部署两个Web应用程序目录——`lx01`和`blog`。这个过程由Apache Tomcat服务器执行,一个流行的Java Servlet容器。然而,部署过程中遇到了问题,特别是与`blog`应用程序相关的错误。 错误...

    Pro ASP.NET MVC 5 epub

    This book is for web developers with a basic knowledge of ASP.NET and C#who want, or need, to start using the new ASP.NET MVC 5 Framework. Table of Contents Part I: Introducing ASP.NET MVC 5 1. What'...

    Test-Drive ASP.NET MVC

    Microsoft has addressed the shortcomings of ASP.NET and created a framework that goes toe-to-toe with other popular web frameworks such as Ruby on Rails. Programming in C# is fun again! This book ...

Global site tag (gtag.js) - Google Analytics