question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running TaskBoard on IIS

See original GitHub issue

I downloaded taskboard 1.0.2 zip and placed the contents in a subdirectory in my wwwroot served by IIS. I enabled readwrite permissions for the /api subdirectory. Navigated to https://server/tasks and the login page renders. At this point in the browser dev console i can see a POST https://server/tasks/api/login 404 which is probably ok and the login dialog is displayed. So up to here php is working assets are served and the javascript seems ok because it tried to auth and failed forcing me to the login prompt.

To Reproduce at the login page use the default user and pass (admin, admin) and hit the login button, does not login, dev console shows exception trace:

core.js:4197 ERROR TypeError: Cannot read property 'forEach' of undefined
    at n._next (login.component.ts:51)
    at n.value (Subscriber.js:183)
    at n.value (Subscriber.js:122)
    at n.value (Subscriber.js:72)
    at n.value (Subscriber.js:49)
    at n.Zone.__load_patch.e.Subscriber.next (zone-patch-rxjs.js:163)
    at n.value (innerSubscribe.js:42)
    at n.value (innerSubscribe.js:10)
    at n.value (Subscriber.js:49)
    at n.Zone.__load_patch.e.Subscriber.next (zone-patch-rxjs.js:163)

Expected behavior Taskboard works as it would on apache/linux

Please complete the following information:

  • OS: Server windows server 2016 (effectively windows 10 1607), IIS with php and urlrewrite installed and working (running pmwiki in another subdirectory)
  • Browser, Edge chromium version, latest

Additional context Note that htaccess does not work under IIS. Url rewrite is installed and that functions in a similar way but the htaccess files provided contain expressions that the importer doesn’t understand.

Can this work? and if so what needs changing?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Wraith2commented, Dec 1, 2020

Ok, couldn’t find a way to save it as text so screenshot. Capture

the zone call response body is “{ message: “Matching API call not found.” }” which seems to indicate that it’s the api subdir rules.

0reactions
michael1maasscommented, Sep 7, 2021

the IIS Setup Procedure from the Wiki tries to import Rules from HTACCESS that are not supported. I just ignored the rewrite for that and it works. The other discrepancy is, that the file to rewrite to in the API folder is named index.php, not api.php. Last, you should pay attention to the rewrite path. I work with subdomains like Taskboard.localhost so the rewrite path has to be shortend accordingly (/api/index.php)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run TaskBoard in IIS/Windows · Issue #310 - GitHub
Open IIS, right click on the TaskBoard folder and Convert into Application . The TaskBoard icon should change from a plain yellow folder...
Read more >
Configuring Microsoft IIS for single sign-on from - Helix ALM
1. Choose Start > Control Panel > Programs and Features. · 2. Click Turn Windows features on or off in the Tasks pane....
Read more >
Best Way To Run Scheduled Tasks For IIS Hosted Websites.
Please visit http://www.technomark.in/Autostart-A-Website-At-Specific-Time-In- IIS.aspx for more informationIn this video, we have explained ...
Read more >
How to Install TaskBoard on Rocky Linux 8 - Atlantic.Net
TaskBoard is an open-source application for managing and tracking tasks from a web-based UI. Here's how to install TaskBoard on Rocky Linux 8....
Read more >
Microsoft IIS server discovery - ServiceNow Docs
Data collected by Discovery for IIS Web Server ; Name, name ; Version, version ; Type*, type ; Running process command, running_process_command.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found