Roger Sutro Painting Music Photos Programming Play
As a service to others (and myself), I'm keeping track of ASP.Net issues I've run across that I had
to hunt down the answer for.
- DataGrid edits are not being seen; only original value found
Turned out to be caused by calling the databind() on postback. The person who
first trained me in .net helped me catch this one, and I've been bitten by it 2x or more since.
Fix: Call the databinding at the END of the update method.
Symptom: When accessing the .net site, I get an the error: Application not found
Fix: Assuming that you have the correct url, the problem could be that this folder is not configured as an application by IIS.
Symptom: When trying to open a project with visual studio,
you get a message that the webserver is not running the correct version of .net (but you know that the server's .net installation
is up to date).
Note: I had recently copied [using a file copy] a project directory from my local pc to a remote server via the
file system. While I HAD made this directory an application in IIS, and had been able to view it in a web browser,
I had not modified the path of the project in the project name].csproj.webinfo file.
Fix: Modifying the path in *.csproj.webinfo fixed this problem.
After applying updates to one of our web servers, We got this error on all .net apps
that use code-behind:
Compiler Error Message: CS0007: Unexpected common language runtime initialization error -- 'Catastrophic failure '
Fix (thanks to Chris Green)
"Based on security changes implemented in MS05-051,
Read level NTFS file system permission is required
to the %windir%\registration folder.
Default permissions include Read access for the Everyone group.
If this configuration is changed, applications and services
may exhibit unexpected behavior. Organizations that have
chosen to implement more restrictive NTFS security permissions
should consider granting Read level permissions through
group membership for users, applications,
and services that require access to COM functionality. "