Announcement

Collapse
No announcement yet.

Microsoft Web Server 2008

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Microsoft Web Server 2008

    Are there any guides on the setup of Actinic on MS Web Server 2008 (x64)?

    I'm currently stuck on setting up cgi-bin, currently getting message:

    The test script failed to execute on the web server. The error could be caused by several things. Check the path to the Perl shell, the CGI script extension, the path to CGI-BIN, and the CGI-BIN URL.

    I've installed ActivePerl x64 using defaul settings. I've so far done nothing else in setting up cgi / perl.

    I remembered doing some things in Win2003 SBS for application Pool / scripts, but v2008's IIS7's interface is completely different!

    Any help appreciated! Thank you.

    Regards, Tak.

    #2
    Try setting the application pool to run in 32 bit mode in IIS. Also, make sure your windows server annonymous user has the correct permissions on the CGI-BIN directory. I have it running on Web Server '08 so it does work.

    Kevin
    KDM Digital Media - Actinic web design and hosting

    Comment


      #3
      re: Application Pool in 32bit

      Under "Application Pool Defaults" / General / Enable 32-Bit Applications
      was "False", I've set to "True"

      I haven't set up SSL yet, so I'm testing without SSL.

      I've just tried the Advanced Network Setup : Test

      got following:

      Actinic received a bad method error from the web server. The server is not properly configured to allow Actinic to run CGI scripts from the cgi-bin. Run Web | Configure Web Site Details... to review your web site configuration.

      After clicking okay, got this:

      The web server returned error code 405 - Server does not support the requested method. Your web server is not configured to accept POSTs to CGI scripts. Contact your ISP or system administrator and have them reconfigure the server.

      I've only installed ActivePerl (x64), created a directory cgi-bin, and right clicked on it to "convert to application" <- maybe this is wrong?

      What else do I need to do?

      Under Windows 2003 Server, there were "Execute permissions" etc I remember setting in the site's properties, are these no longer there in 2008?

      Also in 2003, the apps were set to "DefaultAppPool", now it creates a "mywebsite.com" in the application pool.

      At the moment it has in the list in Application Pool:
      Classic .NET AppPool
      DefaultAppPool
      Mywebsite.com

      all three are: started / .NET = v2
      default & my web: Managed Pipeline = Integrated
      Classic .NET: Managed Pipeline = Classic


      Thank you for the help

      Rgds, Tak.

      Comment


        #4
        Forgot to say:
        User: "Anonymous Logon" has following permissions:

        Mywebsite Folder = Read & Execute, List folder & read = ticked, all others blank.

        The permission is the same in the cgi-bin

        Thank you.

        Comment


          #5
          In the Handler Mappings for your application in IIS do you have CGI-exe set up?

          Try this :

          First, go to the Internet Information Services (IIS) Manager snap-in. Click on the server in the Connections list, and then click on "ISAPI and CGI Restrictions" under the IIS features view. Here you'll want to specify the path to a specific cgi application that you want to allow (mine is c:\perl\") .

          Next, go back to the server (or a specific website) and click on Handler Mappings. You may already have a "CGI-exe" handler (for *.exe) that is disabled by default. Enable this, or add a new one (Request path = *.exe, Module = CgiModule, Name = whatever you like). In the handler permissions you'll need to have "Execute" checked.

          This is taken from : http://geekswithblogs.net/Lance/arch...s-on-iis7.aspx which may help.

          Cheers

          Kev
          KDM Digital Media - Actinic web design and hosting

          Comment


            #6
            Thanks for the info, helped a lot.

            I think the CGI is setup now - I had to enable the CGI "Role", installed the x86 version of ActivePerl - seems to do a lot more during installation than the x64 version.

            Running the "Test", I am now getting:

            The computer you specified as your mail server is not a valid mail (SMTP) server. Check the computer name or address and try again. If it fails again, then it is possible, you were locked out by a firewall program, or you don't have network connection to this server.

            The SMTP Email in Actinic is set to "localhost", but I did try an authenicated SMTP, but same message.

            Do I need to do something to the Win08 for localhost mail?

            Thanks

            Rgds, Tak.

            Comment


              #7
              You need to make sure the SMTP server is setup on the web server (server components). If it is, you could try using 127.0.0.1 instead of localhost....
              KDM Digital Media - Actinic web design and hosting

              Comment


                #8
                Adding "SMTP Server" now...

                Before adding the "SMTP Server":
                I've seen in IIS7 > In the Website > ASP Settings, there is "STMP Mail"
                I ticked the localhost

                Tried Actinic test, failed.

                Now waiting to setup "SMTP Server" ...

                Thank you.

                Comment


                  #9
                  No problem - let us know how you get on.
                  KDM Digital Media - Actinic web design and hosting

                  Comment


                    #10
                    I've added the "SMTP Server" feature, the SMTP Service is running

                    Test fails : message "5.7.1 Unable to relay for xyz@mywebsite.com"

                    I've ticked the "use localhost" in the settings for ASP.NET / SMTP Email
                    (not sure if that's correct)

                    I can't find any where else for SMTP settings... help?

                    Thanks

                    Rgds, Tak.

                    Comment


                      #11
                      Are you sure the SMTP relay is installed properly? These are the steps to install it:

                      1.Open the Server Manager snap-in.
                      2.In the console tree, click Roles, click Add Roles in the details pane, and then click Next.
                      3.Click to select the Web Server (IIS) check box, select all components except the FTP Server component, and then click Next.
                      4.In the Server Manager snap-in, click Features in the console tree, and then click Add Features in the details pane.
                      5.Click to select the SMTP Server check box, and then click Next.
                      6.Click Install.

                      Kevin
                      KDM Digital Media - Actinic web design and hosting

                      Comment


                        #12
                        Under Server Roles, there are only two:
                        Web Server (IIS) (Installed) **greyed**
                        Windows Server Update Services

                        Under Roles Services: There are many items
                        Following are not ticked:
                        # Common HTTP Features: HTTP Redirection
                        # Application Development: Server Side Includes
                        # Health and Diagnostics: Logging Tools, Tracing, Custom Logging, ODBC Logging
                        # Security: Basic Auth, Windows Auth, Digest Auth, Client Cert Map Auth, IIS Client Cert Map Auth, URL Auth, IP and Domain Restrictions.
                        # Performance: Dynamic Content Compression
                        # Management Tools: Management Service
                        # IIS 6 Management Compatibility: IIS6 WMI Comp, IIS Scripting Tools
                        # FTP Publishing Service: FTP Server, FTP Management Console

                        Should I tick all above (except FTP) and see? I don't really see what the above unticked items have in common with SMTP Server...

                        Under "Features"
                        Features Summary: installed

                        Amongst many things, including:
                        SMTP Server
                        Remote Server Admin Tools: Feature Admin Tools : SMTP Server Tools

                        Have I got it right?

                        Thanks.

                        Rgds, Tak.

                        Comment


                          #13
                          No, that seems OK. It may be the relay restrictions then. Try this:

                          1) Go to IIS
                          2) Expand the server node
                          3) Right click on your SMTP server > go to "Properties"
                          4) Click "Access" tab
                          5) Under Relay Restrictions, click the "Relay" button
                          6) Click "Add"
                          7) Select "Single Computer" and enter IP address 127.0.0.1

                          See if that helps....

                          Cheers Kev
                          KDM Digital Media - Actinic web design and hosting

                          Comment


                            #14
                            Yes! Passed all the tests! Thanks a million.

                            I was a bit bemused at first, as IIS7 didn't have a "SMTP Server". Took me a few moments, then I tried opening IIS6, and it was there!

                            Why it was there, I don't know, but that also happend when I was trying to get the FTP working (FTP showed up in IIS6), took me a while but I know why you said not to tick the FTP in the Roles Features...

                            Now to get SSL, and see if it goes...

                            Thanks again!
                            Rgds, Tak.

                            Comment


                              #15
                              Just tried "refresh" the site (without SSL).

                              It uploads til the end it crashes with a window:

                              An error occured while merging files on the remote site. OKBad Catalog username or password. Check your Housekeeping ¦ Security settings and try again. If that fails, try refreshing the site. Bad Catalog username or password. Check your Housekeeping ¦ Security settings and try again. If that fails, try refreshing the site.

                              [yes, the last sentence repeats itself & the "OKBad" is what it shows]

                              I've checked out the Housekeeping/Security, and there are 25x characters in the Encryption key, 10 characters in Username & password.

                              Then it would crash out, creating a *.dmp file.

                              Restart Actinic, and crashes everytime you push either update or refresh site button.

                              I've saved the network settings, added a new site to actinic, import the settings, and upload. - interesting, it doesn't crash on hitting the button, but would crash at the end (same as previous). However, restart actinic, and re-upload, wouldn't crash immediately - but does at the end.

                              The more times I run with the error, the error box gets longer - the sentence repeats more and more.

                              I then changed the script id (was 2), now 1.

                              Refresh the default site, it would end with "Error with merging..." and then crash out creating another *.dmp file.

                              Also, Under "Troubleshooting" the "Purge and Refresh" is greyed.

                              I see an error.err file, inside:

                              Line 1:
                              Program = CATALOG ,
                              Program version = 17583 ,
                              HTTP Server = Microsoft-IIS/7.0 ,
                              Return code = 453 ,
                              Date and Time = 16/06/2009 21:44:14,
                              Internal Errors = filename for delete is NULL,
                              Invalid username/password attempt (xxxXXXxxxXXX, xxxXXXxxxXXX),

                              Line 2: is the same, but the "Invalid username..." is repeated (x2)
                              Line 3: is the same, but the "Invalid username..." is repeated (x3)
                              Line 4: is the same, but the "Invalid username..." is repeated (x4)

                              (BTW, the real user/pass has been replaced by x's)

                              This looks like the link to the error box getting bigger.

                              Any clues?

                              Thanks again.

                              Comment

                              Working...
                              X