Solved

Unable to Update Database or Add Record, please read on ..

Posted on 2006-11-15
7
372 Views
Last Modified: 2012-06-21
First of all, thank you for reading this post.

I just reinstalled Windows XP, IIS 5, Visual Studio Microsoft .Net 1.1 and 2.0.

Issue: The server was not able to start Microsoft .Net web services due to insufficient rights.
Symptoms: Server was throwing error in log and on web page saying insufficient rights with anonymous user account - ASPNET (IIS and .Net config files) accounts were set in IIS and NTFS with READ/WRITE.
Resolution: I changed the machine.config file for both 1.1 and 2.0 so the username field is SYSTEM. This allowed the Microsoft .Net to load the site.

I have the ASPNET user account setup for anonymous access in IIS.
I have created a local group policy called LOCALWEB, and have included IUSR, VUSR, ASPNET, SYSTEM accounts.
NTFS permissions have been set for web root directory. Both READ/WRITE for Database folders for the LOCALWEB group.

Current Issue: Unable to write to database, either creating new or updating current records.
Resolution: ????
0
Comment
Question by:NKOWA
  • 5
  • 2
7 Comments
 
LVL 5

Author Comment

by:NKOWA
Comment Utility
Has anyone had similar problems, and if so what resolved your issues?
0
 
LVL 5

Author Comment

by:NKOWA
Comment Utility
I can't update the database, and I set the permissions correctly...

Can anyone help?...
0
 
LVL 5

Author Comment

by:NKOWA
Comment Utility
ok, I updated the points, now can anyone help?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 9

Expert Comment

by:PeterMac
Comment Utility
What database - Access, MSDE, SQL Server ??
0
 
LVL 5

Author Comment

by:NKOWA
Comment Utility
Access
0
 
LVL 9

Accepted Solution

by:
PeterMac earned 350 total points
Comment Utility
Sorry not sure how .net functions with access database, but probably worth checking permissions on any ODBC connector used.
0
 
LVL 5

Author Comment

by:NKOWA
Comment Utility
Also, I get an error when trying to debug asp.net web application.

ERROR:
Error while trying to run project. Unable to start debugging.
The debugger is not properly installed. Run setup to install or repair the debugger.


Also, when I try to run, setup.exe /C:\WINDOWS\Temp /c:"msiexec.exe /fvecms C:\WINDOWS\Temp\netfxsdk.msi"

I get this ERROR:
This instalation package could not be openedd. Verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows Installer package.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now