views:

109

answers:

3

Is it possible to run classic asp on Cassini Webserver?

I have a mixed website (classic asp and dotnet)...

+1  A: 

Cassini is run from within Visual Studio. If you have a solution that contains both ASP.NET and ASP, it will continue to run on Cassini. But you can not run a pure classic ASP application this way.

Kangkan
Yeap, but classic asp pages do not render on cassini :(
andrecarlucci
You can also run Cassini from the command prompt http://blog.krisvandermast.com/HowToRunningTheBuiltInWebserverOfVisualStudio2005Yourself.aspx
XIII
+3  A: 

No, you can't. Cassini only renders ASP.net pages.

Eduardo Molteni
+2  A: 

Have you considered IIS Express? It's similar to Sql Server Express user instances in that it can be run and used without requiring administrative privileges or changes to your code to cater for it. It's a "user mode" version of IIS, and thus fully supports Classic ASP which would help with your scenario.

It's not integrated into Visual Studio (in the same way Cassini is) yet, but there'll be a tooling patch to do that at some point.

Rob
What "changes to your code" are required for normal IIS?
Kirk Woll
@Kirk, There are a few things that *don't* work in Cassini (but do work in IIS) that can be worked around by using different techniques so they work in both, which makes it easier sometimes to code to Cassini's limitations. I can't remember what they are off the top of my head, but there are a few of them
Rob
Eduardo really answered my question, but I upvoted your answer thanks to the IIS Express tip :)
andrecarlucci