ASP.NET crystal report file access

  • Thread starter Thread starter mike parr
  • Start date Start date
M

mike parr

I am just starting using Crystal Reports.NET with VS.NET 2003 and I can
create a report and open it up in my webpage fine. However, I am now
trying to export the report, and I keep getting the error 'Access to
report file denied. Another program may be using it'. But, when I use
the same code in WinForms it exports fine.

Does anybody know what is causing this and how to solve it?

Any help would be really appreciated.


Thanks,

Mike
 
Mike

When doing the export, do you have write privileges in the directory you are exporting to

Just a thought

Christopher Ree
Web Applications Superviso
City of Lubboc

----- mike parr wrote: ----

I am just starting using Crystal Reports.NET with VS.NET 2003 and I ca
create a report and open it up in my webpage fine. However, I am no
trying to export the report, and I keep getting the error 'Access t
report file denied. Another program may be using it'. But, when I us
the same code in WinForms it exports fine

Does anybody know what is causing this and how to solve it

Any help would be really appreciated


Thanks

Mik



*** Sent via Developersdex http://www.developersdex.com **
Don't just participate in USENET...get rewarded for it
 
Yes - the error I get lists a totally different path to the directory I
am trying to export to.
 
Hi ,

This is a simple Problem .
I also faced the same problem
If u r hosted ur application in the server 2003, Then the system won't allow to access the .rpt file more than one user.

So the Pool concept has to be changed for multi user environment.To solve this Problem give everyone fullrights and do as below for the virtual directory.

2003 server
 
Hi ,

This is a simple Problem .
I also faced the same problem
If u r hosted ur application in the server 2003, Then the system won't allow to access the .rpt file more than one user.

So the Pool concept has to be changed for multi user environment.To solve this Problem give everyone fullrights and do as below for the virtual directory.

2003 server
--------------
inetmgr>application>properties>directory>application Pool to MSSharedPool.

Other OS
-----------
inetmgr>application>properties>application directory>application protection to high(Isolated)

thanxs

Sekar P (Kasbah Systems Software)
 
Hi ,

This is a simple Problem .
I also faced the same problem
If u r hosted ur application in the server 2003, Then the system won't allow to access the .rpt file more than one user.

So the Pool concept has to be changed for multi user environment.To solve this Problem give everyone fullrights and do as below for the virtual directory.

2003 server
--------------
inetmgr>application>properties>directory>application Pool to MSSharedPool.

Other OS
-----------
inetmgr>application>properties>application directory>application protection to high(Isolated)

thanxs

Sekar P
(e-mail address removed)
(Kasbah Systems Software)
 
Hi

It is pool problem, It is not allowing to access multi users at the same time , so Proceed as below

server 2003
---------------
inetmgr > inventory > properties > virtual Directory > Application pool property as MSSharedPool.

Others
--------
inetmgr > inventory > properties > virtual Directory > Application Protection > Application protection to high isolated

sekar p
(e-mail address removed)
(Kasbah Systems Software)
 
Back
Top