Crystal Reports Deployiment Failure

G

Guest

Hi,

I'm desesperate, for long 4 days that I am trying to deploy an application
with crystal reports, and it fails...

I checked the documentation and it says the merge modules necessary to
implement on the installer.. I already put them there and every time I call a
crystal report I have and exception and the log.

I will post it here:

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly
'CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system
cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304'
at *.Files.print..ctor(Int32 userid, String name, String miss, String
partmiss, String dayExp, String dayWork, String weekExp, String weekWork,
String ponctuality, String monthdev, String comdev, String exceptions, String
vacexp, String vacunassigned, String vacscheduled, String vacused)
at *.Files.MainSummary.aquaButton1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: User = ainacio
LOG: DisplayName = CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///D:/Program Files/*/
LOG: Initial PrivatePath = NULL
Calling assembly : *, Version=0.0.27.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from
D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared.EXE.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared/CrystalDecisions.Shared.EXE.

What is wrong...
Please Help me

note: * is personal information I should not write it ;)
 
G

Guest

Have you tried to apply all SP and hotfixed from crystal website?

Diogo Alves - Software Developer said:
Hi,

I'm desesperate, for long 4 days that I am trying to deploy an application
with crystal reports, and it fails...

I checked the documentation and it says the merge modules necessary to
implement on the installer.. I already put them there and every time I call a
crystal report I have and exception and the log.

I will post it here:

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly
'CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system
cannot find the file specified.
File name: 'CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304'
at *.Files.print..ctor(Int32 userid, String name, String miss, String
partmiss, String dayExp, String dayWork, String weekExp, String weekWork,
String ponctuality, String monthdev, String comdev, String exceptions, String
vacexp, String vacunassigned, String vacscheduled, String vacused)
at *.Files.MainSummary.aquaButton1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: User = ainacio
LOG: DisplayName = CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///D:/Program Files/*/
LOG: Initial PrivatePath = NULL
Calling assembly : *, Version=0.0.27.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from
D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Shared, Version=9.1.5000.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared.EXE.
LOG: Attempting download of new URL file:///D:/Program
Files/*/CrystalDecisions.Shared/CrystalDecisions.Shared.EXE.

What is wrong...
Please Help me

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
E

ESmith

If you are using VS2005 do this (it took me ages to figure this out!):

1. Add a "WebSetup" Project to your solution.
2. Right click on the setup project, select ADD->Project Output - it should
have "Content Files" in it.
3. Right click on the setup project, select Properties
4. Click on "Prerequisites" - Select "Microsoft Data Access Components 2.8"
and "Crystal Reports for .Net Framework 2.0"

This will add the crystal reports installer to your deployment project.


"Diogo Alves - Software Developer"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top