Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - ASPNET or Network Service account on Vista Home Premium

Reply
 
Old 07-09-2009   #1 (permalink)
Oltmans


 
 

ASPNET or Network Service account on Vista Home Premium

Hi guys,

I'm trying to install DotNetNuke on Microsoft Vista Home Premium. I
already have .NET framework 2.0, Visual Studio 2005 and SQL Server
Express installed on my PC. To install DotNetNuke, I'm following
instructions here http://www.vbnetexpert.com/DotNetNuk...3/Default.aspx.
I'm stuck on following

- Give the ASPNET (WinXP) or Network Service (Server 2003) account
Read, Write, and Modify permissions on the directory you unzipped to.
See the Host Settings page, ASP.NET Identity under the new Site
Configuration section to be sure.

Now I'm on Windows Vista Home Premium. I cannot find ASPNET or Network
Service accounts. What do I do now? How can I create them on Vista
Home premium? Can we do that on Vista home premium? Also, if I cannot
create any of these accounts on Vista home premium then is there any
workaround to acheive the above ?

I've searched internet and tried many different things, none of which
worked. So I will really appreciate any idea/help. Many thanks for
your time and help.


My System SpecsSystem Spec
Old 07-09-2009   #2 (permalink)
Juan T. Llibre


 
 

Re: ASPNET or Network Service account on Vista Home Premium

Save this code as "identity.aspx" :

--------------------
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim tmp As String = WindowsIdentity.GetCurrent.Name()
Label1.Text = "ASP.NET is running as the account : " & tmp
End Sub
</script>
<html>
<head>
<title>What account is ASP.NET running as ?</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
-------------------

....and run identity.aspx in the root directory.

That will tell you which account ASP.NET is running as.
Then, give that account Read, Write, and Modify permissions.




Juan T. Llibre, asp.net MVP
¿ Estas probando VS 2010 y ASP.NET 4.0 ?
Regístrate (gratis) en los Foros de VS 2010 y ASP.NET 4.0, en español
http://asp.net.do/foros/forums/
=====================================================
"Oltmans" <rolf.oltmans@xxxxxx> wrote in message
news:586d9f32-b5bc-4779-8cfd-7094cd3e0eb6@xxxxxx
Quote:

> Hi guys,
>
> I'm trying to install DotNetNuke on Microsoft Vista Home Premium. I
> already have .NET framework 2.0, Visual Studio 2005 and SQL Server
> Express installed on my PC. To install DotNetNuke, I'm following
> instructions here http://www.vbnetexpert.com/DotNetNuk...3/Default.aspx.
> I'm stuck on following
>
> - Give the ASPNET (WinXP) or Network Service (Server 2003) account
> Read, Write, and Modify permissions on the directory you unzipped to.
> See the Host Settings page, ASP.NET Identity under the new Site
> Configuration section to be sure.
>
> Now I'm on Windows Vista Home Premium. I cannot find ASPNET or Network
> Service accounts. What do I do now? How can I create them on Vista
> Home premium? Can we do that on Vista home premium? Also, if I cannot
> create any of these accounts on Vista home premium then is there any
> workaround to acheive the above ?
>
> I've searched internet and tried many different things, none of which
> worked. So I will really appreciate any idea/help. Many thanks for
> your time and help.
>


My System SpecsSystem Spec
Old 07-09-2009   #3 (permalink)
HillBilly


 
 

Re: ASPNET or Network Service account on Vista Home Premium

Also helpful to know how to setup multiple websites using Vista and IIS7...
http://metromilwaukee.spaces.live.co...E5E4!215.entry


"Oltmans" <rolf.oltmans@xxxxxx> wrote in message
news:586d9f32-b5bc-4779-8cfd-7094cd3e0eb6@xxxxxx
Quote:

> Hi guys,
>
> I'm trying to install DotNetNuke on Microsoft Vista Home Premium. I
> already have .NET framework 2.0, Visual Studio 2005 and SQL Server
> Express installed on my PC. To install DotNetNuke, I'm following
> instructions here
> http://www.vbnetexpert.com/DotNetNuk...3/Default.aspx.
> I'm stuck on following
>
> - Give the ASPNET (WinXP) or Network Service (Server 2003) account
> Read, Write, and Modify permissions on the directory you unzipped to.
> See the Host Settings page, ASP.NET Identity under the new Site
> Configuration section to be sure.
>
> Now I'm on Windows Vista Home Premium. I cannot find ASPNET or Network
> Service accounts. What do I do now? How can I create them on Vista
> Home premium? Can we do that on Vista home premium? Also, if I cannot
> create any of these accounts on Vista home premium then is there any
> workaround to acheive the above ?
>
> I've searched internet and tried many different things, none of which
> worked. So I will really appreciate any idea/help. Many thanks for
> your time and help.
>
My System SpecsSystem Spec
Old 07-10-2009   #4 (permalink)
Gregory A. Beamer


 
 

Re: ASPNET or Network Service account on Vista Home Premium

"Juan T. Llibre" <nomailreplies@xxxxxx> wrote in
news:exBEUbKAKHA.1376@xxxxxx:
Quote:

