[Ironruby-core] IronRuby-Rake-0.0.9-Universal-dotnet only for IIS 7?

Nick Hird nrhird at gmail.com
Wed Jul 7 15:14:35 EDT 2010


Jimmy,
The rack2aspnet worked fine. I was able to use Cassini to load and run the
simple app, but for some reason it wont run under IIS6. I will try and track
down what i can and see why its not working. It may be a configuration issue
on my iis server. I will keep looking and see what i can come up with.
-Nick

On Wed, Jul 7, 2010 at 2:40 PM, Jimmy Schementi <jimmy at schementi.com> wrote:

> The deploy2iis hasn't been tested on IIS6; I can provide a better error
> message in the meantime. The application generated by rack2aspnet should run
> on IIS6, so let me know if at least that works for you. deploy2iis is just
> intended to do the one-time setup required to run the application in IIS; I
> can also include the manual steps in the error message when IIS7 isn't
> installed.
>
> If you're interested in tracking down some of the issues on IIS6 and
> reporting more directed bugs / submitting patches, I'd be more than happy to
> support configuring IIS6 for IronRuby Rack.
>
> ~Jimmy
>
>
> On Wed, Jul 7, 2010 at 11:10 AM, Nick Hird <nrhird at gmail.com> wrote:
>
>> I have a Windows XP machine and noticed when i try and run the deploy2iis
>> i get an error (see below). Looking at the source of the error its trying to
>> do something with the user IIS_IUSRS which isn't a user under Windows XP. Is
>> this by design? I know Windows XP is old and all, but getting work to
>> upgrade isnt possible right now. I changed the user to the IIS user under
>> Windows XP and now it says it can connect to the server but it just cant
>> view the page, 403 Error, it created the site in IIS. Any ideas?
>>
>> Error:
>> C:\Code>deploy2iis myapp C:\Code
>> mscorlib:0:in `Translate': Some or all identity references could not be
>> translated. (System::Security::Principal::IdentityNotMappedException)
>>         from mscorlib:0:in `Translate'
>>         from mscorlib:0:in `ModifyAccess'
>>         from mscorlib:0:in `AddAccessRule'
>>         from mscorlib:0:in `AddAccessRule'
>>         from
>> C:/IronRuby/lib/ironruby/gems/1.8/gems/ironruby-rack-0.0.9-universal-dotnet/bin/../lib/rack/deploy/iis.rb:161:in
>> `add_acl'
>>         from
>> C:/IronRuby/lib/ironruby/gems/1.8/gems/ironruby-rack-0.0.9-universal-dotnet/bin/../lib/rack/deploy/iis.rb:48:in
>> `set_permissions'
>>         from
>> C:/IronRuby/lib/ironruby/gems/1.8/gems/ironruby-rack-0.0.9-universal-dotnet/bin/../lib/rack/deploy/iis.rb:32:in
>> `deploy'
>>         from
>> C:/IronRuby/lib/ironruby/gems/1.8/gems/ironruby-rack-0.0.9-universal-dotnet/bin/deploy2iis:36:in
>> `__send__'
>>         from
>> C:/IronRuby/lib/ironruby/gems/1.8/gems/ironruby-rack-0.0.9-universal-dotnet/bin/deploy2iis:36
>>         from C:/IronRuby/bin/deploy2iis:19:in `load'
>>         from C:/IronRuby/bin/deploy2iis:19
>>
>> Code:
>> def set_permissions app_path
>>   dfr = FileSystemRights.full_control
>>   gan = 'IIS_IUSRS'
>>
>>   unless acl_exists? app_path, dfr, gan
>>     add_acl app_path, dfr, gan
>>   end
>> end
>>
>> Thanks,
>> Nick
>>
>>
>> _______________________________________________
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>
>>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>


-- 
--Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100707/0a689f63/attachment-0001.html>


More information about the Ironruby-core mailing list