OK. I've just got Delphi 2005. Been a Delphi user for "decades". Know next to nothing about ASP and .net except basic concepts, being immersed in win32 device control software for a long while. Thought I'd just write a little ASP program to get started. Well, after several hours I am still nowhere.
Here's what I did ... Created a new "ASP.Net application - Delphi for .net" project. Accepted default project name and IIS server. Dropped a button and a label on the form. Wrote handler for button click which sets the label text. Pressed F9. It started IE with "http://localhost/WebApplication4/WebForm1.aspx
" but showed "The page cannot be displayed". After about 30 seconds, Delphi displayed the mssage "unable to start debugging on the web server. Unable to attach to ASP.NET worker process (typically aspnet_wp.exe or w3wp.exe)". Pressed Help and it said "No help found for context" which was not exactly helpful. Those exe files are not present on my system, which btw is XP Pro.
Based on the msg,I figure there is something wrong either with my .net environment or my IIS server. Pretty sure .net is OK, cause I ran some program from MS server which verified the setup.
So I was going on the theory that there is some problem with IIS, of which I know little. I found the service “IIS Admin” running. Is that IIS? Sure sounds like. Tried starting, stopping, rebooting etc. No change to project errors. So I thought, since I did not want to learn all about IIS right now, that I might use the Cassini server instead which came with Delphi. It is touted as a much easier server to test with and administer. I tried to compile it with the build.bat file, but that died cause I don’t have csc.exe on my system which I presume is the C sharp compiler.
Please advise a course of action. Should I dig into IIS to see if it is really running etc? Do I really need to know much about IIS to program ASP apps? Should I compile and use Cassini instead? How to do that? Where do I get csc.exe?
Other comment – wow is this Delphi a pig or what? I’m running a 1.3ghz processor with 500mb of ram and it just crawls along under XP Pro and no other apps running. Where is the runfast option?