473,387 Members | 1,464 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.

generating excel sheet

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

Jul 22 '05 #1
5 2675
the users need CREATE permissions to the folder you are saving the XLS to.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
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

Jul 22 '05 #2
i have given the full control to the user everyone,i_user,networkuser, evry
user

but still it is not wotking
"Curt_C [MVP]" wrote:
the users need CREATE permissions to the folder you are saving the XLS to.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
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


Jul 22 '05 #3
Look in the IIS manager, what authentication type are you using? (Basic,
Integrated, etc) Are you allowing anonymous? If so what user is the
anonymous user set to?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
i have given the full control to the user everyone,i_user,networkuser, evry
user

but still it is not wotking
"Curt_C [MVP]" wrote:
the users need CREATE permissions to the folder you are saving the XLS
to.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
> 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
>
>
>


Jul 22 '05 #4
i m using integrated authenrication , and i have untickked the anonymous user
access , is it o.k. guide me please .

"Curt_C [MVP]" wrote:
Look in the IIS manager, what authentication type are you using? (Basic,
Integrated, etc) Are you allowing anonymous? If so what user is the
anonymous user set to?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
i have given the full control to the user everyone,i_user,networkuser, evry
user

but still it is not wotking
"Curt_C [MVP]" wrote:
the users need CREATE permissions to the folder you are saving the XLS
to.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
> 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
>
>
>


Jul 22 '05 #5
ok... so you aren't using anonymous...
This means that you should be prompted for a username/pass when you access
(or if on the domain it will use your windows user). Specify that specific
user with rights to that folder once... what happens?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
i m using integrated authenrication , and i have untickked the anonymous
user
access , is it o.k. guide me please .

"Curt_C [MVP]" wrote:
Look in the IIS manager, what authentication type are you using? (Basic,
Integrated, etc) Are you allowing anonymous? If so what user is the
anonymous user set to?

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Rajiv" <Ra***@discussions.microsoft.com> wrote in message
news:B8**********************************@microsof t.com...
>i have given the full control to the user everyone,i_user,networkuser,
>evry
> user
>
> but still it is not wotking
>
>
> "Curt_C [MVP]" wrote:
>
>> the users need CREATE permissions to the folder you are saving the XLS
>> to.
>>
>>
>> --
>> Curt Christianson
>> Site & Scripts: http://www.Darkfalz.com
>> Blog: http://blog.Darkfalz.com
>>
>>
>> "Rajiv" <Ra***@discussions.microsoft.com> wrote in message
>> news:1A**********************************@microsof t.com...
>> > 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
>> >
>> >
>> >
>>
>>
>>


Jul 22 '05 #6

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

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
2
by: Niyazi | last post by:
Hi, I have to retrieve a data from AS400 DB2 and after working with data I have to export into one of existing Excel file. I can connect into specific library in AS400 DB2 using AS400...
9
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
12
by: elziko | last post by:
I'm using late binding (I must) to automate Excel. My code opens Excel after createing and poulating some sheets. My problem is that when the user finally decides to close Excel its process is...
3
by: | last post by:
Hello, I have a routine in my Windows application that exports the contents of a datagrid to Excel. It is modeled closely after the HowTo example on MSDN: http://tinyurl.com/5g2jm. Depending...
3
by: | last post by:
I wrote a class in VB.NET to export the contents of a datagrid to Excel. It works perfectly on my machine, but it fails on my customers' PCs that have identical versions of Win XP (SP1) and Excel...
3
by: implicate_order | last post by:
Greetings, I'm new to python and am in the process of writing a script to parse some CSV data, spread it across multiple Excel worksheets and then generate charts. I searched the internet to...
3
by: pleaseexplaintome_2 | last post by:
using the code below (some parts not included), I create a new excel workbook with spreadheets. I then want to delete a spreadsheet, but a reference remains open and excel stays in task manager...
13
by: chuckie_9497 | last post by:
hello all you gurus. I am struggling with releasing com objects. I have isolated the problem to the code below. Objects are released and the process ends until I use "int k = sheet.Count;" Then...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.