Re: No Touch Deployment Not Working On Some PC's

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Tim,

I've tried placing all the crystal reports dlls in the same application
folder as the exe but no luck. I still get the same error message. I'll do a
bit more investigation...

Thanks
hakl

"Tim_Mac" wrote:

> hi hakl,
> if the application is missing some dlls, it looks in different places to try
> and find them. these are done in order, (but i forget that exact order).
> it's called probing. it looks in the application base path, in the /bin
> folder, in the global assembly cache, and a few others.
> have you tried placing all those Crystal reports dlls in the application
> folder with the .exe? my guess is this should work, and those machines
> without the DLLs in their globaly assembly cache should download them
> automatically. if not, it might be worth posting the question again now
> that we know exactly where the breakdown is.
>
> tim
>
> --------------------------
> blog: http://tim.mackey.ie
>
> "hakl" <hakl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:5F7C4B14-E783-4CD3-924F-CE08C13B8E20@xxxxxxxxxxxxxxxx
> > Hi Tim,
> >
> > You are absolutely correct. It appears the problem is related to Crystal
> > Reports. When I installed the app to run locally on the machine that would
> > not run the app through URL, it works fine. After installing the
> > application
> > locally, I can even launch and run the app through URL and display reports
> > correctly. As soon as I uninstall the application from the local machine,
> > the
> > app would not run from the URL any more and the message "An Exception has
> > been thrown by the target of an invocation" appears again.
> >
> > I looked in the assembly cache after I installed the app locally and it
> > had
> > all these BusinessObject (Crystal Reports) related assemblies in the
> > assembly
> > cache. As soon as I uninstall the app from the local machine, these
> > BusinessObjects assemblies disappear from the Global Assembly Cache.
> >
> > Sorry this question may have obvious answers but what is the best way or
> > how
> > can I ensure that all these BusinessObject assemblies are in the Assembly
> > Cache of the machine when launching the No Touch Deployment application
> > from
> > the URL?
> >
> > Thank you again for your assistance.
> > Regards
> > hakl
> >
> > "Tim_Mac" wrote:
> >
> >> hi hakl,
> >> sorry if this sounds obvious, but have you ruled out that it isn't a
> >> crystal
> >> reports problem?
> >> do the reports open OK on problem machines if you install the app and run
> >> locally, i.e. not through smart client / IeExec?
> >>
> >> thanks
> >> tim
> >>
> >> --------------------------
> >> blog: http://tim.mackey.ie
> >>
> >> "hakl" <hakl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> news:AFC646C4-DC60-4FE6-B114-326FBF27430B@xxxxxxxxxxxxxxxx
> >> > Hi Tim,
> >> > Thank you for your reply. I was able to browse to the application
> >> > directory
> >> > for both the machine that works and one that does not work.
> >> >
> >> > It appears all our machines are in the same IE Zone. Our operating
> >> > system
> >> > is
> >> > a customised Win XP and controlled by our Infrastructure group.
> >> >
> >> > Our .Net winform app uses Crystal Reports 11 & ADO.Net. We apply the
> >> > same
> >> > security settings (FullTrust) to all the client machines. About 50% of
> >> > them
> >> > run the app ok, but the other 50% wouldnt run. On the machines that the
> >> > application won't run, the app. opens alright but as soon as I click on
> >> > a
> >> > report (which retrieves data from SQL 2K) from the menu, this error
> >> > message
> >> > appears: "An Exception has been thrown by the target of an invocation".
> >> > The
> >> > other 50% of the machines run perfectly. The strange thing is all the
> >> > machines have the same operating system (Win XP) with the same version
> >> > of
> >> > IE.
> >> >
> >> > Any other clues/ideas?
> >> > Thanks
> >> > hakl
> >> >
> >> > "Tim_Mac" wrote:
> >> >
> >> >> hi Hakl,
> >> >> are all the machines in the same IE zone for the application url? you
> >> >> could
> >> >> check this by allow directory browsing on the application directory,
> >> >> and
> >> >> web-browsing to it on a machine that the app works on, and on another
> >> >> that
> >> >> it doesn't work on.
> >> >>
> >> >> do they all have the same proxy configuration?
> >> >>
> >> >> what happens when you run the IE shortcut to the .exe on a machine (in
> >> >> the
> >> >> not-working scenario).
> >> >> any exceptions or error messages?
> >> >>
> >> >> thanks
> >> >> tim
> >> >> p.s. only reply to the newsgroup. it's a public repository of problems
> >> >> +
> >> >> solutions, rather than a personal tech support system :)
> >> >>
> >> >> --------------------------
> >> >> blog: http://tim.mackey.ie
> >> >>
> >> >> "hakl" <hakl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >> >> news:083E3DD2-07BC-441B-A06E-742F93C7902C@xxxxxxxxxxxxxxxx
> >> >> > Hi all,
> >> >> >
> >> >> > I have a deployed a No Touch Deployment (NTD) and the app works on
> >> >> > some
> >> >> > PC's
> >> >> > but not others. All our PC's have a standard operating environment
> >> >> > (Win
> >> >> > XP).
> >> >> > When I look in the Assembly Download Cache, I can't see all the
> >> >> > required
> >> >> > dll's files for the PC's that cant run the app. However with the
> >> >> > PC's
> >> >> > that
> >> >> > can run the app, I can see all the required dll's in the download
> >> >> > cache.
> >> >> >
> >> >> > How can I fix this problem?
> >> >> >
> >> >> > I've been stuck with this problem for the last couple of days.
> >> >> >
> >> >> > Any ideas/leads/sample codes would be much appreciated.
> >> >> > Please reply to hak1lin@xxxxxxxxxxxxxxxxx
> >> >> > Thanks
> >> >> > hakl
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
.



Relevant Pages

  • Re: Crystal Reports and COBOL
    ... >>>Anyone out here use Crystal Reports? ... I have an old 16bit native windows ... >>>I'm in the process of converting this app to native 32bit Windows ...
    (comp.lang.cobol)
  • Re: Crystal Reports and VB
    ... I would say that any version will give you the reporting tools that ... you mean either "Crystal Reports" or "Crystal Enterprise". ... your app just uses CR to display/print reports using the customary tools. ...
    (microsoft.public.vb.general.discussion)
  • Re: No Touch Deployment Not Working On Some PCs
    ... When I installed the app to run locally on the machine that would ... I can even launch and run the app through URL and display reports ... BusinessObjects assemblies disappear from the Global Assembly Cache. ... >> It appears all our machines are in the same IE Zone. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Charts in crystal report displayed like broken image links
    ... I am developing some reports with VS.NET built-in ... crystal reports, these reports are displayed in asp.net pages and when ... but when I deploy the web app in the server the charts are displayed ...
    (microsoft.public.vb.crystal)
  • Re: Memory management problem?
    ... The DevMode etc properties can be VERY tricky. ... Run the app locally. ... One app is a reporting one, and it opens reports (in either ...
    (comp.databases.ms-access)