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

IIS6 call to 3rd party ocx dll failing

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  major IIS performance problems II  
Author Message
scottbuzan

External


Since: Jul 27, 2004
Posts: 1



(Msg. 1) Posted: Tue Jul 27, 2004 4:59 pm
Post subject: IIS6 call to 3rd party ocx dll failing
Archived from groups: microsoft>public>inetserver>iis (more info?)

We are using Windows 2003 Server, and we are unable to
generate mp3 files from our web application. The web
application calls an ocx dll which generates mp3 files
from text. It appears that the ocx is not loading at
all, although we aren't 100% sure of this. Our ASPNET
user account has sufficient privileges to create/modify
files directly to the target folder. Also, when the ocx
dll is called from a winform application, the files are
created. How do we configure permissions for the aspnet
process to create/modify files through a 3rd party dll?
This process works for Windows xp, Windows 2000, and
Windows 2000 Server.







Thanks

 >> Stay informed about: IIS6 call to 3rd party ocx dll failing 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Wed Jul 28, 2004 4:46 am
Post subject: Re: IIS6 call to 3rd party ocx dll failing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This OCX may be requiring permissions that it no longer has on Windows
Server 2003, for security reasons. So, the fact that it worked on prior
Windows version really doesn't mean much -- it may have been working because
it required a security vulnerability to work.

You have to first verify that the OCX is even loading -- I would remove the
ASP.Net application and the file creation stuff from the picture by using a
test ASP.Net page which just instantiates the OCX with the same settings as
the real page. See if this works, and check of the OCX file is loaded in
memory (Process Explorer from www.sysinternals.com and TLIST.EXE from
Microsoft Debugging Tools at
http://www.microsoft.com/whdc/devtools/debugging/default.mspx is what I'd
use to verify the OCX file is loaded in memory).

Please report whether the OCX is loaded in memory and doesn't cause
problems.

My suspicion right now is that the OCX requires some extraneous
permission(s) which is no longer allowed by default on Windows Server 2003
for security reasons. For example, users over the WEB cannot access CMD.EXE,
nor can the IIS6 process identity create any UI. OCX may be trying to do
these illegal things and getting denied, and the only work-around to allow
these programs to function is to enable the security vulnerabilities that
they require. Of course, Microsoft recommends that you notify the vendor to
provide you with secure code instead of requiring you to open security
vulnerabilities to use their program.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Scott" <scottbuzan.RemoveThis@msn.com> wrote in message
news:54d101c4741c$9f978470$a501280a@phx.gbl...
We are using Windows 2003 Server, and we are unable to
generate mp3 files from our web application. The web
application calls an ocx dll which generates mp3 files
from text. It appears that the ocx is not loading at
all, although we aren't 100% sure of this. Our ASPNET
user account has sufficient privileges to create/modify
files directly to the target folder. Also, when the ocx
dll is called from a winform application, the files are
created. How do we configure permissions for the aspnet
process to create/modify files through a 3rd party dll?
This process works for Windows xp, Windows 2000, and
Windows 2000 Server.







Thanks

 >> Stay informed about: IIS6 call to 3rd party ocx dll failing 
Back to top
Login to vote
scottbuzan1

External


Since: Jul 28, 2004
Posts: 1



(Msg. 3) Posted: Wed Jul 28, 2004 2:02 pm
Post subject: Re: IIS6 call to 3rd party ocx dll failing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The ocx is being created. If we pass an invalid file path we are able
to create an exception from with the ocx dll. If we pass a valid file
name, the ocx appears to run normal with no exceptions thrown; however,
the file is never created and the iis log files appear normal as well.
We put in trace statements before and after instantiating the ocx
object, and calling ocx methods now errors occur...but again, files are
never written and no errors are generated.

thanks,

sb

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 >> Stay informed about: IIS6 call to 3rd party ocx dll failing 
Back to top
Login to vote
qbernard1

External


Since: Dec 23, 2003
Posts: 905



(Msg. 4) Posted: Wed Jul 28, 2004 2:11 pm
Post subject: Re: IIS6 call to 3rd party ocx dll failing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

failing ? any error msgs ? iis log file

--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://www.tryiis.com/" target="_blank">http://www.tryiis.com/</a>
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.msmvps.com/bernard/" target="_blank">http://www.msmvps.com/bernard/</a>



"Scott" <scottbuzan.RemoveThis@msn.com> wrote in message
news:54d101c4741c$9f978470$a501280a@phx.gbl...
 > We are using Windows 2003 Server, and we are unable to
 > generate mp3 files from our web application. The web
 > application calls an ocx dll which generates mp3 files
 > from text. It appears that the ocx is not loading at
 > all, although we aren't 100% sure of this. Our ASPNET
 > user account has sufficient privileges to create/modify
 > files directly to the target folder. Also, when the ocx
 > dll is called from a winform application, the files are
 > created. How do we configure permissions for the aspnet
 > process to create/modify files through a 3rd party dll?
 > This process works for Windows xp, Windows 2000, and
 > Windows 2000 Server.
 >
 >
 >
 >
 >
 >
 >
 > Thanks
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 call to 3rd party ocx dll failing 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 5) Posted: Thu Jul 29, 2004 4:24 am
Post subject: Re: IIS6 call to 3rd party ocx dll failing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok. At this point, if FileMon/RegMon (www.sysinternals.com) do not show
anything unusual when the OCX fails to create the file, one needs to vendor
of the OCX to debug and figure out why it is not working. Otherwise, you
should be able to determine what identity lacks the access and fix that.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Scott Buzan" <scottbuzan.TakeThisOut@msn.com> wrote in message
news:Owi%23I0MdEHA.3596@tk2msftngp13.phx.gbl...


The ocx is being created. If we pass an invalid file path we are able
to create an exception from with the ocx dll. If we pass a valid file
name, the ocx appears to run normal with no exceptions thrown; however,
the file is never created and the iis log files appear normal as well.
We put in trace statements before and after instantiating the ocx
object, and calling ocx methods now errors occur...but again, files are
never written and no errors are generated.

thanks,

sb

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 >> Stay informed about: IIS6 call to 3rd party ocx dll failing 
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 ]