Tag: IIS

IIS not recognizing .aspx extension (404 error)

While trying to install a .NET application on a Windows Server 2003 box, I ran into a problem where the .aspx extension was not being recognized. Browsing .NET pages resulted in 404 (“page not found”) errors. Since the same set of application files had been installed on several other servers without incident, it seemed likely that there was something different about this server. The same version of .NET had been installed on all the servers, but never used.

I had assigned .NET 2.0.50727 to the application using the drop-down menu in the Application properties window in IIS Manager. But apparently, sometimes the .NET installer doesn’t register .NET to IIS, and it has to be done manually.

You can tell that this is the problem, if you have assigned .NET to the application, but when looking in IIS Manager > Web Service Extensions, it does not show up in the list.

Continue reading

Perception 4.3 meets an Oracle 10g bug: Unsupported network datatype or representation

Last January, I installed a test instance of Questionmark’s Perception server, version 4.2, in preparation for upgrading our version 3.4 Perception server. At the time, we were using Oracle version 9i. Once installed, our testing went well, and we did not notice any significant problems.

In July, we finally got around to doing the actual upgrade, and decided to upgrade the database to Oracle 10g at the same time. The installation and conversion of our version 3.4 data went very smoothly. Everything ran well for about a week. Then things began to go wrong. When we would open the Authoring Manager, it would refuse to show us any assessments (“assessments can’t be found”.) Then it would tell us administrators couldn’t be found. After a few days, the assessments disappeared from the Perception Server as well, meaning users could no longer take them. After trying numerous fixes, we reverted to a recent backup of the database from a couple of days before, and the problem disappeared. The one Oracle error that both Perception Server and Authoring Manager were giving was “ORA-03115: unsupported network datatype or representation.”

Continue reading

How to run Red 5 on a shared IIS server on port 80

Setting up Red5 on a box which also contains a web server can be a challenge if you are restricted to using specific ports because of a firewall. Here is how we set up Red5 on a Windows 2003 server which also contains a production IIS server.

Our firewall only allows traffic on ports 80 and 443. This is non-negotiable, so we needed to work around the requirement.

The folks – in particular Walter Tak – on the Red5 mailing list pointed me in the right direction: Make another IP (or two) for Red 5 to run under.

IIS was already using ports 80 and 443, so the system administrator made two additional IPs for Red5 to use, one for rtmp and one for http. He then changed the settings in the Default Website Properties in IIS Manager: In Web Site Identification: IP Address, instead of (All Unassigned), he selected the single IP which we wanted IIS to listen on. We did not want IIS to interfere with port 80 on the IPs used by Red5.

Continue reading