Friday, May 30, 2014

IIS Fixes

Hi All,

    It would we be heaven for the developers as well as administrators, who deploy their web application on IIS in a newly installed OS and its runs without showing some errors due to some authentication, security and installation issues. I very often end with such kinds of issues, infact most of us would.So i would like to share some of my IIS fixes, so that it can be useful for someone new to IIS. You can also post the issues that you come across with.

1 . HTTP Error 500.19

When multiple versions of the .NET Framework are executing side-by-side on a single computer, the ASP.NET ISAPI version mapped to an ASP.NET application determines which version of the common language runtime (CLR) is used for the application. In some case the ASP.Net my not be correctly installed and mapped to IIS for that particular version.
It can be done by using the following,

Open Cmd in Administrator Mode and type the following command.

c:\Windows\Microsoft.NET\Framework\[framework in which your application runs]\aspnet_regiis.exe -i

Ex:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

Monday, March 3, 2014

Setting Up SIP2 Server in KOHA

Hi Folks,

    Few days ago, my friend asked me to help him with setting up of SIP2 server in Koha. I started digging about koha and SIP2. I found some useful information, that i would like to share with you and who are struggling with the same problem.

    Koha is a open source Integrated Library System (ILS), that runs on Linux OS. Koha was developed using pearl language and MySql as database. Anyone who is trying to implement a RFID or BarCode based library management system with koha cannot be able to directly modify source code, because its so risky to touch the code without any in-depth knowledge in it. In order to get data from koha without touching the code, 3M System created a protocol named SIP2 (Standard Interchange Protocol).  Follow the procedures to Enable SIP2 in koha,

Setting Up and Running Koha :

Step 1 : Install Koha Or Use in Live Mode

Step 2 : Installing gedit : Open terminal and type the following command

Sudo apt-get install gedit

Step 3 : Edit host file to use koha in lan

Sudo gedit /etc/hosts

When you open the file you may see 127.0.0.1 in the file. It’s loop mapped to localhost. Replace the ip

address with the ip address of machine in which koha is installed.

Step 4 : Koha Instance Setup – SIPconfig

We have to configure SIP server to access it from LAN, Use the following commands

Sudo gedit /etc/koha/SIPconfig.xml

When you open the file you will see 127.0.0.1, change the IP address with servers ip address. Don’t

change the port. Change the username and password in that xml with a staff credential.

Step 5 : Enable SIP

Sudo koha-enable-sip library (Here library is instance name)

Step 6 : Start SIP

Sudo koha-start-sip library