Re: TeraScript-Talk: WS12 and IIS on AWS

2014-03-25 Thread Wayne Irvine
On 26 Mar 2014, at 3:07 pm, Robert Shubert  wrote:
> Did you add the handler mapping?
>
> It should be from *.taf to the ISAPI module pointing to the dll.
>
Yes, I did that step
> Did you set the Enable 32-bit Applications to True? Since you are using TS 7, 
> a 64-bit App, you should leave that set to False.
>
I set it to Enable 32bit. I'll try changing that back.

Wayne

Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609






To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: WS12 and IIS on AWS

2014-03-25 Thread Robert Shubert


Did you add the handler mapping?



It should be from *.taf to the ISAPI module pointing to the dll.



Did you set the Enable 32-bit Applications to True? Since you are using TS
7, a 64-bit App, you should leave that set to False.



Robert


From: "Wayne Irvine" 
Sent: Tuesday, March 25, 2014 8:55 PM
To: TeraScript-Talk@terascript.com
Subject: Re: TeraScript-Talk: WS12 and IIS on AWS

Still stuck.

I have gone through the W6 set up instructions again and confirm they are
all correct.
Moved iis_terascript.dll to \inetpub\scripts\
Changed permissions to Everyone Full Control

No luck.

I turned up the detail on the Error message and got this:
HTTP Error 404.17 - Not FoundThe requested content appears to be script and
will not be served by the static file handler.Most likely causes:The
request matched a wildcard mime map. The request is mapped to the static
file handler. If there were different pre-conditions, the request will map
to a different handler.
I looked up 404.17:
404.17 - Dynamic content mapped to the static file handler via a wildcard
MIME mapping.
I checked the MIME type for the server and website and there is no .taf
entry and no apparent wildcards.

Should there be a MIME entry for .taf and what should it be?

Wayne

On 25 Mar 2014, at 3:31 pm, Robert Shubert  wrote:

Moving the file doesn't guarantee that the permissions will be changed, but
feel free to try.


Otherwise, right-click on the dll -> Properies -> Security -> Edit ->
Advanced -> Find Now -> select Everyone -> OK -> highlight Everyone ->
check Full control -> OK


(it could be different on WS2012)


For better security, select the same user that the IIS process runs under.
By default it's IIS_IUSRS.

Robert


From: "Wayne Irvine" 
Sent: Monday, March 24, 2014 10:36 PM
To: TeraScript-Talk@terascript.com
Subject: Re: TeraScript-Talk: WS12 and IIS on AWS

On 25 Mar 2014, at 1:18 pm, Robert Shubert  wrote:

Wayne, you can get that error if the ISAPI plugin isn't executable by the
IIS process. Try setting more open permissions on the iis_terascript.dll or
moving it to c:\inetpub\scriptsIs it a case of one or the other? I'm not
sure how to change permissions but I can certainly move a file.

 Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609


 To unsubscribe from this list, please send an email to
lists...@terascript.com with "unsubscribe terascript-talk" in the body.


 To unsubscribe from this list, please send an email to
lists...@terascript.com with "unsubscribe terascript-talk" in the body.
 Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609


 To unsubscribe from this list, please send an email to
lists...@terascript.com with "unsubscribe terascript-talk" in the body.






To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: WS12 and IIS on AWS MORE

2014-03-25 Thread Wayne Irvine
More:

This error occurs because the HTTP Handler configured to handle the request has 
certain preconditions set, but its Application pool does not meet some or all 
of these preconditions.  This causes the static file handler to be used to 
process the request instead.  The processing of the request then fails and the 
404.17 status returned because the request is for a dynamic resource and not a 
static one.

For example, consider the following handler mapping:





In this case, a 404.17 error is returned if the *.aspx resource being requested 
from the site is handled in an Application pool that is not running in Classic 
Mode, is not 32 bit, or is not running the 2.0 version of the .NET Framework.   
In order for the resource to be served correctly in this example, all 3 
pre-conditions must be met.  Specifically, the application pool hosting this 
resource would have to be configured for Classic Mode, it would need to be 
configured to use the 2.0 version of the .NET Framework, and it would need to 
be set for 32 bit applications.




To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.


Re: TeraScript-Talk: WS12 and IIS on AWS

2014-03-25 Thread Wayne Irvine
Still stuck.

I have gone through the W6 set up instructions again and confirm they are all 
correct.
Moved iis_terascript.dll to \inetpub\scripts\
Changed permissions to Everyone Full Control

No luck.

I turned up the detail on the Error message and got this:
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static 
file handler.

Most likely causes:
The request matched a wildcard mime map. The request is mapped to the static 
file handler. If there were different pre-conditions, the request will map to a 
different handler.
I looked up 404.17:
404.17 - Dynamic content mapped to the static file handler via a wildcard MIME 
mapping.
I checked the MIME type for the server and website and there is no .taf entry 
and no apparent wildcards.

Should there be a MIME entry for .taf and what should it be?

Wayne

On 25 Mar 2014, at 3:31 pm, Robert Shubert  wrote:

>
> Moving the file doesn't guarantee that the permissions will be changed, but 
> feel free to try.
>
>
> Otherwise, right-click on the dll -> Properies -> Security -> Edit -> 
> Advanced -> Find Now -> select Everyone -> OK -> highlight Everyone -> check 
> Full control -> OK
>
>
> (it could be different on WS2012)
>
>
> For better security, select the same user that the IIS process runs under. By 
> default it's IIS_IUSRS.
>
> Robert
>
>
>
> From: "Wayne Irvine" 
> Sent: Monday, March 24, 2014 10:36 PM
> To: TeraScript-Talk@terascript.com
> Subject: Re: TeraScript-Talk: WS12 and IIS on AWS
>
>
> On 25 Mar 2014, at 1:18 pm, Robert Shubert  wrote:
>> Wayne, you can get that error if the ISAPI plugin isn't executable by the 
>> IIS process. Try setting more open permissions on the iis_terascript.dll or 
>> moving it to c:\inetpub\scripts
>>
> Is it a case of one or the other? I'm not sure how to change permissions but 
> I can certainly move a file.
>
>
> Wayne Irvine
> w: http://www.byteserve.com.au/
> p: +61 2 9960 6099
> m: 0409 960 609
>
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.
>
> To unsubscribe from this list, please send an email to 
> lists...@terascript.com with "unsubscribe terascript-talk" in the body.

Wayne Irvine
w: http://www.byteserve.com.au/
p: +61 2 9960 6099
m: 0409 960 609






To unsubscribe from this list, please send an email to lists...@terascript.com 
with "unsubscribe terascript-talk" in the body.