General information
Forum:
Microsoft IIS Server
Hi Neil,
Put this into a FoxPro exe and run it on the server. You might need to adjust the reference after W3SVC to the site you're running if it isn't 1.
ox = GETOBJECT("IIS://LOCALHOST/W3SVC/1/ROOT")
ox.aspallowoutofproccomponents = .T.
ox.setinfo()
RELEASE ox
Rick
>Hi,
>
>I am running IIS5.1 on my latop with OS=Xp Prof. I am having no problem running a VFP multithreaded in-process dll componet from my asp.net web form. I added the dll to my project's references and added a using directive of the same name. I also added the attribute AspCOMPAT to my page tag. Everything works fine. I *am* having a problem when I attempt to run a vfp single threaded EXE com object in a similar manner. The error states that I am being denied access and that I should allow the ASPNET user write access to the component. I did that but the error persists. Is it possible that IIS 5.1 needs to be told that out-of-process components are allowed? If so, how can I update the IIS metabase to reflect the permission. Am I on the right track here? Perhaps someone can show me a little c# that I can send to IIS via an ASP.net web form or vbscript via an ASP page.
>
>Thanx,
>Neil
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only