You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
What are you trying to do with this account? It looks like you're trying to use the SYSTEM account to run ASP.NET, but I would never recommend doing this - you should definitely never deploy a website using the SYSTEM account.
I know the README tells people that is one way to get around the problem registering event sources, and he's right, but that's not a good option from a security standpoint. There are better ways to fix the event log problem.
I suspect your syntax is wrong for making this change.
You should undo your changes and go back to a standard machine.config and try again. But this time don't edit that file. That should only be editted in extrememly rare cases, and only if you fully understand the issues.
got an unmodified machine.config.
AM NOW GETTING ACCESS IS DENIED for a temp module.
Which is what I was getting to start with.
.NET is supposed to avoid the problems that we VC++ and VB programmers had.Maybe it does. Replacing them with a new set of problems but problems nonetheless :(
You should give the ASPNET user account permission to write to your temp directory. Windows NTFS security exists for a purpose and .NET is not supposed to get around all of the valid security restrictions in Windows.
I've heard people say that .NET is better than the old way of coding in VB6 and C++, but I've never heard anyone say it's easier. I've certainly never said this.
Some aspects are easier, but you have to understand the .NET platform that rides on top of Windows. The CLR and .NET doesn't replace Windows, so your programs have to be compatible with BOTH Windows and .NET.
I do understand the frustrations you feel. You need to take one step at a time. Are there any more experienced .NET programmers in your local community who might be able to help you? I am involved with a lot of user groups in the Atlanta area and I help people all the time. Try to get some local friends who have more experience than you.