470,632 Members | 1,992 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

Crystal Reports Deployiment Failure

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.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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\conf ig\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 ;)
Mar 13 '06 #1
2 6646
Have you tried to apply all SP and hotfixed from crystal website?

"Diogo Alves - Software Developer" wrote:
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.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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\conf ig\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
Mar 13 '06 #2
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"
<Di*************************@discussions.microsoft .com> wrote in message
news:C9**********************************@microsof t.com...
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.O nMessage(Message&
m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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\conf ig\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 ;)

Mar 14 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Colin Graham | last post: by
2 posts views Thread by Tim Burda | last post: by
3 posts views Thread by Gheaci Maschl | last post: by
reply views Thread by Bill Sharp | last post: by
reply views Thread by Atif | last post: by
3 posts views Thread by Miro | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.