Re: IIS6 ASP Crystal DLL

From: Sunil DHURVE (SunilDHURVE_at_discussions.microsoft.com)
Date: 05/06/05


Date: Thu, 5 May 2005 15:30:01 -0700

hello david,
thanks for all your support,
I hope I can get some answer from bloody Crystal people.
once again thanks and talk to you later
sunil

"David Wang [Msft]" wrote:

> No, that's a bug in Crystal reports because it assumes it is running with a
> user credential that can write to that folder. Crystal support should be
> able to tell you which user identity it is using to do that work.
>
> Your basic choices are:
> 1. Change ACL on the temp directory to allow access to the user account
> Crystal runs with
> 2. Change process identity to have write access to the temp directory
> 3. Change Crystal to use a user identity that has write access to the temp
> directory
>
> None of the choices should be made by you. Crystal reports needs to tell you
> what is the supported and secure way to configure for their software's
> needs. My guess is that #1 should be preferred. #2 is a very poor choice,
> and #3 potentially requires new code from Crystal to handle.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> "Sunil DHURVE" <SunilDHURVE@discussions.microsoft.com> wrote in message
> news:87A1A994-F59F-4889-BD0C-320E90793663@microsoft.com...
> Hello David,
> thanks for your response,
> Ok I tell you something when crystal exports the report it writes some temp
> files into c:\windows\temp which it is doing successfully in IIS6 with IIS5
> isolation mode,
> when I turn on the IIS6 worker model, it somehow doesnt have permission to
> write the temp files into the c:\windows\temp folder, do you know how can I
> set the permission for the w3wp.exe process so that it can write temp files
> into c:\windows\temp.
> thanks for all your help!
> regards
> sunil
>
> "David Wang [Msft]" wrote:
>
> > Sorry, but I think that you need to ask support staff for Crystal Report:
> > 1. Whether they support running on IIS6
> > 2. If yes to #1, what configuration is necessary
> >
> > If you follow their steps and it does not work, then they need to show
> there
> > is an IIS6 bug for it to be an IIS6 issue. Otherwise, it is simply
> > misconfiguration of their own product -- and they are responsible for
> that.
> >
> >
> > IIS6 has no such lockdown that you are imagining. Neither the Crystal
> Report
> > DLL, nor FSO, nor your VB6 DLL are considered "part of IIS6" and given
> > special treatment to write to the filesystem - they are all considered COM
> > objects. If you configure them all to load in the same application and one
> > can write to the filesystem, then they can all write to the filesystem.
> >
> > Bottom line: I think you are doing a whole bunch of work that Crystal
> > Designer support team is supposed to handle for you, and I do not see an
> IIS
> > issue here at all. Crystal Designer is obligated to make this work for you
> > or prove it is an IIS6 bug.
> >
> > --
> > //David
> > IIS
> > http://blogs.msdn.com/David.Wang
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > //
> > "Sunil DHURVE" <Sunil DHURVE@discussions.microsoft.com> wrote in message
> > news:DFA20032-F753-460B-8202-AED20366B39D@microsoft.com...
> > Hello David
> > Thanks for your reply,
> > you know what I already asked them and they say use Crystal Report 9 or 10
> > and I tried both of them but it still just creates the 0KB file and doesnt
> > go
> > ahead!
> > when I use IIS5 everything works fine, David, I am thinking there should
> be
> > some way in IIS6 to tell him that please let this DLL export the report
> > because of tightened security.
> > I checked all the permission and IWPG_ user all the required permission,
> > IIS6 is able to write to text file using FSO because it is its own DLL,
> > while
> > Crystal Designer Library is not by IIS6 so I am thinkikng more towards
> > solving it from IIS point of view.
> > Please let me know how can I use external DLL in IIS6 say for example the
> > DLL created in VB6.
> > Regards and many thanks!
> > Sunil
> > "David Wang [Msft]" wrote:
> >
> > > You will need to obtain support for the Crystal designer runtime library
> > as
> > > to whether it supports IIS6 and if so, with what configuration.
> > >
> > > If you are seeing a file of 0KB show up, it looks like an issue totally
> > > withoun Crystal designer runtime library because IIS6 cannot prevent a
> > > report from being exported. The fact that the 0kb file exists shows that
> > the
> > > user identity used by Crystal designer runtime allows the file to be
> > written
> > > to that directory -- why Crystal designer does not write the full report
> > to
> > > the file -- that is a question to ask of Crystal designer runtime
> support
> > > team.
> > >
> > > --
> > > //David
> > > IIS
> > > http://blogs.msdn.com/David.Wang
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > > //
> > > "Sunil DHURVE" <Sunil DHURVE@discussions.microsoft.com> wrote in message
> > > news:FD2AA17B-440F-4BE6-8BF7-C91A49D46FDA@microsoft.com...
> > > Hello, i am having a ASP application which uses crystal designer runtime
> > > library to display crystal reports. it works perfectly fine with IIS5
> > under
> > > dllhost.exe architecture as the IIS6 has got a worker processor model it
> > > IIS6
> > > doesnt allow the crystal DLL to export the report to a directory, it
> > creates
> > > teh file but the file is of 0KB and it is locked so i think somehow i
> have
> > > to
> > > let IIS6 know that let crystal dll export the report.
> > > do you know where can i set this option or configuration please let me
> > konw
> > > thanks in advance
> > >
> > >
> > >
> >
> >
> >
>
>
>



Relevant Pages

  • Re: Temporary files accumulating
    ... At each bootup and at the same time as the "permanent" temp ... though I don't know how to fix it) I took a look at the temp folder in my ... I would like to solve the Help and Support problem though, ... 20 or more of these accumulating in the Temp folder. ...
    (microsoft.public.windowsxp.general)
  • Re: Application Pool and C:Documents and Settings?
    ... IIS does NOT have a requirement to access those directories. ... Your application may be relying on the %TEMP% environment variable, ... I am using an ASP application running on Win 2003, IIS6 and Project Server ... C:\Documents and Settings\Username\....Temporary Internet files ...
    (microsoft.public.inetserver.iis)
  • RE: Using Special Folders in App.Config
    ... I'm afraid there is no other way to create the trace log file in the temp ... Dim listener As TraceListener ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vb)
  • Re: in-memory sql queries
    ... Ralf Mimoun wrote: ... support for a kind of temp table as well. ... MD Anderson Dept. of Biostatistics & Applied Mathematics ...
    (borland.public.delphi.non-technical)
  • Re: Help with plexi-glass
    ... use a hairdryer to bring the temp up. ... definately not let either side of the sheet hang. ... Support both your good ...
    (rec.woodworking)

Quantcast