Re: asp.net deployment

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Scott Allen (bitmask_at_[nospam)
Date: 05/31/04


Date: Mon, 31 May 2004 09:09:11 -0400

Not without making some change in IIS first.

If I create a virtual directory in IIS pointing under Program Files,
and then run an ASP.NET setup MSI pointing to the new virutal
directory, it will use the path of the virtual directory and setup all
the correct authorization rights, etc.

HTH,

--
Scott
http://www.OdeToCode.com
On Mon, 31 May 2004 02:10:47 -0700, "popman" <neoasp@sohu.com> wrote:
>Hi Rick,
>Thank you for your reply.
>Perhaps I was misunderstood.I want a asp.net application to be setup by a
>MSI file.
>The MSI file is created by vs.net setup project.
>But such setup project can only let me set virtual directory name which
>usually install the asp.net application under wwwroot root,if a virtual
>directory isn't be set in IIS admin Console before install.
>
>So my question is whether I can change the destination to "program file".
>
>Neo
>
>
>"Rick Strahl [MVP]" <rickstrahl@hotmail.com> 写入消息新闻
>:OI4E$vtREHA.3344@TK2MSFTNGP12.phx.gbl...
>> You'll have to manually configure things if you do this, but it's not
>> difficult.
>>
>> The main thing for this is that you have to set the rights etc manually
>> because most likely Program Files will not be set up correctly to allow
>the
>> Web access.
>>
>> The thing to do is:
>>
>> Make sure that your path allows access to the IUSR_ account and NETWORK
>> SERVICE (IIS6) or ASPNET (IIS5)
>> Create a new Virtual Directory (using the IIS Admin console) in your
>custom
>> path
>> Enable Script Execution in the virtual
>> Make sure that this path has a BIN sub directory
>> Make sure that you create web.config and global.asax files if not in your
>> files
>> Copy the rest of your files
>>
>> Hope this helps,
>>
>> +++ Rick ---
>>
>> -- 
>>
>> Rick Strahl
>> West Wind Technologies
>> http://www.west-wind.com/
>> http://www.west-wind.com/weblog/
>> ----------------------------------
>> Making waves on the Web
>>
>>
>> "popman" <neoasp@sohu.com> wrote in message
>> news:Oo2c8OrREHA.568@TK2MSFTNGP12.phx.gbl...
>> > Vs.net's setup project always installs the project's files under
>> wwwroot.If
>> > I would like to install the project's files(aspx,js,html files) into
>> program
>> > files.How should I do?
>> >
>> >
>> > Thanks
>> >
>> >
>>
>>
>
>


Relevant Pages

  • Re: Setting up asp.net page over a domain.
    ... I'm trying to setup a asp.net webpage over a domain. ... I've got IIS ... virtual directory in IIS over the domain, ... impersonations without much success. ...
    (microsoft.public.dotnet.framework.aspnet)
  • SQLCE Server Deployment
    ... I need to deploy SQL Server CE to my Clients Desktops. ... I can setup the ... virtual Directory in IIS and I can put in the sscesa20.dll and the ...
    (microsoft.public.sqlserver.ce)
  • Thanks
    ... The problem I was having was with a web hosting company - not my own setup. ... When you select a Virtual Directory in IIS and view properties there is an ... right version of ASP.NET was automatically selected in IIS. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS virtual paths and FrontPage
    ... what's the setup of the virtual on the shared SSL site? ... does the virtual directory have a _vti_bin in it? ...
    (microsoft.public.inetserver.iis)
  • Re: SBS2k3 and activesync over the air
    ... the Exchweb virtual directory. ... ONLY 'Basic authentication' is selected ... please restart your IIS service and test your issue again. ... Regarding ActiveSync issue, support code 0x85010014 means error HTTP 500. ...
    (microsoft.public.windows.server.sbs)