Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Switching to IIS (http://www.velocityreviews.com/forums/t622760-switching-to-iis.html)

Scott M. 06-28-2008 05:34 PM

Switching to IIS
 
What am I doing wrong? If I simply create a new ASP .NET Web Application
Project (WAP) on my local file system and then go into the project
properties and switch the web server over to IIS and click the "Create
Virtual Directory" button, the page will not run and will eror out.

I do have IIS installed and running and the Virtual Directory does get
created.



Eliyahu Goldin 06-29-2008 08:58 AM

Re: Switching to IIS
 
Is ASP.NET registered with IIS?

Try running
aspnet_regiis -i
from the Visual Studio command prompt.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Scott M." <s-mar@nospam.nospam> wrote in message
news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
> What am I doing wrong? If I simply create a new ASP .NET Web Application
> Project (WAP) on my local file system and then go into the project
> properties and switch the web server over to IIS and click the "Create
> Virtual Directory" button, the page will not run and will eror out.
>
> I do have IIS installed and running and the Virtual Directory does get
> created.
>




Scott M. 06-29-2008 01:40 PM

Re: Switching to IIS
 
Yes, it is. IIS was installed and running prior to the VS installation.
Also, I can eventually get IIS to work if I go in to the site's properties
via the IIS manager and tweak out the security and default document
properties. But why doesn't VS take care of these things for me. By the
way, I have experienced this behavior on many different VS 2008 (and 2005)
installations.


"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
> Is ASP.NET registered with IIS?
>
> Try running
> aspnet_regiis -i
> from the Visual Studio command prompt.
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>> What am I doing wrong? If I simply create a new ASP .NET Web Application
>> Project (WAP) on my local file system and then go into the project
>> properties and switch the web server over to IIS and click the "Create
>> Virtual Directory" button, the page will not run and will eror out.
>>
>> I do have IIS installed and running and the Virtual Directory does get
>> created.
>>

>
>




Eliyahu Goldin 06-29-2008 02:09 PM

Re: Switching to IIS
 
If you are running on Vista, you have to start VS in administrator mode to
be able to use IIS. Could it be the problem?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Scott M." <s-mar@nospam.nospam> wrote in message
news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
> Yes, it is. IIS was installed and running prior to the VS installation.
> Also, I can eventually get IIS to work if I go in to the site's properties
> via the IIS manager and tweak out the security and default document
> properties. But why doesn't VS take care of these things for me. By the
> way, I have experienced this behavior on many different VS 2008 (and 2005)
> installations.
>
>
> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>> Is ASP.NET registered with IIS?
>>
>> Try running
>> aspnet_regiis -i
>> from the Visual Studio command prompt.
>>
>> --
>> Eliyahu Goldin,
>> Software Developer
>> Microsoft MVP [ASP.NET]
>> http://msmvps.com/blogs/egoldin
>> http://usableasp.net
>>
>>
>> "Scott M." <s-mar@nospam.nospam> wrote in message
>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>> Application Project (WAP) on my local file system and then go into the
>>> project properties and switch the web server over to IIS and click the
>>> "Create Virtual Directory" button, the page will not run and will eror
>>> out.
>>>
>>> I do have IIS installed and running and the Virtual Directory does get
>>> created.
>>>

>>
>>

>
>




Scott M. 06-29-2008 04:50 PM

Re: Switching to IIS
 
Nope. I am an admin on all my machines.


"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
message news:OBRLxHf2IHA.2292@TK2MSFTNGP03.phx.gbl...
> If you are running on Vista, you have to start VS in administrator mode to
> be able to use IIS. Could it be the problem?
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
>> Yes, it is. IIS was installed and running prior to the VS installation.
>> Also, I can eventually get IIS to work if I go in to the site's
>> properties via the IIS manager and tweak out the security and default
>> document properties. But why doesn't VS take care of these things for
>> me. By the way, I have experienced this behavior on many different VS
>> 2008 (and 2005) installations.
>>
>>
>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>>> Is ASP.NET registered with IIS?
>>>
>>> Try running
>>> aspnet_regiis -i
>>> from the Visual Studio command prompt.
>>>
>>> --
>>> Eliyahu Goldin,
>>> Software Developer
>>> Microsoft MVP [ASP.NET]
>>> http://msmvps.com/blogs/egoldin
>>> http://usableasp.net
>>>
>>>
>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>>> Application Project (WAP) on my local file system and then go into the
>>>> project properties and switch the web server over to IIS and click the
>>>> "Create Virtual Directory" button, the page will not run and will eror
>>>> out.
>>>>
>>>> I do have IIS installed and running and the Virtual Directory does get
>>>> created.
>>>>
>>>
>>>

>>
>>

>
>




Eliyahu Goldin 06-30-2008 08:14 AM

Re: Switching to IIS
 
No, I mean you should run VS with elevated administrator permissions.
Right-click the VS shortcut and select "Run as Administrator".

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Scott M." <s-mar@nospam.nospam> wrote in message
news:uBRVkgg2IHA.2384@TK2MSFTNGP04.phx.gbl...
> Nope. I am an admin on all my machines.
>
>
> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
> message news:OBRLxHf2IHA.2292@TK2MSFTNGP03.phx.gbl...
>> If you are running on Vista, you have to start VS in administrator mode
>> to be able to use IIS. Could it be the problem?
>>
>> --
>> Eliyahu Goldin,
>> Software Developer
>> Microsoft MVP [ASP.NET]
>> http://msmvps.com/blogs/egoldin
>> http://usableasp.net
>>
>>
>> "Scott M." <s-mar@nospam.nospam> wrote in message
>> news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
>>> Yes, it is. IIS was installed and running prior to the VS installation.
>>> Also, I can eventually get IIS to work if I go in to the site's
>>> properties via the IIS manager and tweak out the security and default
>>> document properties. But why doesn't VS take care of these things for
>>> me. By the way, I have experienced this behavior on many different VS
>>> 2008 (and 2005) installations.
>>>
>>>
>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>>>> Is ASP.NET registered with IIS?
>>>>
>>>> Try running
>>>> aspnet_regiis -i
>>>> from the Visual Studio command prompt.
>>>>
>>>> --
>>>> Eliyahu Goldin,
>>>> Software Developer
>>>> Microsoft MVP [ASP.NET]
>>>> http://msmvps.com/blogs/egoldin
>>>> http://usableasp.net
>>>>
>>>>
>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>>>> Application Project (WAP) on my local file system and then go into the
>>>>> project properties and switch the web server over to IIS and click the
>>>>> "Create Virtual Directory" button, the page will not run and will eror
>>>>> out.
>>>>>
>>>>> I do have IIS installed and running and the Virtual Directory does get
>>>>> created.
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>




Scott M. 06-30-2008 09:05 PM

Re: Switching to IIS
 
I don't follow you, the shortcut has me (an admin) on it for security, so it
is already running with admin permissions.

-Scott

"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
message news:ecCYPmo2IHA.4920@TK2MSFTNGP05.phx.gbl...
> No, I mean you should run VS with elevated administrator permissions.
> Right-click the VS shortcut and select "Run as Administrator".
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:uBRVkgg2IHA.2384@TK2MSFTNGP04.phx.gbl...
>> Nope. I am an admin on all my machines.
>>
>>
>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>> message news:OBRLxHf2IHA.2292@TK2MSFTNGP03.phx.gbl...
>>> If you are running on Vista, you have to start VS in administrator mode
>>> to be able to use IIS. Could it be the problem?
>>>
>>> --
>>> Eliyahu Goldin,
>>> Software Developer
>>> Microsoft MVP [ASP.NET]
>>> http://msmvps.com/blogs/egoldin
>>> http://usableasp.net
>>>
>>>
>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>> news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
>>>> Yes, it is. IIS was installed and running prior to the VS
>>>> installation. Also, I can eventually get IIS to work if I go in to the
>>>> site's properties via the IIS manager and tweak out the security and
>>>> default document properties. But why doesn't VS take care of these
>>>> things for me. By the way, I have experienced this behavior on many
>>>> different VS 2008 (and 2005) installations.
>>>>
>>>>
>>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>>> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>>>>> Is ASP.NET registered with IIS?
>>>>>
>>>>> Try running
>>>>> aspnet_regiis -i
>>>>> from the Visual Studio command prompt.
>>>>>
>>>>> --
>>>>> Eliyahu Goldin,
>>>>> Software Developer
>>>>> Microsoft MVP [ASP.NET]
>>>>> http://msmvps.com/blogs/egoldin
>>>>> http://usableasp.net
>>>>>
>>>>>
>>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>>>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>>>>> Application Project (WAP) on my local file system and then go into
>>>>>> the project properties and switch the web server over to IIS and
>>>>>> click the "Create Virtual Directory" button, the page will not run
>>>>>> and will eror out.
>>>>>>
>>>>>> I do have IIS installed and running and the Virtual Directory does
>>>>>> get created.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>




Eliyahu Goldin 07-01-2008 08:12 AM

Re: Switching to IIS
 
Are you running on Vista? On Vista, you can run any program with either
normal or elevated privileges. Even if you are an administrator, in many
cases you need to start a program with elevated privileges to be able to use
some protected features.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Scott M." <s-mar@nospam.nospam> wrote in message
news:Ou$0tTv2IHA.5024@TK2MSFTNGP06.phx.gbl...
>I don't follow you, the shortcut has me (an admin) on it for security, so
>it is already running with admin permissions.
>
> -Scott
>
> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
> message news:ecCYPmo2IHA.4920@TK2MSFTNGP05.phx.gbl...
>> No, I mean you should run VS with elevated administrator permissions.
>> Right-click the VS shortcut and select "Run as Administrator".
>>
>> --
>> Eliyahu Goldin,
>> Software Developer
>> Microsoft MVP [ASP.NET]
>> http://msmvps.com/blogs/egoldin
>> http://usableasp.net
>>
>>
>> "Scott M." <s-mar@nospam.nospam> wrote in message
>> news:uBRVkgg2IHA.2384@TK2MSFTNGP04.phx.gbl...
>>> Nope. I am an admin on all my machines.
>>>
>>>
>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>> message news:OBRLxHf2IHA.2292@TK2MSFTNGP03.phx.gbl...
>>>> If you are running on Vista, you have to start VS in administrator mode
>>>> to be able to use IIS. Could it be the problem?
>>>>
>>>> --
>>>> Eliyahu Goldin,
>>>> Software Developer
>>>> Microsoft MVP [ASP.NET]
>>>> http://msmvps.com/blogs/egoldin
>>>> http://usableasp.net
>>>>
>>>>
>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>> news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
>>>>> Yes, it is. IIS was installed and running prior to the VS
>>>>> installation. Also, I can eventually get IIS to work if I go in to the
>>>>> site's properties via the IIS manager and tweak out the security and
>>>>> default document properties. But why doesn't VS take care of these
>>>>> things for me. By the way, I have experienced this behavior on many
>>>>> different VS 2008 (and 2005) installations.
>>>>>
>>>>>
>>>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>>>> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>>>>>> Is ASP.NET registered with IIS?
>>>>>>
>>>>>> Try running
>>>>>> aspnet_regiis -i
>>>>>> from the Visual Studio command prompt.
>>>>>>
>>>>>> --
>>>>>> Eliyahu Goldin,
>>>>>> Software Developer
>>>>>> Microsoft MVP [ASP.NET]
>>>>>> http://msmvps.com/blogs/egoldin
>>>>>> http://usableasp.net
>>>>>>
>>>>>>
>>>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>>>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>>>>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>>>>>> Application Project (WAP) on my local file system and then go into
>>>>>>> the project properties and switch the web server over to IIS and
>>>>>>> click the "Create Virtual Directory" button, the page will not run
>>>>>>> and will eror out.
>>>>>>>
>>>>>>> I do have IIS installed and running and the Virtual Directory does
>>>>>>> get created.
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>




Scott M. 07-01-2008 08:53 PM

Re: Switching to IIS
 
No XP Pro.


"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
message news:%23w3CHK12IHA.4164@TK2MSFTNGP03.phx.gbl...
> Are you running on Vista? On Vista, you can run any program with either
> normal or elevated privileges. Even if you are an administrator, in many
> cases you need to start a program with elevated privileges to be able to
> use some protected features.
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:Ou$0tTv2IHA.5024@TK2MSFTNGP06.phx.gbl...
>>I don't follow you, the shortcut has me (an admin) on it for security, so
>>it is already running with admin permissions.
>>
>> -Scott
>>
>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>> message news:ecCYPmo2IHA.4920@TK2MSFTNGP05.phx.gbl...
>>> No, I mean you should run VS with elevated administrator permissions.
>>> Right-click the VS shortcut and select "Run as Administrator".
>>>
>>> --
>>> Eliyahu Goldin,
>>> Software Developer
>>> Microsoft MVP [ASP.NET]
>>> http://msmvps.com/blogs/egoldin
>>> http://usableasp.net
>>>
>>>
>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>> news:uBRVkgg2IHA.2384@TK2MSFTNGP04.phx.gbl...
>>>> Nope. I am an admin on all my machines.
>>>>
>>>>
>>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>>> message news:OBRLxHf2IHA.2292@TK2MSFTNGP03.phx.gbl...
>>>>> If you are running on Vista, you have to start VS in administrator
>>>>> mode to be able to use IIS. Could it be the problem?
>>>>>
>>>>> --
>>>>> Eliyahu Goldin,
>>>>> Software Developer
>>>>> Microsoft MVP [ASP.NET]
>>>>> http://msmvps.com/blogs/egoldin
>>>>> http://usableasp.net
>>>>>
>>>>>
>>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>>> news:Oe5rr2e2IHA.4920@TK2MSFTNGP05.phx.gbl...
>>>>>> Yes, it is. IIS was installed and running prior to the VS
>>>>>> installation. Also, I can eventually get IIS to work if I go in to
>>>>>> the site's properties via the IIS manager and tweak out the security
>>>>>> and default document properties. But why doesn't VS take care of
>>>>>> these things for me. By the way, I have experienced this behavior on
>>>>>> many different VS 2008 (and 2005) installations.
>>>>>>
>>>>>>
>>>>>> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
>>>>>> message news:uDXgLac2IHA.5472@TK2MSFTNGP06.phx.gbl...
>>>>>>> Is ASP.NET registered with IIS?
>>>>>>>
>>>>>>> Try running
>>>>>>> aspnet_regiis -i
>>>>>>> from the Visual Studio command prompt.
>>>>>>>
>>>>>>> --
>>>>>>> Eliyahu Goldin,
>>>>>>> Software Developer
>>>>>>> Microsoft MVP [ASP.NET]
>>>>>>> http://msmvps.com/blogs/egoldin
>>>>>>> http://usableasp.net
>>>>>>>
>>>>>>>
>>>>>>> "Scott M." <s-mar@nospam.nospam> wrote in message
>>>>>>> news:eLw%23lUU2IHA.4936@TK2MSFTNGP05.phx.gbl...
>>>>>>>> What am I doing wrong? If I simply create a new ASP .NET Web
>>>>>>>> Application Project (WAP) on my local file system and then go into
>>>>>>>> the project properties and switch the web server over to IIS and
>>>>>>>> click the "Create Virtual Directory" button, the page will not run
>>>>>>>> and will eror out.
>>>>>>>>
>>>>>>>> I do have IIS installed and running and the Virtual Directory does
>>>>>>>> get created.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>





All times are GMT. The time now is 05:49 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57