[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Cannot start a new web application on .NET Standard Server 2003 RC2

Bwai Chan

12/28/2002 4:07:00 PM

Hi all,

i've installed VS.NET on .NET Standard Server 2003 RC2 and followed the
instruction to setup ASP.NET v1.3705 manually in IIS6.0. However, when i
starts a new web project, it claimed that "http://localhost/webapp1 and
c:\inetpub\wwwroot\webapp1 does not mapped to same location. HTTP 404 not
found."

frontpage 2002 extension and asp.net is allowed in IIS6.0 and RC2 is
installed on C drive.
Does anyone know whats going on?

Thx in advance.

Regards,
Bwai Chan


2 Answers

(Bill Cheng (MS))

12/29/2002 1:33:00 PM

0

Hi Bwai,

The problem may be that Internet Information Server 6.0 blocks all
extensions that are not explicityly mapped (for security purposes), while
VS.Net tests whether the URL and UNC path match by writing a file with the
".tmp" extension to the server and then requesting it back via an http
call. Since Internet Information Server 6.0 blocks .tmp file the call fails
with a 404 error.

Workaround

1. Launch the Internet Information Services MMC.
2. Right click on your web site and click properties.
3. In the 'HTTP Headers' tab click 'MIME Types...' button.
4. Add a new MIME type by clicking 'New...' button.
5. In the 'Extension' edit control type (without the quotes) '.tmp'.
6. In the 'MIME type' edit control type (without the quotes) 'temp'.

Or run the following command at command prompt:

%systemdrive%\inetpub\adminscripts\adsutil.vbs set /w3svc/MimeMap .tmp,temp

The above steps will allow .tmp files to be served up by IIS. On a
development machine where web project are created this is usually not an
security concern. However if you have .tmp which contain sensitive data
which you do not want exposed, you will have to reverse the above 6 steps.

If the mime entry for .tmp file is deleted after creating the project you
will receive a http 404 error when you try to reopen the project. So you
will have add .tmp mime type before you open the project and remove it
after opening the project.


This posting is provided "AS IS" with no warranties, and confers no rights.

Regards,

Bill Cheng
Microsoft Support Engineer
--------------------
| From: "Bwai Chan" <bwaichan@hongkong.com>
| Subject: Cannot start a new web application on .NET Standard Server 2003
RC2
| Date: Sat, 28 Dec 2002 23:07:44 +0800
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
| Message-ID: <uCC3WLorCHA.2036@TK2MSFTNGP12>
| Newsgroups:
microsoft.public.dotnet.framework.aspnet,microsoft.public.dotnet.framework.s
dk,microsoft.public.dotnet.framework.setup
| NNTP-Posting-Host: pcd676186.netvigator.com 218.102.208.186
| Path: cpmsftngxa09!TK2MSFTNGP08!TK2MSFTNGP12
| Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:5510
microsoft.public.dotnet.framework.setup:3282
microsoft.public.dotnet.framework.aspnet:111786
| X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
|
| Hi all,
|
| i've installed VS.NET on .NET Standard Server 2003 RC2 and followed the
| instruction to setup ASP.NET v1.3705 manually in IIS6.0. However, when i
| starts a new web project, it claimed that "http://localhost/webapp1 and
| c:\inetpub\wwwroot\webapp1 does not mapped to same location. HTTP 404 not
| found."
|
| frontpage 2002 extension and asp.net is allowed in IIS6.0 and RC2 is
| installed on C drive.
| Does anyone know whats going on?
|
| Thx in advance.
|
| Regards,
| Bwai Chan
|
|
|

Ken Cox [MS MVP]

12/29/2002 9:02:00 PM

0

It isn't clear from what you said whether you also set up the special ASPNET
account permissions. If not, here's some info:

http://support.microsoft.com/default.aspx?scid=kb;en-...

"Bwai Chan" <bwaichan@hongkong.com> wrote in message
news:uCC3WLorCHA.2036@TK2MSFTNGP12...
Hi all,

i've installed VS.NET on .NET Standard Server 2003 RC2 and followed the
instruction to setup ASP.NET v1.3705 manually in IIS6.0. However, when i
starts a new web project, it claimed that "http://localhost/webapp1 and
c:\inetpub\wwwroot\webapp1 does not mapped to same location. HTTP 404 not
found."

frontpage 2002 extension and asp.net is allowed in IIS6.0 and RC2 is
installed on C drive.
Does anyone know whats going on?

Thx in advance.

Regards,
Bwai Chan