VS2005 - Remove or Permanently Disable Cassini?

C

clintonG

After discovering Cassini is crippleware I learned how to use Start Options
to disable NTLM and enable support for the default web server on my XP Pro
dev platform. Now all new projects are created as websites. I was happy
until when out of the blue Cassini has re-enabled itself for one of the
websites I am developing. Despite the Start Option settings I can't get rid
of the Cassini pest and my website will not load from the IDE.

Does somebody know what options I now have? I would like to rid the machine
of Cassini all together if possible but if that is not possible at least
permanently disable this pest before it starts mangling all of my other
projects which I am now paranoid about even opening in the VS2005 IDE.


--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 
J

John Timney \(ASP.NET MVP\)

it used to be as simple as deleting the cassini directory and running
gacutil against the cassini gac entry on the installation machine

gacutil -u Cassini

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
C

clintonG

Thanks John.

I could not find Cassini anywhere in the file system.
I ran gacutil -L > c:\gac.txt and searched unsuccessfully for Cassini.

Now I think I understand what you meant by "used to be as simple."

<%= Clinton Gallagher
 
J

John Timney \(ASP.NET MVP\)

if you really stuck then, and that didn't do it I would suggest you drop an
email to one of the moderators at www.asp.net who can pick the problem up
for you.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
J

Juan T. Llibre

Hi, Clinton.

That is strange because all it takes to uninstall is
unregistering the Cassini.dll from the GAC;
the Cassini setup code doesn't install reg keys or system files.

I know you said that :
I ran gacutil -L > c:\gac.txt and searched unsuccessfully for Cassini.

But... did you run gacutil -u Cassini ?

Also, stopping the Cassini process using Task Manager should work
as a temp solution, and making sure Cassini is not started again should
make it permanent.

An alternate approach might be to use Denis Bauer's ASP.NET
Version Switcher to assign your virtual directory to ASP.NET.

btw, there's a much-improved version of Cassini, named CassiniEx, at :

http://www.systemex.net/CassiniEx/

Both executable and source code are available there.
It's quite interesting to browse through the source code.

The author, Kiliman ( blog at http://blogs.systemex.net/Kiliman/ )
has left it pretty much dormant for the last year, but he says he's
working on a new version.

Take a look at its features :

Run multiple web sites and applications in a single instance of CassiniEx
Each ApplicationHost is loaded only on demand
CassiniEx loads in system tray
Supports multiple host headers and ports per web site
Supports multiple virtual folders
Each web site has a log file in W3C extended log file format
Each web site can allow or deny remote connections
Custom default documents per virtual folder
Now supports Keep-Alive connections
Support If-Modified-Since and Last-Modified headers to reduce bandwidth
Automatically unload AppDomain when Idle for user-defined time
Each virtual folder can have custom deny/allow extensions
Configuration changes are automatically loaded without having to restart the server

Pretty impressive!
 
C

clintonG

No, I didn't try -u because Cassini -- by name -- is not present in the Beta
2 GAC as I explained. How can something be uninstalled that is not
installed?
I also tried Processes and Services and there is no Cassini by name. Unless
some other name is present it seems to me that there is no separate
implementation of Cassini.

<%= Clinton Gallagher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top