website deployment assembly issue

Last post 06-19-2009 6:48 AM by qwe123kids. 2 replies.

Sort Posts:

  • website deployment assembly issue

    06-19-2009, 6:28 AM

     guys i am new to asp.net and that just know completed a website in visual studio 2005

    now where i have completed my project is working on xp sp2, i have deployed the project on the same machine, it is working nicely.

    and i  deployed it on a machine which is running on windows vista home premium,

    it is giving following error

     

    Server Error in '/PrecompiledWeb/finautosys1' Application.

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1:  <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_rsckrujl" %>
    Line 2:
    Line 3: <%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Line 4: Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    Line 5:

    Source File: /PrecompiledWeb/finautosys1/default.aspx    Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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].


    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

     

    now i saw that where the website is running nicely there assemblies are installed in c:\windows\assembly

    but i am not able to install the assembly manually it says access denied however i am administrator

    guys please help!

  • Re: website deployment assembly issue

    06-19-2009, 6:41 AM
    • Member
      402 point Member
    • subhashdike
    • Member since 05-13-2005, 10:32 AM
    • India
    • Posts 84

    Use

    gacutil /i CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304

    You will have to run this from Visual Studio Command Prompt and make sure that you provide appropriate path for the assembly if required.

     

    More details are here

    http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx 

    ===============
    Subhash Dike
    http://coolsubhash-tech.blogspot.com

    Make sure you Mark a reply as Answer if it helps.. It will help others as well

    ===================
  • Re: website deployment assembly issue

    06-19-2009, 6:48 AM
    Answer
    • All-Star
      27,609 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 9:49 AM
    • Mumbai
    • Posts 4,667

    hi,

    Install merge Module On server..

    http://www.codeproject.com/KB/database/CrystalReportViewer.aspx

    OR

    remove the line from the web.config file

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
Page 1 of 1 (3 items)