467,211 Members | 1,233 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,211 developers. It's quick & easy.

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
  • viewed: 2300
Share:
5 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Allison Bailey | last post: by
12 posts views Thread by elziko | last post: by
3 posts views Thread by | last post: by
3 posts views Thread by implicate_order | last post: by
3 posts views Thread by pleaseexplaintome_2@yahoo.com | last post: by
13 posts views Thread by chuckie_9497@hotmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.