Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - I have 3 problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I have 3 problems

 Post Reply Post Reply
Author
Tormoni View Drop Down
Newbie
Newbie
Avatar

Joined: 21 November 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tormoni Quote  Post ReplyReply Direct Link To This Post Topic: I have 3 problems
    Posted: 21 November 2004 at 10:51pm

Problem 1:  First of all, I can't seem to get the Active Users to display on the main forum page.  I have the forum up and running and am in the testing stages now.  What I have done is log onto the forum using 2-3 different computers, using 2-3 test users at the same time.  And on each terminal, it shows 1 user online, and only lists that one username logged onto the terminal.  Any ideas on this?  I can't figure it out.

Problem 2:  I have noticed that when using the forgotten password link, that after I put in the userid and email address, it gives me an error message, it will change the password, but won't send the email with the new password.  The email option works for forum replies and for mass email, just not for a forgotten password.  I get this error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services


Technical Information (for support personnel)

  • Error Type:
    (0x8004020E)
    Cannot modify or delete an object that was added using the COM+ Admin SDK
    /forum/functions/functions_send_mail.asp, line 136

  • Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; SV1; .NET CLR 1.1.4322)

  • Page:
    POST 66 bytes to /forum/forgotten_password.asp

  • POST Data:
    name=test1&email=tormoni2003@yahoo.com&Submit=Reques t+New+Password

Problem 3:  I can't seem to get the upload to work.  I am using aspSmartUpload, and when I try to upload an avatar, for example, I get throught the browse for file, etc, but when it processes, it gives me a white screen with this error:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services


Technical Information (for support personnel)

  • Error Type:
    Server object, ASP 0196 (0x80040154)
    Only InProc server components should be used. If you want to use LocalServer components, you must set the AspAllowOutOfProcComponents metabase setting. Please consult the help file for important considerations.
    /forum/functions/functions_upload.asp, line 74

  • Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; SV1; .NET CLR 1.1.4322)

  • Page:
    POST 27661 bytes to /forum/upload_avatars.asp
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2004 at 5:11am
All these errors look like server errors, but they are not the standdard server errors you should expect.

All I can suggest is that you change some of your server settings.

Maybe someone else can help further.

If you can give some info on your server, like OS and any unsual settings this may help.

Also check MSDN and the aspSmartUpload site for further help.
Back to Top
Tormoni View Drop Down
Newbie
Newbie
Avatar

Joined: 21 November 2004
Location: United States
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tormoni Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2004 at 7:42pm

Ok, just to update...I figured out why I could only see one user online.  Turns out, the forum looks for users based on their IP address.  And since I was testing the forum out on my computers here at home that are all connected via a router, they all appear to have the same IP address when I connect through my WAN IP, but If I connect via my local IP on all my computers, the forum will list all the users online. 

I'm still working on getting the upload and email thing figured out.

Back to Top
Bobum View Drop Down
Newbie
Newbie


Joined: 22 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bobum Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2004 at 10:45pm
I have the exat same problem as your problem #1

No matter how many people I have logged on, the Active Users listing on the front page AND the actual ActiveUser.asp page only show 1 user and it's that user that is currently viewing on that computer.

It has to be a server setting or something...I am still investigating this but I am pretty confident that's GOT to be what it is...

We are running IIS with either Win2k or Winsk3 Adv Server - am looking into that to verify

Anyone else have any ideas?
Back to Top
Bobum View Drop Down
Newbie
Newbie


Joined: 22 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bobum Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2004 at 1:00am
I have figured out that what seems to be happening is that the Application("saryAppActiveUsers") application array is actually acting as a session variable and not an application variable.

If I understanditcorrectly th Application variable is supposed to be persistant among users and as such should update for anyone accesing the website.  In my case and prolly yours, it is not.  It is acting as a session variable and as such only showing what users are logged on for that session - which of course would be one.

Looking further into fixing this on the server as I think that's where the problem lies...
Back to Top
Bobum View Drop Down
Newbie
Newbie


Joined: 22 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bobum Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2004 at 2:45am
ok - I think I figured it out at least on my server setup.  We are on a server farm and as such if customer A originates his form post from Server A and it ends up posting to and being returned by Server B, that your all-important ASP session data will not remain intact.  The way to make sure that everything works as it should is to play with the clusters host client affinity settings.  When its client affinity parameter setting is enabled, Network Load Balancing directs all TCP connections from one client IP address to the same cluster host. This allows session state to be maintained in host memory.

Follow this link fo more info on Network Load Balancing and Client Affinity

http://www.eggheadcafe.com/articles/20020302.asp

The easy way to solve this without getting your host to alter their Load Balancing scheme would be to just store & retrieve the data in SQLServer rather than in an Application variable.


Edited by Bobum
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2004 at 7:06am
The data use to be stored in the database in previous versions but to increase performance and decrease database hits it was moved to an application level array.
Back to Top
Bobum View Drop Down
Newbie
Newbie


Joined: 22 November 2004
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bobum Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2004 at 9:36am
yup...and that is a good idea - much less overhead storing it as such.  Unfortunately for my situation, till my host gets things squared away with their load balancing and client affinity issues, the Application level variables don't look like they will work on a consistent basis.

I'll have to put it back into the DB or just disable Active Users till I can rewrite it or get the server issue looked into.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.