Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 22 Sep 2007 13:51 GMT
I've been given the task at work to create a page for the internet.
Great, I've never done that before!  So I start building.  Looks
good...flows good...works great internally on the domain, so I put it
out for testing.  Our production envirnment for this page is totally
independent of our company domain.  All User Accounts will stay in an
MDF that resides with the Web Page.

Since I'm dealing with SQL Express now, I'm not sure what's happening
with the NT Authority\Network Services when someone tries to log in.
What Authorization and do I need to grant to NT Authority\Network
Service, and where do I grant it, for an ASPNetDB.MDF that resides in
the App_Data folder of an ASP.NET Web so that Membership.ValidateUser
doesn't fail?  NT Authority\Network Service in SQL Express already
has SysAdmin rights.

I would greatly appreciate it if someone can help me with this so I
can meet the expectations of my supervisors, as well as further my
SQL (Express) knowledge.

Thank you
Juan T. Llibre - 22 Sep 2007 14:09 GMT
re:
!> What Authorization and do I need to grant to NT Authority\Network
!> Service, and where do I grant it, for an ASPNetDB.MDF that resides in
!> the App_Data folder of an ASP.NET Web

Give Authority\Network Service "Full Control" over the App_Data directory
by right-clicking the directory in Windows Explorer, selecting the Security tab,
and adding the account to the list of accounts which are allowed to access the
directory and the files in it.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> I've been given the task at work to create a page for the internet.
> Great, I've never done that before!  So I start building.  Looks
[quoted text clipped - 16 lines]
>
> Thank you
Peter Bromberg [C# MVP] - 22 Sep 2007 21:14 GMT
Dave,
this page:
http://msdn2.microsoft.com/en-us/library/bb264564.aspx
will explain a lot about SQLEXPRESS User Instances and why this arrangment
is often not suitable for a deployed solution.
-- Peter
Recursion: see Recursion
site:  http://www.eggheadcafe.com
unBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder:    http://www.blogmetafinder.com

> I've been given the task at work to create a page for the internet.
> Great, I've never done that before!  So I start building.  Looks
[quoted text clipped - 16 lines]
>
> Thank you

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.