If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Error '8002801d'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 03-14-11, 17:08
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
While I technically agree that the issue is with the server, it could be that the issue only manifests from the behaviour of particular users. To have a good chance at solving the problem you need to be able to consistently reproduce the issue which means understanding the user/client behaviour.

When the problem starts to occur does anyone who tries to create a new session have issues where those that are still logged in do not?

Do you do any page redirection within your code while creating new sessions (which could result in the error misreporting the location of the error).

Can you confirm that the line below you have listed is what is actually causing the problem by wrapping it in reponse.writes both before and after that line.

What happens if you try to set a different session value?
Reply With Quote
  #17 (permalink)  
Old 03-30-11, 04:09
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
When the problem occurs, some users on other PC's can still work, and others cannot.
No while creating the session variable there is no page redirection, later on some other pages yes but the page in question no.
What I posted is the exact error that is coming up.
Regardless of what the session variable is it gives the same error.
Reply With Quote
  #18 (permalink)  
Old 05-26-11, 03:13
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Good day,

Some additional information I have now picked up after making a small change to the system.

The system now prompts the user for his network username and password, it is an intranet page after all.

When the error occurs it occurs with people who are not members of the administrator group on the network, but this seems to happen after the system has been idle for some time, generally during night shift. Should an administrator login to the site the site works for the administrator and then also works for all those non administrators that it was not working for. Does that help anyone perhaps pin point my problem? Seems something to do with permissions but where I do not know. I have added Everyone to the Inetpub folder permissions with FULL ACCESS to test to see if that was the problem but that also doesn't seem to have help.
Reply With Quote
  #19 (permalink)  
Old 05-26-11, 16:36
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Okie, based on this information I would guess the following...

You are creating an object in your application on start event. You could be creating it in the session on start and storing it in the application space though.

The permissions used to create the object are based on the user that is connected to the system at the time. If a user comes in without the necessary permissions then the creation of the object fails.

If a user has the necessary permissions the object creation succeeds.

Once the object is created it is used across the entire application so the users that do not have the permission to create the object can work properly.

Overnight there will be something happening to release drop the application, this is normanly an IIS restart or something similar. Alternatively the object that was created could be linked to the session of the user that created it and once that session ends it kills the object (not sure if this is valid as I would expect that the object, once in Application scope, would remain for the life of the application).

The permissions error could be on a folder location or on a registry key entry.

You should be able to replicate the event but taking the site down and making sure the first person to sign in does not have admin rights. Once you can replicate the event you can chase down the root cause using process monitior (Process Monitor) which will show all failed attempts on files and registry entries.

Let me know if you need more information on this.
Reply With Quote
  #20 (permalink)  
Old 11-21-11, 04:37
parkesepeti parkesepeti is offline
Registered User
 
Join Date: Nov 2011
Posts: 1
Quote:
Originally Posted by plsh View Post
Lines 1-5:
<%@ LANGUAGE=VBScript %>
<%
'Response.Buffer = true
'Response.Clear
Session("UID") = ""

As you can see lines 2 and 3 are commented out.

myle, yes I have been searching for days on google no help.
thanks. problem is solved
Reply With Quote
  #21 (permalink)  
Old 12-05-11, 09:13
plsh plsh is offline
Registered User
 
Join Date: Nov 2004
Posts: 253
Very very late update, but in the end I redid the entire IIS and all is working again. Still to this day I have no idea what caused the problem, but redoing IIS solved the problem, I was desperate.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On