"cannot write to db file"



Hello -
I have created a simple web application in VS 2005/ASP.net 2.0 for a
university department to track problems with a new website that I have
built for them. The app consists of an Access 2003 db configured to
use the aspnet role provider (via the "unreleased" Access Providers)
and it also has a "bugs" table that stores the data relevant to
problems reported by users. Users login via an asp.net login control
and from there can create a new record and view previous reports, etc.
"Admins" can edit the reports and change the status from "Open" to
"Closed" and add comments. Nothing too tricky, right?

Here's the problem: this app runs perfectly well on two different
computers within VS' test server, but when the site is put on an
actual development server when you try to login, *with the proper
credentials* you get the error "cannot write to db file". If you try
to login with bad credentials you are told that you have not entered
valid username/pass.

Obviously the connection to the db is functioning, to the extent that
it can validate credentials. I know that the aspnet provider logs user
activity, so a successful login must be written to the db, so that's
why the good credentials get rejected if there;s no successful write.
Now, all of my research on this suggests that this is a permissions
issue with either the db, the directory , or *something* that is
really not, strictly speaking, a programming error.

The problem I am having is that not only do I not have authority or
access to the actual server to change permissions, I also do not
really know much about IIS or network administration. I know how to
develop web stuff, not administer servers. The person I am working
with on this project knows Windows networking and IIS pretty well, but
does not know web development or asp.net.

I have forwarded him all the relevant links I can find on the this
problem, and he says that he has checked everything without success
and thinks it's either asp.net weirdness, bad coding, or both. I think
it's permissions...something.

I am going to meet with him later today and I would like to have
something concrete to check...does anyone have any ideas of something,
maybe a little obscure, that we can check? Or even a checklist so I
can verify for myself that everything that needs to be done is done?


Any and all help appreciated. If you have links, by all means pass
them along, though at this point I've probably seen 'em!

Thanks,
Paul
.



Relevant Pages

  • AW: Accepting secure context on Server without KDC-Login
    ... So if I understand you right, there is no possibility to tell the Krb5LoginModule NOT to try to login to the KDC, but to fetch the credentials from the keytab-File, if you are using JDK1.4? ... Betreff: Re: Accepting secure context on Server without KDC-Login ...
    (comp.protocols.kerberos)
  • Re: Backup Exec 11d - weird System Account credential failures, maybe SQL issue
    ... but the first backup job ... "Authentication failed on connection to the server - make sure tha ... "successful - used server credentials" ... like 30 seconds - but is successful) ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Accepting secure context on Server without KDC-Login
    ... credentials are placed there after a JAAS login by the application. ... Client and server applications typically perform JAAS authentication ... But then how do I tell the server application where to find the keytab file? ...
    (comp.protocols.kerberos)
  • Problem with Passwords
    ... "This server could not verify that you are authorized to access the document requested. ... Either you supplied the wrong credentials, or your browser doesn't understand how to supply the credentials required. ... I can, however, access the section with the login and password from work, so I know the login and password are still active, and I can get into Hotmail still without any problem. ... Can anyone maybe suggest if the erased files is the problem? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Cant use WM6 to access network shares
    ... Do the servers Event Viewer logs give any clues as to why the login attempt ... So this seems to be some kind of issue w/ server shares and WM6? ... Can get to about any other share on the network. ... credentials screen I would see if I tried to connect to the share using ...
    (microsoft.public.pocketpc.wireless)