Crystal Decisons and VB.net web forms

Status
Not open for further replies.

Phillh

Member
Joined
Apr 2, 2003
Messages
7
Location
Cirencester
This has been driving me :mad: for the last 2 days...

I have a standard vb crystal reports viewer control on a web form with just the one simple report bound to it.

when I run the project I get the following error:

ACCESS TO THE PATH "DYNAMIC_IMAGES" HAS BEEN DENIED.

it goes on to say that the ASPNET account has got permission to access it etc etc so I have changed the permissions on everthing a 1000 time only to get the same error....

When transfering the same setup to a windows form it works fine..

Please HEEEELLLLLLLLLPPPPPPPPPP :mad: :mad: :mad: :mad:
 
In Admin Tools open Internet Services Manager, find the virtual directory for your project and set Read/Write permissions.
 
Thanks Robbie but I have tried that one to no avail....

heres the error stack....can you think of anything else?

[UnauthorizedAccessException: Access to the path "dynamic_images" is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
System.IO.Directory.CreateDirectory(String path) +195
CrystalDecisions.Web.ReportAgentBase.get_ImagePhysicalPath() +249
CrystalDecisions.Web.ReportAgentBase.p() +39
CrystalDecisions.Web.ReportAgent.v(Boolean `) +40
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +108
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1489
 
Yeah..according to a document from Microsoft when a web form has a crystal report viewer on it, every time the form is loaded it creates a temporary JPG of the report in the dynamic_images folder which is pushed back upto the web page to display to the user as the report...

Thanks for your help on this its been driving me mad for the last couple of days....
 
Blank graph in report

I am using the web form viewer in an aspx page to display reports. It all works wonderfully except for one pc where the chart is always blank. The same report using the same database on a different pc shows the chart. It doesnt matter what kind of chart I design.

Incidentally crystal is generating an image in the "dynamic_images" folder but that image is blank.

Anybody got any ideas???????? Incidentally other data appears correctly on the report so it is not a db access problem.


I am completely stumped on this one.
 
Access To the path Dynamic_Images denied

Hi,
Ive got the same problem, im runnig Win2003 Server with .net and IIS6.0

Where abouts is this dynamic_images folder? How do i give the system access to create it?

In desperate need of help!!!

Cheers:confused:
 
Im closing this this thread because its a few months old and was never answered to.

You can open your own thread and describe your specific problems there.
 
Status
Not open for further replies.
Back
Top