Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 9th, 2005, 04:04 AM
Authorized User
 
Join Date: Apr 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default permission to create a excel sheet on server

hi all ,

i m creating a excel sheet to export the data using asp .

and also importing data through excel sheet .

problem is that , when i EXPORT OR IMPORT THE EXCEL SHEET USING ADMIN ID IT IS OK

BUT WHEN I DO SAME JOB ON CLIENT , IT SHOWS PAGE NOT FOUND

I HAVE GIVEN THE I_USER PERMISSION(FULL CONTROL) TO THAT FOLDER, WHERE I M SAVING THE EXCEL SHEET, EVEN I HAVE DONE THE WEB SHARING PERMISSION ,

I THINK THERE IS STILL SOME PERMISSION PROBLEM , CAN YOU PLEASE EXPLAIN THE THESE SETTINGS OF PERMISSION .


RGDS

RAJIV

 
Old April 9th, 2005, 08:55 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;USING ADMIN ID
What do you mean by this

;;;IT SHOWS PAGE NOT FOUND
This doesnt sound like an error generated as a reasult of permissions. What the full error? Do you have 'show friendly http errors' turned of?

Wind is your friend
Matt
 
Old April 11th, 2005, 12:41 AM
Authorized User
 
Join Date: Apr 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI ALL,
actually , i m working in a company having large number of employee , i have two userid and password .
on id is from admin group(id given to me by technology manager) of the server and other is simpley the user .
my software is based on Lan authentication based i.e. when a user works on my system i find that user using AUTH_USER , i think you will be getting my point .

when i login using that admin id it creats the excel sheet , and display it on the browser , actually what i m doing , i create a excel sheet object and write the the data to this sheet and save it to the folder c:/inetpub/wwroot/myfolder/temp , and display it to the browser .
i save the sheet by filename+sessionid (file name)
it display the sheet on the browser , and user save this copy of this sheet on his machine . but also a copy of this sheet is saved on the server in that temp folder , i think now you will be getting my point .

but , when i login by any other user i try to generate that sheet it shows page not found bot on address bar it shows that sheetname along with
session id
i.e. http://server-name/myfolder/temp/filename3005768.xls

PAGE NOT FOUND

I THINK THERE THE IS SOME PERMISSION PROBLEM . BECAUSE WHEN I CREATE THAT EXCEL SHEET USING ADMIN ID IT CREATES THE EXCEL SHEET , WHEN I CHECK THAT TEMP FOLDER ON
SERVER , I FIND A COPY OF EXCEL SHEET ON SERVER , BIU WHEN I LOG IN USING ANY OTHER USER ID , IT DOEN NOT CREATE THE EXCEL SHEET ON SERVER , THAT IS WHY IT SAYS " PAGE NOT FOUND "

PLEASE HELP ME ,
IT'S URGENT

THANX FOR YOUR RESPONSE
RGDS
RAJIV







Similar Threads
Thread Thread Starter Forum Replies Last Post
access data of excel sheet into sql server in asp KGANESH2006 SQL Server ASP 2 April 20th, 2006 02:33 AM
write multi-sheet Excel w/o Excel.Application manmoth Classic ASP Components 2 November 22nd, 2005 10:56 AM
save Excel spread-sheet to SQL Server ybao Classic ASP Databases 1 July 12th, 2004 03:02 PM
Create "View" and Assign Permission phungleon SQL Server 2000 3 June 18th, 2004 11:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.