Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 6 + ISAPI + Win 2003

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Multiple Websites...  
Author Message
anonymous2217

External


Since: Aug 09, 2004
Posts: 1



(Msg. 1) Posted: Tue Aug 10, 2004 1:23 am
Post subject: IIS 6 + ISAPI + Win 2003
Archived from groups: microsoft>public>inetserver>iis (more info?)

What specific permissions do I need to create a file in
Win 2003 server, by a ISAPI extension running on IIS 6.0.

In our application we would create a temporary file to
hold some important information, and place it inside one
of the Subdirectories where the ISAPI extension is
present. The temporary file creation could not happen for
whatever reason in Win 2003 / IIS6.

The same method which works with
Win 2000 + IIS 5.0 when run as an ISAPI
extension. However, if the subdirectory with the
temporary file running successfully in Win 2000 is copied
to Win 2003 server, from then on, it works fine.

Also, the same application, when run as *Exe* in Win
2003, is able to create the required temporary file.
The original issue is with the Win 2003 server permissions
or the IIS settings ?

Any suggestions are welcome

Thanks,
Swami

 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
harry2

External


Since: Aug 09, 2004
Posts: 5



(Msg. 2) Posted: Tue Aug 10, 2004 8:34 pm
Post subject: Re: IIS 6 + ISAPI + Win 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I'm having the very same problem with a legacy IIS5 application and would
love to hear the solution!

For the file to be created/wrtten to, I have added the anonymous IUSR_xx to
the security attributes of that file and given that anonymous user full
access to that file. But that didn't seem to help.

I've also looked at the Web Service Extensions in the IIS Manager. I've
added my ISAPI DLL to the list of permitted DLL's to run. But a question I
have is do you need to add the data file you are writing to in this section
of the manager as well? Or do you just list DLL's?

TIA

Harry

 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
harry2

External


Since: Aug 09, 2004
Posts: 5



(Msg. 3) Posted: Tue Aug 10, 2004 9:11 pm
Post subject: Re: IIS 6 + ISAPI + Win 2003 -- Partial Answer [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My problem was somewhat different in that I had to write to an existing
file. In IIS5, I could do this by assigning security rights to that file
which allowed full access for IUSR_{MYSERVER}. In IIS6, I found that this
was insufficient -- I had to assign full rights to EVERYONE for this file.
Then the ISAPI module successfully wrote to the file.

HTH

Harry
 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
anonymous2221

External


Since: Aug 11, 2004
Posts: 2



(Msg. 4) Posted: Wed Aug 11, 2004 8:42 am
Post subject: Re: IIS 6 + ISAPI + Win 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the reply. I have tried with providing the
necessary full permissions to the user also.

 >do you need to add the data file you are writing to in
 >this section of the manager as well? Or do you just list
 >DLL's?

Not very clear on the query....but let me try..
If the manager here refers to the Internet Services
Manager..then yes, the data file gets created in the same
dir. as the ISAPI extension, and new data file gets
added/accessible to this section Internet Services
Manager.



 >-----Original Message-----
 >I'm having the very same problem with a legacy IIS5
application and would
 >love to hear the solution!
 >
 >For the file to be created/wrtten to, I have added the
anonymous IUSR_xx to
 >the security attributes of that file and given that
anonymous user full
 >access to that file. But that didn't seem to help.
 >
 >I've also looked at the Web Service Extensions in the IIS
Manager. I've
 >added my ISAPI DLL to the list of permitted DLL's to
run. But a question I
 >have is do you need to add the data file you are writing
to in this section
 >of the manager as well? Or do you just list DLL's?
 >
 >TIA
 >
 >Harry
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
harry2

External


Since: Aug 09, 2004
Posts: 5



(Msg. 5) Posted: Wed Aug 11, 2004 3:29 pm
Post subject: Re: IIS 6 + ISAPI + Win 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My query referenced the dialog where you can add "required files" for the
excecution permission of particular ISAPI module. The browse box gives you
filter options for DLL, CGI and "all files". After adding EVERYONE to the
security attributes of the file I needed to write to (thereby solving my
problem), I was able to remove all data and suporting files from that dialog
and just leave in the ISAPI DLL name.

My next task is to try to solve my remaining problem (and your problem) --
how an ISAPI module can CREATE a file in IIS6 mode.

Best

Harry
 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
anonymous2221

External


Since: Aug 11, 2004
Posts: 2



(Msg. 6) Posted: Thu Aug 12, 2004 9:45 am
Post subject: Re: IIS 6 + ISAPI + Win 2003 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok. Understood. It seems a bit different where we try to
impose that particular file(s) need to be present for
the .dll to run. Pls. correct me if not so.
But as you have said rightly I need the .dll to create a
file. Pls. let me if you find any ways of doing it.

Thanks for your interest.
 >> Stay informed about: IIS 6 + ISAPI + Win 2003 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]