![]() |
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. |
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. > |
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. >> > > |
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. >>> >> >> > > |
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. >>>> >>> >>> >> >> > > |
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. >>>>> >>>> >>>> >>> >>> >> >> > > |
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. >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > |
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. >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > |
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.