hii m using the access database in my website.
its working f9 but as soon as i use to modify or update the data it gives error.
however on localhost its working f9.what shud i do....
The access database is in appdata folder of website.
no it doesnt shows the details of error....
To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
Can you login to the machine that hosts your app? If yes try to create the error during a localhost-session. Then you will hopefully see more error details. (You could also take a look into the System Event Log if the error message is described there in more detail).
The value is in the cache for more than a minute, does it have something to do with the datatype being saved? I already tryed utcnow but the result is the same, and also, i tryed using a timespan of 1 minute and guess what... not working either, i dont think its my machine, because it doent work either on my server
If you have the time, check it please
I know i could use the NoBot control in ajax but i really want to know whats wrong with this
Private Function IsRobot() As Boolean
Dim IP As String = Me.Request.UserHostAddress
Dim key As String = "Contact_" & IP
Dim obj As Object = Cache(key)
Dim Counter As Integer = 0
If obj Is Nothing Then
Cache.Insert(key, Counter, Nothing, Now.AddMinutes(1), Cache.NoSlidingExpiration)
Counter = obj
If Counter >= 5 Then
Me.lblError.Text = "Too many emails"
Me.lblError.Visible = True
Cache(key) = Counter + 1
In my application i want to keep one session objects value for a long time.I have used <sessionstate timeout="60">.But it is not working properly.can any one give some idea how to keep the value for atleast 6 to 8 hrs.
thanks in advance