> Save this code as "identity.aspx" :
>
> --------------------
> <%@ Page Language="VB" %>
> <%@ Import NameSpace = System.Security.Principal %>
> <script runat="server">
> Sub Page_Load()
> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
> Label1.Text = "ASP.NET is running as the account : " & tmp
> End Sub
> </script>
> <html>
> <head>
> <title>What account is ASP.NET running as ?</title>
> </head>
> <body>
> <form id="form1" runat="server">
> <div>
> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
> </div>
> </form>
> </body>
> </html>
> -------------------
>
> ...and run identity.aspx in the root directory.
>
> That will tell you which account ASP.NET is running as.
> Then, give that account Read, Write, and Modify permissions.
That is pretty cool Juan. Kudos!



--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

******************************************
| Think outside the box! |
******************************************
My System SpecsSystem Spec
Old 07-10-2009   #5 (permalink)
Gregory A. Beamer


 
 

Re: ASPNET or Network Service account on Vista Home Premium

Oltmans <rolf.oltmans@xxxxxx> wrote in
news:586d9f32-b5bc-4779-8cfd-7094cd3e0eb6@xxxxxx:

Quote:

> Now I'm on Windows Vista Home Premium. I cannot find ASPNET or Network
> Service accounts. What do I do now? How can I create them on Vista
> Home premium? Can we do that on Vista home premium? Also, if I cannot
> create any of these accounts on Vista home premium then is there any
> workaround to acheive the above ?
Yes, there is a "workaround" of sorts. If you have the files under the
wwwroot folder somewhere, the proper accounts should have permissions. You
may havve to unzip elsewhere and then copy into that folder (not move) to
have the permissions all set correctly, but that is the worst.

If you end up having to set the permissions up, you can drill through the
security tab into advanced permissions if system is not already showing up
on the list of users.

1. Right click root folder and select permissions
2. Click security tab
3. Click advanced
4. Click change permissions
5. Click add
6. Give permissions and OK out of properties


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

******************************************
| Think outside the box! |
******************************************
My System SpecsSystem Spec
Old 07-10-2009   #6 (permalink)
Juan T. Llibre


 
 

Re: ASPNET or Network Service account on Vista Home Premium

re:
!>> ...and run identity.aspx in the root directory.
!>> That will tell you which account ASP.NET is running as.
!>> Then, give that account Read, Write, and Modify permissions.

!> That is pretty cool Juan. Kudos!

Thanks, Greg.

I'm kinda proud of having written that relatively simple code.
It's saved my skin a lot, and helped a bunch of other people, too.

It wasn't that hard to write once I knew that
WindowsIdentity.GetCurrent.Name() returned the ASP.NET account name... ;-)

That was one of the reasons I decided to *really* study
the .Net Framework classes which ASP.NET uses.

Doing that, in turn, lifted some of the other veils.




Juan T. Llibre, asp.net MVP
¿ Estas probando VS 2010 y ASP.NET 4.0 ?
Regístrate (gratis) en los Foros de VS 2010 y ASP.NET 4.0, en español
http://asp.net.do/foros/forums/
=====================================================
"Gregory A. Beamer" <NoSpamMgbworld@xxxxxx> wrote in message
news:Xns9C44472EE658Fgbworldcomcastnet@xxxxxx
Quote:

> "Juan T. Llibre" <nomailreplies@xxxxxx> wrote in
> news:exBEUbKAKHA.1376@xxxxxx:
>
Quote:

>> Save this code as "identity.aspx" :
>>
>> --------------------
>> <%@ Page Language="VB" %>
>> <%@ Import NameSpace = System.Security.Principal %>
>> <script runat="server">
>> Sub Page_Load()
>> Dim tmp As String = WindowsIdentity.GetCurrent.Name()
>> Label1.Text = "ASP.NET is running as the account : " & tmp
>> End Sub
>> </script>
>> <html>
>> <head>
>> <title>What account is ASP.NET running as ?</title>
>> </head>
>> <body>
>> <form id="form1" runat="server">
>> <div>
>> <asp:Label ID="Label1" Runat="server" Text="Label"></asp:Label>
>> </div>
>> </form>
>> </body>
>> </html>
>> -------------------
>>
>> ...and run identity.aspx in the root directory.
>>
>> That will tell you which account ASP.NET is running as.
>> Then, give that account Read, Write, and Modify permissions.
>
> That is pretty cool Juan. Kudos!
>
>
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> ******************************************
> | Think outside the box! |
> ******************************************


My System SpecsSystem Spec
Old 07-12-2009   #7 (permalink)
Gregory A. Beamer


 
 

Re: ASPNET or Network Service account on Vista Home Premium

"Juan T. Llibre" <nomailreplies@xxxxxx> wrote in
news:urREokVAKHA.1380@xxxxxx:
Quote:

> re:
> !>> ...and run identity.aspx in the root directory.
> !>> That will tell you which account ASP.NET is running as.
> !>> Then, give that account Read, Write, and Modify permissions.
>
> !> That is pretty cool Juan. Kudos!
>
> Thanks, Greg.
>
> I'm kinda proud of having written that relatively simple code.
> It's saved my skin a lot, and helped a bunch of other people, too.
>
> It wasn't that hard to write once I knew that
> WindowsIdentity.GetCurrent.Name() returned the ASP.NET account name...
> ;-)
>
> That was one of the reasons I decided to *really* study
> the .Net Framework classes which ASP.NET uses.
>
> Doing that, in turn, lifted some of the other veils.

