down vote
favorite
I am new to Delphi (pascal builder) and need help.
I recently created a DataSnap REST Server Application in Delphi XE7, and I want it to connect to my already existing Mobile multi platform Application that I had previously created in Delphi XE7. The purpose of the DataSnap Server Application is to create a middle tier between the Enterprise server (SQL Server 2012) and the Mobile Application. I am using SQLite for local storage in the Mobile Application.
I have tried to deploy the DataSnap Server onto IIS 7 using the steps in this link: http://edn.embarcadero.com/article/40873 This link has been the most promising of my research. Now my problem is that, after I have implemented all of the steps in the above link, when i run the virtual library in IIS7, instead of getting the actual Server Application, i am getting the algorithm of the application.
In IIS7, in the MIME Types, i have included the extension '.pas' with MIME Type 'text/pascal'. when i run the browser, it gives me the algorithm of the application, instead of the Application itself.
How can I run the virtual library and get the Application itself, instead of the algorithm?