Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OUT OF PROCESS EXE SERVERS, Not ALLOWED?
Message
De
15/12/2003 22:09:13
 
 
À
15/12/2003 12:10:13
Information générale
Forum:
Microsoft IIS Server
Catégorie:
Autre
Divers
Thread ID:
00853116
Message ID:
00859388
Vues:
12
Thank you.
That looks interesting. I did find that using dcomcnfg to give the web server's aspnet user permission to run my exe com sever worked as well. I have another question that no one took a nibble at. Perhaps you would like to try since it appears as you understand IIS?

I have an asp.net web site that runs on a windows 2000 web server under IIS 5.0. If I place the data files on the same web server and give the aspnet user permission to the data files, every thing works just fine. I can read, write update and delete. My question is this. I want to put the data files on another computer, named Glenn, on the LAN. The web server, previously described, has it's H drive mapped to Glenn's C: drive. The Glenn computer does not consider any of the web server's users as local users. How do I give the web server's aspnet user permission to access Glenn's data files? Or... am I approaching this all wrong. I am not using Domains. This is a simple LAN of 2 computers. Glenn holds the data files and the web server holds the web application.

Any thoughts and/or help is greatly appreciated.
Neil


>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform