Connecting Tech Pros Worldwide Forums | Help | Site Map

Problem writing to file....

VB Programmer
Guest
 
Posts: n/a
#1: Nov 18 '05
I just upgraded my dev system from win 2k to win xp pro. I have a website
I'm creating and when I login to the website it writes an entry to my
C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it won't
let me write to the file anymore. The file is there and it see's it. It is
not read-only.

Any ideas? Sounds like I have to grant permission to the file or something?
I am logged into xp with an 'admin' account.

Thanks!



Kevin Spencer
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Problem writing to file....


It doesn't matter who YOU'RE logged in as. It matters who your ASP.Net
application is logged in as. And you need to grant that user account file
system permission to write to that file.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
news:uYxrDx8KEHA.2784@TK2MSFTNGP09.phx.gbl...[color=blue]
> I just upgraded my dev system from win 2k to win xp pro. I have a website
> I'm creating and when I login to the website it writes an entry to my
> C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it[/color]
won't[color=blue]
> let me write to the file anymore. The file is there and it see's it. It[/color]
is[color=blue]
> not read-only.
>
> Any ideas? Sounds like I have to grant permission to the file or[/color]
something?[color=blue]
> I am logged into xp with an 'admin' account.
>
> Thanks!
>
>[/color]


VB Programmer
Guest
 
Posts: n/a
#3: Nov 18 '05

re: Problem writing to file....


This is true for XP pro?

If so, isn't that the "ASP.NET Machine A..." account by default? I gave it
admin rights and it still doesn't work. What is the default ASP.NET user
account?


"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:eQHCc88KEHA.1340@TK2MSFTNGP12.phx.gbl...[color=blue]
> It doesn't matter who YOU'RE logged in as. It matters who your ASP.Net
> application is logged in as. And you need to grant that user account file
> system permission to write to that file.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
> news:uYxrDx8KEHA.2784@TK2MSFTNGP09.phx.gbl...[color=green]
> > I just upgraded my dev system from win 2k to win xp pro. I have a[/color][/color]
website[color=blue][color=green]
> > I'm creating and when I login to the website it writes an entry to my
> > C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it[/color]
> won't[color=green]
> > let me write to the file anymore. The file is there and it see's it.[/color][/color]
It[color=blue]
> is[color=green]
> > not read-only.
> >
> > Any ideas? Sounds like I have to grant permission to the file or[/color]
> something?[color=green]
> > I am logged into xp with an 'admin' account.
> >
> > Thanks!
> >
> >[/color]
>
>[/color]


VB Programmer
Guest
 
Posts: n/a
#4: Nov 18 '05

re: Problem writing to file....


I fixed it.

1. Folder Options/View - I unchecked "Use Simple File Sharing"
2. I gave the ASP.NET machine account full permissions to the folder.

Thanks!

"VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
news:%23bVth%238KEHA.1000@TK2MSFTNGP11.phx.gbl...[color=blue]
> This is true for XP pro?
>
> If so, isn't that the "ASP.NET Machine A..." account by default? I gave[/color]
it[color=blue]
> admin rights and it still doesn't work. What is the default ASP.NET user
> account?
>
>
> "Kevin Spencer" <kspencer@takempis.com> wrote in message
> news:eQHCc88KEHA.1340@TK2MSFTNGP12.phx.gbl...[color=green]
> > It doesn't matter who YOU'RE logged in as. It matters who your ASP.Net
> > application is logged in as. And you need to grant that user account[/color][/color]
file[color=blue][color=green]
> > system permission to write to that file.
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> >
> > "VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
> > news:uYxrDx8KEHA.2784@TK2MSFTNGP09.phx.gbl...[color=darkred]
> > > I just upgraded my dev system from win 2k to win xp pro. I have a[/color][/color]
> website[color=green][color=darkred]
> > > I'm creating and when I login to the website it writes an entry to my
> > > C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it[/color]
> > won't[color=darkred]
> > > let me write to the file anymore. The file is there and it see's it.[/color][/color]
> It[color=green]
> > is[color=darkred]
> > > not read-only.
> > >
> > > Any ideas? Sounds like I have to grant permission to the file or[/color]
> > something?[color=darkred]
> > > I am logged into xp with an 'admin' account.
> > >
> > > Thanks!
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Kevin Spencer
Guest
 
Posts: n/a
#5: Nov 18 '05

re: Problem writing to file....


Straight out of the box? ASPNET by default.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
news:#bVth#8KEHA.1000@TK2MSFTNGP11.phx.gbl...[color=blue]
> This is true for XP pro?
>
> If so, isn't that the "ASP.NET Machine A..." account by default? I gave[/color]
it[color=blue]
> admin rights and it still doesn't work. What is the default ASP.NET user
> account?
>
>
> "Kevin Spencer" <kspencer@takempis.com> wrote in message
> news:eQHCc88KEHA.1340@TK2MSFTNGP12.phx.gbl...[color=green]
> > It doesn't matter who YOU'RE logged in as. It matters who your ASP.Net
> > application is logged in as. And you need to grant that user account[/color][/color]
file[color=blue][color=green]
> > system permission to write to that file.
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> >
> > "VB Programmer" <growN0SPAM@go-intechN0SPAM.com> wrote in message
> > news:uYxrDx8KEHA.2784@TK2MSFTNGP09.phx.gbl...[color=darkred]
> > > I just upgraded my dev system from win 2k to win xp pro. I have a[/color][/color]
> website[color=green][color=darkred]
> > > I'm creating and when I login to the website it writes an entry to my
> > > C:\GoodLogin.txt file. It worked fine for win2k. In my XP machine it[/color]
> > won't[color=darkred]
> > > let me write to the file anymore. The file is there and it see's it.[/color][/color]
> It[color=green]
> > is[color=darkred]
> > > not read-only.
> > >
> > > Any ideas? Sounds like I have to grant permission to the file or[/color]
> > something?[color=darkred]
> > > I am logged into xp with an 'admin' account.
> > >
> > > Thanks!
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Closed Thread