Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Expecting string input
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Expecting string input

 Post Reply Post Reply
Author
Candyman View Drop Down
Newbie
Newbie


Joined: 24 April 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Candyman Quote  Post ReplyReply Direct Link To This Post Topic: Expecting string input
    Posted: 11 September 2014 at 3:48pm
I have a new install and am getting this message after some time making changes and then i try to login again.  It's on the "admin.asp page" and when i try to narrow this down by writing each value from the line that errors to the page it has problems with Request.Form(strSessionKey).  I've tried multiple browsers and cleared cookies and cache.  Not sure what else to try.  Any suggestions?


Error:

Request object error 'ASP 0102 : 80004005'

Expecting string input

/Blog/admin.asp, line 88

The function expects a string as input. 

Code:
If Request.Form(strSessionKey) <> strFormKey Then


Usually I've seen this happen by passing an undeclared variable into a request.form, but i see it declared on line 60 and it gets assigned a value on line 77 and then compared on line 88 which has the error.


Edited by Candyman - 11 September 2014 at 3:54pm
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: 9791
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2014 at 12:08pm
It sounds like your website is not holding the ASP session and therefore the admin login ASP session is being dropped.

Check that the application pool for the website is not recycling to often and is running in a single worker processes.

If the application pool is recycling then each time this happens the ASP session would be dropped and any variables stored in the ASP session would be lost.
Back to Top
Candyman View Drop Down
Newbie
Newbie


Joined: 24 April 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Candyman Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2014 at 3:22pm
That makes sense.

I setup a separate application pool in IIS for this with one worker processor and a single recycle time when traffic is low.  Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 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 Policy

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 unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

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