Hi All,
I have an aspx page that is running through a Shared Certificate, and i'm getting the following error.
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as...
Hi Nick
I have to have a scheduled task, so that when the date and time, expires, the status is changed automatically, and so the user cannot log in and see that item.
Unfortunately, I do not know how to write a VB Script cause I have never used VB.
Dear All,
I am inserting a date into the database, that is 48 hours from the current time, and I call it the expiryDate. What I want to do know is a sort of script that every minute checks this expiryDate in the database with the current date/time and if it is equal, or smaller, then, I change...
I also ran a special script to be sure that the session is closed:-
response.expires = 0
Session("username") = "" 'Access lasts for session
Session.Abandon()
response.redirect("login.asp")
but it is still opened!
Hello Shaddow,
I tried to include
set f=nothing
set fso=nothing
but still the page got stuck!
The problem seems to be in this line (on on the localhost!)
Set f = fso.GetFile(path)
I tried to remove this code:-
path=server.mappath("../../../databases/") & "/merlin.mdb"
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(path)
lastmodified=f.DateLastModified
lastmodified=dateAdd ("h",6,lastmodified)
And now it...
Does this code affect the IIS and leaves the database open?
path=server.mappath("../../../databases/") & "/merlin.mdb"
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(path)
lastmodified=f.DateLastModified
lastmodified=dateAdd...
Hello Shadow,
You just mentioned the Date/Time Created/Modified, and I am thinkning that since I have implemented this function, that the database is being left open! But only on the localhost!
To reply to your question:-
mdb file :- modified 2/11/2004 12:36
ldb file := modified...
I already tried to stop IIS but the .ldb file is still visible, although I refreshed the folder.
Can't get the hack out of it yet! Really strange! It only happened this morning, and I have been working on this code for about a week, that is why i am lost!
Hello Shaddow, I do not use a global.asa but I pass session variables, and this is a "copy and paste script", ie I always use the same code and it has never happened before.
2) No other Application uses this database. The funny thing is that on the server, everything works fine, only...
Dear All,
I am trying to delete an MS Access Database, however it is telling me that The Source or Destination File may be in use. And I am sure that the database is not open on my localhost! I tried to reset my PC and IIS, however, it is still appearing as open (database.ldb). How can I make...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.