Access to report file denied. Another program may be using it. 
Author Message
 Access to report file denied. Another program may be using it.

Hi,

I am using Crystal Reports.NET with ASP.NET ...when viewing it on the
development machine everyrthing runs fine and the report is generated fine
in pdf format as i am exporting it to pdf.
development machine has..VS.NET 2002 with crystal reports.net installed on
it.

but when i create a deployment project acc to wat is mentioned on the
crystal support site and deploy it on the server whichjust has the framework
installed on it....it throws the following error..

Error in File C:\WINNT\TEMP\temp_d6025872-c8e8-43f2-86c3-200db21f9ca2.rpt:
Access to report file denied. Another program may be using it.

dose anyone have any ideas on this ???

--
Regards.
Anil Rambabu
Application Developer.
Paloma Technology Ltd.
Level 5, Mason King Building
354-358 Lambton Quay
Wellington, New Zealand
Tel +64 4 495-6557
Mob +64 21 035-4610



Tue, 30 Aug 2005 13:40:20 GMT  
 Access to report file denied. Another program may be using it.
Hey Anil,

This is a problem with not having rights to create the PDF file on the
export directory. Yes, the error reads like it can't open the report, but
this is a bogus error. To test whether this is your problem, change it to
write the PDF file to the Windows\Temp folder and run the program. The user
ASPNET has full access to this folder by default. If that works then you
need to set permissions for ASPNET user to write to the export folder.

A Crystal Reports.NET book for programmers? Its free!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

www.CrystalReportsBook.com?cpgn=ngcr_031203

HTH,

Brian Bischof


Quote:
> Hi,

> I am using crystal reports.NET with ASP.NET ...when viewing it on the
> development machine everyrthing runs fine and the report is generated fine
> in pdf format as i am exporting it to pdf.
> development machine has..VS.NET 2002 with crystal reports.net installed on
> it.

> but when i create a deployment project acc to wat is mentioned on the
> crystal support site and deploy it on the server whichjust has the
framework
> installed on it....it throws the following error..

> Error in File C:\WINNT\TEMP\temp_d6025872-c8e8-43f2-86c3-200db21f9ca2.rpt:
> Access to report file denied. Another program may be using it.

> dose anyone have any ideas on this ???

> --
> Regards.
> Anil Rambabu
> Application Developer.
> Paloma Technology Ltd.
> Level 5, Mason King Building
> 354-358 Lambton Quay
> Wellington, New Zealand
> Tel +64 4 495-6557
> Mob +64 21 035-4610



Tue, 30 Aug 2005 13:50:07 GMT  
 Access to report file denied. Another program may be using it.
hey..

thanx a lot of that ..but now i have changed the way i generate pdfs ..i am
not exporting it to a file..but just streaming it to the browser. Now...when
i run this report using http://locahost/appname it runs fine but the moment
i access it via the web it says the same error ??? and temp folder in winnt
has rights for aspnet user as well as system user cos i am using windows
authentication here..
This is hapenin on the production server..as opposed to the deployment
server locally where eveyrhting runs smooth.
One other thing was when i ran the application over the web for the first
time...it DID run perfectly..and then on it started throwing the error...

not sure wat this is abt. wld be glad if anyone has any ideas on this.

btw.. i did read a lot on ur site and its really awesome...u have really
helped a lot of developers...
thanx for that

-nil


Quote:
> Hey Anil,

> This is a problem with not having rights to create the PDF file on the
> export directory. Yes, the error reads like it can't open the report, but
> this is a bogus error. To test whether this is your problem, change it to
> write the PDF file to the Windows\Temp folder and run the program. The
user
> ASPNET has full access to this folder by default. If that works then you
> need to set permissions for ASPNET user to write to the export folder.

> A Crystal Reports.NET book for programmers? Its free!
> * Covers ASP.NET and Windows Forms
> * Teaches all phases of report development
> * Alerts you to the bugs and how to get around them
> * Maps out the complex ReportDocument object model
> * Shows how to perform runtime customization
> * Demonstrates all options of connecting with ADO.NET
> * Gives complete code listings for every concept presented

> www.CrystalReportsBook.com?cpgn=ngcr_031203

> HTH,

> Brian Bischof



> > Hi,

> > I am using crystal reports.NET with ASP.NET ...when viewing it on the
> > development machine everyrthing runs fine and the report is generated
fine
> > in pdf format as i am exporting it to pdf.
> > development machine has..VS.NET 2002 with crystal reports.net installed
on
> > it.

> > but when i create a deployment project acc to wat is mentioned on the
> > crystal support site and deploy it on the server whichjust has the
> framework
> > installed on it....it throws the following error..

> > Error in File

C:\WINNT\TEMP\temp_d6025872-c8e8-43f2-86c3-200db21f9ca2.rpt:

- Show quoted text -

Quote:
> > Access to report file denied. Another program may be using it.

> > dose anyone have any ideas on this ???

> > --
> > Regards.
> > Anil Rambabu
> > Application Developer.
> > Paloma Technology Ltd.
> > Level 5, Mason King Building
> > 354-358 Lambton Quay
> > Wellington, New Zealand
> > Tel +64 4 495-6557
> > Mob +64 21 035-4610



Sat, 03 Sep 2005 08:44:04 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Access to report file denied. Another program may be using it.

2. Error 544 - "Access to report file denied. Another program may be using it

3. Access to report file denied. Another program may be using it.

4. Access to report file denied

5. Access to report file denied

6. Access to report file denied error

7. Access Denied when using a VBD file in IE

8. Using types in a different assembly given that the type may be used or not used

9. may i work with file using vbscript

10. Printing Access reports or using Access to print/preview reports

11. Access denied to Crystal Report\viewers

12. Error Accessing File Network may have lost connection

 

 
Powered by phpBB® Forum Software