IMO, Richter's book should be on every .NET developer's book shelf, as
it gets into how .NET works underneath the hood.

I just recently posted about authentication and authorization and how
IIS and windows work together:
http://tinyurl.com/m9jcc7

Together with the script you posted, we have both the how (to do it) and
why (it works). :-)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

******************************************
| Think outside the box! |
******************************************
My System SpecsSystem Spec
Old 07-13-2009   #8 (permalink)
HillBilly


 
 

Re: ASPNET or Network Service account on Vista Home Premium

Richter's book?


"Gregory A. Beamer" <NoSpamMgbworld@xxxxxx> wrote in message
news:Xns9C465884B2241gbworldcomcastnet@xxxxxx
Quote:

> "Juan T. Llibre" <nomailreplies@xxxxxx> wrote in
> news:urREokVAKHA.1380@xxxxxx:
>
Quote:

>> re:
>> !>> ...and run identity.aspx in the root directory.
>> !>> That will tell you which account ASP.NET is running as.
>> !>> Then, give that account Read, Write, and Modify permissions.
>>
>> !> That is pretty cool Juan. Kudos!
>>
>> Thanks, Greg.
>>
>> I'm kinda proud of having written that relatively simple code.
>> It's saved my skin a lot, and helped a bunch of other people, too.
>>
>> It wasn't that hard to write once I knew that
>> WindowsIdentity.GetCurrent.Name() returned the ASP.NET account name...
>> ;-)
>>
>> That was one of the reasons I decided to *really* study
>> the .Net Framework classes which ASP.NET uses.
>>
>> Doing that, in turn, lifted some of the other veils.
>
>
> IMO, Richter's book should be on every .NET developer's book shelf, as
> it gets into how .NET works underneath the hood.
>
> I just recently posted about authentication and authorization and how
> IIS and windows work together:
> http://tinyurl.com/m9jcc7
>
> Together with the script you posted, we have both the how (to do it) and
> why (it works). :-)
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> ******************************************
> | Think outside the box! |
> ******************************************
My System SpecsSystem Spec
Old 07-13-2009   #9 (permalink)
Juan T. Llibre


 
 

Re: ASPNET or Network Service account on Vista Home Premium

re:
!> Richter's book?

http://www.amazon.com/Applied-Micros.../dp/0735614229




Juan T. Llibre, asp.net MVP
¿ Estas probando VS 2010 y ASP.NET 4.0 ?
Regístrate (gratis) en los Foros de VS 2010 y ASP.NET 4.0, en español
http://asp.net.do/foros/forums/
=====================================================
"HillBilly" <nobody@xxxxxx> wrote in message news:OL$TOt8AKHA.3708@xxxxxx
Quote:

> Richter's book?
>
>
> "Gregory A. Beamer" <NoSpamMgbworld@xxxxxx> wrote in message
> news:Xns9C465884B2241gbworldcomcastnet@xxxxxx
Quote:

>> "Juan T. Llibre" <nomailreplies@xxxxxx> wrote in
>> news:urREokVAKHA.1380@xxxxxx:
>>
Quote:

>>> re:
>>> !>> ...and run identity.aspx in the root directory.
>>> !>> That will tell you which account ASP.NET is running as.
>>> !>> Then, give that account Read, Write, and Modify permissions.
>>>
>>> !> That is pretty cool Juan. Kudos!
>>>
>>> Thanks, Greg.
>>>
>>> I'm kinda proud of having written that relatively simple code.
>>> It's saved my skin a lot, and helped a bunch of other people, too.
>>>
>>> It wasn't that hard to write once I knew that
>>> WindowsIdentity.GetCurrent.Name() returned the ASP.NET account name...
>>> ;-)
>>>
>>> That was one of the reasons I decided to *really* study
>>> the .Net Framework classes which ASP.NET uses.
>>>
>>> Doing that, in turn, lifted some of the other veils.
>>
>>
>> IMO, Richter's book should be on every .NET developer's book shelf, as
>> it gets into how .NET works underneath the hood.
>>
>> I just recently posted about authentication and authorization and how
>> IIS and windows work together:
>> http://tinyurl.com/m9jcc7
>>
>> Together with the script you posted, we have both the how (to do it) and
>> why (it works). :-)
>>
>> --
>> Gregory A. Beamer
>> MVP; MCP: +I, SE, SD, DBA
>>
>> Twitter: @gbworld
>> Blog: http://gregorybeamer.spaces.live.com
>>
>> ******************************************
>> | Think outside the box! |
>> ******************************************
>


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Vista Home Premium: WIA service re-enables itself Vista General
vista home premium is repeating service pack 1 Vista General
Plug and Play service--Vista Home Premium.... Vista General
DNS service in Vista Home Premium dead after some time Vista networking & sharing
Vista Home premium home network with XP using workgroup (no domain Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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