Herfried, what's the difference between IIS and Cassani ASP.Net? I didn't
load IIS on my computer when I installed VS.Net 2003 and I understand that I
now have to uninstall VS.Net 2003 then install IIS then re-install VS.Net
2003. Is this correct?
"Herfried K. Wagner [MVP]" wrote:
[color=blue]
> "adh" <avraham@adhsys .co.il> schrieb:[color=green]
> >I have heard that there is a single machine replacement program for IIS.[/color]
>
> Cassini
> <URL:http://www.asp.net/Projects/Cassini/Download/>
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>
>[/color]
"Dennis" <Dennis@discuss ions.microsoft. com> wrote in message
news:A878F108-9650-4870-9D6A-A60FA15059CB@mi crosoft.com...[color=blue]
> Herfried, what's the difference between IIS and Cassani ASP.Net? I didn't
> load IIS on my computer when I installed VS.Net 2003 and I understand that
> I
> now have to uninstall VS.Net 2003 then install IIS then re-install VS.Net
> 2003. Is this correct?
>[/color]
Pardon the interruption.
You do not have to uninstall VS.NET 2003 in it's entirety. You can either:
1. Uninstall, then reinstall the .NET Framework to get it mapped to IIS, or
2. You can follow the instructions in Microsoft KnowledgeBase Article
#306005, which says in part:
"After you install the Microsoft .NET Framework Software
Development Kit (SDK) or Visual Studio .NET, Microsoft
Internet Information Service (IIS) mappings are created to
associate the new file extensions and settings for
ASP.NET. If
you did not have IIS installed when you ran the SDK or
Visual
Studio Setup, or if you uninstalled and reinstalled IIS
after
you ran the SDK or Visual Studio Setup, those settings
will
not be in place. You experience unexpected behavior when
you
try to view ASP.NET pages.
When you try to create a new ASP.NET Web application in
Visual
Studio .NET 2003, you receive the following error message:
Visual Studio .NET has detected that the specified Web
server
is not running ASP.NET version 1.1. You will be unable to
run
ASP.NET Web applications or services.
MORE INFORMATION
To fix IIS mappings for ASP.NET, follow these steps:
Run the Aspnet_regiis.e xe utility:
Click Start, and then click Run.
In the Open text box, type cmd, and then press ENTER.
At the command prompt, type the following, and then
press
ENTER:
"%windir%\Micro soft.NET\Framew ork\version\asp net_regiis.exe"
-i
In this path, version represents the version number of
the
.NET Framework that you installed on your server. You
must
replace this placeholder with the actual version
number
when you type the command.
Register the Aspnet_isapi.dl l:
Click Start, and then click Run.
In the Open text box, type the following, and then
press
ENTER:
regsvr32
%windir%\Micros oft.NET\Framewo rk\version\aspn et_isapi.dll
Regsvr32 returns the results of the registration.
REFERENCES
For more information about the Aspnet_regiis.e xe utility,
run
this .exe file with -? as an argument.
For a description of the symptoms that are typically
related
to ASP.NET and IIS application mappings that are not
configured properly, click the following article number to
view the article in the Microsoft Knowledge Base:
325093 PRB: ASP.NET Pages Exhibit Unexpected Behavior
Because
the Server-Side Code Is Not Processed"
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Thanks. It looks easier to uninstall the .Net FrameWork then install IIs
then re-install the .Net FrameWork
"Peter van der Goes" wrote:
[color=blue]
>
> "Dennis" <Dennis@discuss ions.microsoft. com> wrote in message
> news:A878F108-9650-4870-9D6A-A60FA15059CB@mi crosoft.com...[color=green]
> > Herfried, what's the difference between IIS and Cassani ASP.Net? I didn't
> > load IIS on my computer when I installed VS.Net 2003 and I understand that
> > I
> > now have to uninstall VS.Net 2003 then install IIS then re-install VS.Net
> > 2003. Is this correct?
> >[/color]
> Pardon the interruption.
> You do not have to uninstall VS.NET 2003 in it's entirety. You can either:
> 1. Uninstall, then reinstall the .NET Framework to get it mapped to IIS, or
> 2. You can follow the instructions in Microsoft KnowledgeBase Article
> #306005, which says in part:
> "After you install the Microsoft .NET Framework Software
> Development Kit (SDK) or Visual Studio .NET, Microsoft
> Internet Information Service (IIS) mappings are created to
> associate the new file extensions and settings for
> ASP.NET. If
> you did not have IIS installed when you ran the SDK or
> Visual
> Studio Setup, or if you uninstalled and reinstalled IIS
> after
> you ran the SDK or Visual Studio Setup, those settings
> will
> not be in place. You experience unexpected behavior when
> you
> try to view ASP.NET pages.
>
> When you try to create a new ASP.NET Web application in
> Visual
> Studio .NET 2003, you receive the following error message:
>
> Visual Studio .NET has detected that the specified Web
> server
> is not running ASP.NET version 1.1. You will be unable to
> run
> ASP.NET Web applications or services.
> MORE INFORMATION
> To fix IIS mappings for ASP.NET, follow these steps:
> Run the Aspnet_regiis.e xe utility:
> Click Start, and then click Run.
> In the Open text box, type cmd, and then press ENTER.
> At the command prompt, type the following, and then
> press
> ENTER:
> "%windir%\Micro soft.NET\Framew ork\version\asp net_regiis.exe"
> -i
> In this path, version represents the version number of
> the
> .NET Framework that you installed on your server. You
> must
> replace this placeholder with the actual version
> number
> when you type the command.
> Register the Aspnet_isapi.dl l:
> Click Start, and then click Run.
> In the Open text box, type the following, and then
> press
> ENTER:
> regsvr32
> %windir%\Micros oft.NET\Framewo rk\version\aspn et_isapi.dll
> Regsvr32 returns the results of the registration.
> REFERENCES
> For more information about the Aspnet_regiis.e xe utility,
> run
> this .exe file with -? as an argument.
>
> For a description of the symptoms that are typically
> related
> to ASP.NET and IIS application mappings that are not
> configured properly, click the following article number to
> view the article in the Microsoft Knowledge Base:
> 325093 PRB: ASP.NET Pages Exhibit Unexpected Behavior
> Because
> the Server-Side Code Is Not Processed"
>
> --
> Peter [MVP Visual Developer]
> Jack of all trades, master of none.
>
>
>[/color]
To all the good guys that are helping,
First: Thanks,
Now after reading your answers I am a bit confused.
I wanted to bypass the IIS installation on my development machine
(security, memory, complications.. you name it) so I heard about the
Cassini program and got the impression it is going to be an easy
replacement to the IIS and I still will be able to run sample programs
utilizing WEB services, or develope them and being able to run them on
the Cassine machine (with no need for the IIS).
So please:
1) Where am I wrong?
2) If not, assuming I have a clean bare XP-Pro machine - what is my
installation sequence??? !!!
3) I tried installing Cassini first, it claimes I have to compile it via
the build.bat batch file (remember no VS.NET installed yet...)
Without this compile it gave me errors (is this the reason?)
Thanks for helping out.
OK, now AFTER I installed the IIS, I saw in:
..VB.NET\VBSour ceKit\VB Resource Kit\ReadMe.rtf
the following:
Installation notes:
Cassini Web Server
The Cassini Web Server has been installed on your system (by the vbrkit
which is no more available). If IIS is not installed the Visual Basic
..NET Resource Kit site can be hosted by the Cassini Web Server.
To view the site through the Cassini Web Server, click on the short cut
in Start -> All Programs -> Visual Basic .NET Resoure Kit - > VB.NET
ResourceKit.
Of course doing this now - Cassini is shouting that it has conflicts
with (my) running IIS, and that both are too much...
May I ask somebody from microsoft to clear things out so next time (who
knows) I (we) will do it the right way?
Thanks in advance.
Thanks, adh
Comment