Print Page | Close Window

I have 3 problems

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=12644
Printed Date: 11 April 2026 at 3:02pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: I have 3 problems
Posted By: Tormoni
Subject: I have 3 problems
Date 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



Replies:
Posted By: WebWiz-Bruce
Date 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.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Tormoni
Date 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.



Posted By: Bobum
Date 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?


Posted By: Bobum
Date 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...


Posted By: Bobum
Date 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.


Posted By: WebWiz-Bruce
Date 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.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Bobum
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net