What my server need?

Last post 05-03-2007 4:25 PM by ryanoc. 8 replies.

Sort Posts:

  • What my server need?

    03-06-2006, 9:14 AM
    • Participant
      1,259 point Participant
    • mariolopes
    • Member since 04-15-2005, 2:42 PM
    • Coimbra - Portugal
    • Posts 581

    Hello

    When i send the file to the server i get the following error:

    I use VS2005 and in local mode it works fine. Any help please?

    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. File not found.

    Source Error:

    Line 1:  <%@ Page Language="VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="testes.aspx.vb" Inherits="testes" title="Untitled Page" %>
    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:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    Source File: /mediateca/biblioteca/testes.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.50215.44; ASP.NET Version:2.0.50215.44

    I don't know if http://p2p.wrox.com/topic.asp?TOPIC_ID=20574 helps

    Mario Lopes
    http://www.mariolopes.com
  • Re: What my server need?

    03-07-2006, 12:25 PM
    • Member
      283 point Member
    • jason_m
    • Member since 01-27-2006, 2:36 PM
    • Marysville, PA
    • Posts 81

    I had a heck of a time with this problem as well. Copy this file over to your server and run the installer

    C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi

    This puts the missing packages on your webs server to run crystal.

    Jason
    Programmer
    Specialty Bakers, Inc.
  • Re: What my server need?

    03-07-2006, 3:07 PM
    • Member
      550 point Member
    • David_ING
    • Member since 01-04-2005, 2:39 PM
    • Iowa
    • Posts 111
    Thank you Thank you Thank you, This worked I have been pounding my head over this for days.
    David Stout
    Systems Programmer
    Regency Homes
    ragbrai65@yahoo.com
  • Re: What my server need?

    01-28-2007, 5:17 PM
    • Contributor
      6,732 point Contributor
    • mcmcomasp
    • Member since 03-08-2004, 4:45 PM
    • Toronto
    • Posts 1,382

    what if our web server is not accessible in that way.  im on an asp.net shared hosting env.  They allow full asp.net apps but i dont have the ability to execute msi packages on their servers/

     

    thnaks,

    mcm

  • Re: What my server need?

    01-28-2007, 9:55 PM
    • Member
      283 point Member
    • jason_m
    • Member since 01-27-2006, 2:36 PM
    • Marysville, PA
    • Posts 81

    In theory you should be able to copy the required assemblies to the projects bin folder and reference these dlls instead of the default dlls.  I don't know how to do this exactly, but it should be possible in theory.

    Jason
    Programmer
    Specialty Bakers, Inc.
  • Re: What my server need?

    01-29-2007, 7:58 PM
    • Contributor
      2,214 point Contributor
    • dcurry
    • Member since 08-17-2003, 12:29 PM
    • Victoria, BC Canada
    • Posts 444
    You can accomplish this by recording which crystal references are currently in the project (pointed to the GAC of course). Copy each to the bin manually, and perhaps copy them somewhere for reference as the crystal gac structure is convoluted to say the least. Once you have them there, remove the project's GAC references and manually add references the now-existing bin crystal dlls... hth, drew..
  • Re: What my server need?

    01-30-2007, 1:00 PM
    • Star
      9,857 point Star
    • rjdudley
    • Member since 10-07-2003, 1:53 PM
    • Butler, PA
    • Posts 1,927
    You can't just copy the DLLs--Crystal requires a keycode to be installed on the server.  CR was not designed for a shared hosting environment.
    If my post is your answer, please mark it as the answer. It will bring good karma.

    Crystal Alliance
    My Blog
    Florist Blogs
  • Re: What my server need?

    01-30-2007, 1:07 PM
    • Contributor
      6,732 point Contributor
    • mcmcomasp
    • Member since 03-08-2004, 4:45 PM
    • Toronto
    • Posts 1,382

    yes after much reading i discovered my host does not support CR/.  I have since moved to MS REporting (rdlc) reports and they are working fine.

     

    thanks,

    mcm

  • Re: What my server need?

    05-03-2007, 4:25 PM
    • Member
      300 point Member
    • ryanoc
    • Member since 12-06-2002, 6:18 PM
    • Tampa Florida
    • Posts 138

    Thanks jason_m, that worked for me! Ive been banging my head for a while trying to figure this out.

     RyanOC
     

    Ryan Connolly
    iNetspace.com
Page 1 of 1 (9 items)