Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Please play nicely.  No one wants to listen/read a keyboard warriors rants....

Pages: [1]   Go Down

Author Topic: Anyone good with ASP on IIS6  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107141
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Anyone good with ASP on IIS6
« on: 14 May 2010, 13:48:46 »

Quote
Quote
Quote
TheBoy has been quiet today, reckon he forgot to take his laptop into the little boys room  ;D ;D ;D
Sorry, been busy with a work problem...  ...you any good with asp?


As to last night's "sit down" in the little boys room....  ....sweet mother :o

Contemplating a visit now, but working up a bit of courage first  :-[


These new fangled launguages with never catch on  ;D ;D ;D  Happily coding away in rexx here.
asp is old hat now, but thats what this particular app (that I wrote many years ago) uses.

Ran fine on the old W2K/IIS5/SQL2K combo, needs recoding for W2K3/IIS6/SQL2K, probably due to MDAC vers.  Anyway, recoded part of it, but now an innocent updating of a field in a recordset hangs IIS's WP (doesn't crash it, so the debugs are not really showing much).


Tempted to quickly build another server (if I can find some hardware ::)), try it on W2K8/IIS7/SQL2K8 to see if it is an anomally with the VM its now using.
« Last Edit: 14 May 2010, 13:49:20 by TheBoy »
Logged
Grumpy old man

cem_devecioglu

  • Guest
Re: Anyone good with ASP on IIS6
« Reply #1 on: 14 May 2010, 14:52:51 »

I would recommend using an sql statement instead of a recordset update..in multiuser environments those recordset updates causes real trouble..

create a string variable with some parameters, change according to case change :y

and process it within a loop.. also writing a log for updated records in another seperate table (with time stamp) is a good practice.. sorry for being nosey :y

ps: only case if you are loading a large blob object in this case you have to use a recordset.. but even with that you can limit the update statement with where clause..
« Last Edit: 14 May 2010, 14:58:15 by cem_devecioglu »
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107141
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: Anyone good with ASP on IIS6
« Reply #2 on: 14 May 2010, 16:11:11 »

Quote
I would recommend using an sql statement instead of a recordset update..in multiuser environments those recordset updates causes real trouble..

create a string variable with some parameters, change according to case change :y

and process it within a loop.. also writing a log for updated records in another seperate table (with time stamp) is a good practice.. sorry for being nosey :y

ps: only case if you are loading a large blob object in this case you have to use a recordset.. but even with that you can limit the update statement with where clause..
It uses recordsets, didn't want to drastically re-engineer it to use SQL updates if I could help it, as that would then need to go back and have a load of testing done, plus I don't really have the time to start doing fundamental changes to it.

No blobs, standard, boring fields.  Couple of ntext fields is the biggest.

Just can't work out why updating the 2nd of these ntext fields with *any* value causes IIS to go into a loop awaiting for MDAC to return. This happens at the

rs("field")="Test"

stage, rather than the

rs.update

stage....
Logged
Grumpy old man

Sixstring

  • Omega Baron
  • *****
  • Offline Offline
  • Gender: Male
  • Lydney, Gloucestershire
  • Posts: 2127
  • Its just GOTTA be a big V6. Mmm....NOS........
    • View Profile
Re: Anyone good with ASP on IIS6
« Reply #3 on: 14 May 2010, 16:24:40 »

May as well be talking outer mongolian...........

SQL what???
Logged
Self confessed Electro-Mechanical nut, Guitarist/Singer and Motorcyclist. Drives an estate due to all the equipment he has to carry,Electrickery fiddler who loves Automatics and BIG Vee engines.

cem_devecioglu

  • Guest
Re: Anyone good with ASP on IIS6
« Reply #4 on: 14 May 2010, 20:15:27 »

from the pages I've read  I concluded that ntext variable assigments

must be done in a fashion similiar to blobs..

you need to set an object variable pointer to rs("field)

then use appendchunk method - please check this 2 links

http://support.microsoft.com/kb/280514

http://www.tek-tips.com/viewthread.cfm?qid=238401&page=1994



And there are other alternative stored procedure methods but more complicated I'm afraid :-/


http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=12651

http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_DB/Q_10264796.html
« Last Edit: 14 May 2010, 20:16:45 by cem_devecioglu »
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107141
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: Anyone good with ASP on IIS6
« Reply #5 on: 15 May 2010, 10:22:26 »

don't need to blob it on sql2k or later...

SPs out of the question, due to fallback running off Access.....
Logged
Grumpy old man

feeutfo

  • Guest
Re: Anyone good with ASP on IIS6
« Reply #6 on: 15 May 2010, 11:13:05 »

anyone know wtf they're on about? ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.396 seconds with 21 queries.