473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ASP.NET crystal report file access

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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
6 1811
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

Nov 18 '05 #2
Yes - the error I get lists a totally different path to the directory I
am trying to export to.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3
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>applicati on Pool to MSSharedPool.

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

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #4
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>applicati on Pool to MSSharedPool.

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

thanxs

Sekar P
ps******@yahoo.com
(Kasbah Systems Software)

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #5
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>applicati on Pool to MSSharedPool.

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

thanxs

Sekar P (Kasbah Systems Software)

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #6
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
ps******@yahoo.com
(Kasbah Systems Software)

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Raghuraman | last post by:
Hai I have a designed Crystal report .rpt file which has 4 access tables .. After designing the report i put a parameter field which filteres the desired records quite naturally. Every thing...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
6
by: Robin Cushman | last post by:
Hi all, I need some help -- I'm working with an A2K database, using DAO, and am trying to read records into a Crystal Report and then export it to a folder on our network as an Excel...
1
by: webmaster | last post by:
I have a password protected Access Database (.MDB) file. I also have a Crystal Report with database fields connected to table in this database. I want to display the Crystal Report Preview Form...
2
by: Mythran | last post by:
In .Net, how can I go about and set a Crystal Reports namespace? Right now they use the Root Namespace (VB) from the project. How can I extend the namespace for a single report (which will be set...
2
by: Henry | last post by:
I am trying to write an application that allows me to dynamically load selected Crystal Report files, read the parameters from the report file, give the user a chance to enter relevant data in a...
1
by: Brad Allison | last post by:
Okay, after spending the past 4 1/2 hours trying to figure this out I am getting some answers but I am also getting very frustrated. And again, if this is the wrong forum to post to I apologize. ...
3
by: Trichy | last post by:
Hi Can any one help me. I added crystal report item to my project .net. After connecting to database , i inserted three columns from table. I ran report in ..net is working fine. My problem, ...
5
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a...
0
by: Mark Gold | last post by:
Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.