469,578 Members | 1,212 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

Coverting ASP3.0 to ASP2.0

We have clients insisting on using IIS4 and the code (written by someone
else who left the company before I joined) is ASP3. I am no expert in ASP so
can you give any suggestions or recomendations as to how I should go about
doing this.

Thanks
Jul 19 '05 #1
11 3260
Just copy it all over and load each page. Most will probably work. Things
like Server.Execute and .Transfer do not exist in IIS 4, but that's all I
can think of off the top of my head. Most things should work though.

Ray at work

"Jools" <ju****@NOSPAMcbtdesign.com> wrote in message
news:vp************@corp.supernews.com...
We have clients insisting on using IIS4 and the code (written by someone
else who left the company before I joined) is ASP3. I am no expert in ASP so can you give any suggestions or recomendations as to how I should go about
doing this.

Thanks

Jul 19 '05 #2
Ray at <%=sLocation%> wrote:
Just copy it all over and load each page. Most will probably work.
Things like Server.Execute and .Transfer do not exist in IIS 4, but
that's all I can think of off the top of my head. Most things should
work though.

Ray at work

Thanks

it seems that
if [whatever] or [whatever2] then

statements don't work either

the biggest problem I am facing is my development machine can't see the
server due to it running in vmware on a laptop, so any changes I make have
to be copied twice... arrgggh!
Jul 19 '05 #3

"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...
Ray at <%=sLocation%> wrote:
Just copy it all over and load each page. Most will probably work.
Things like Server.Execute and .Transfer do not exist in IIS 4, but
that's all I can think of off the top of my head. Most things should
work though.

Ray at work Thanks

it seems that
if [whatever] or [whatever2] then

statements don't work either


Really? Do you have an example? Perhaps the issue is with whatever and/or
whatever2.

the biggest problem I am facing is my development machine can't see the
server due to it running in vmware on a laptop, so any changes I make have
to be copied twice... arrgggh!


Nice.

Ray at work
Jul 19 '05 #4
Ray at <%=sLocation%> wrote:
"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...
Ray at <%=sLocation%> wrote:
Just copy it all over and load each page. Most will probably work.
Things like Server.Execute and .Transfer do not exist in IIS 4, but
that's all I can think of off the top of my head. Most things
should work though.

Ray at work

Thanks

it seems that
if [whatever] or [whatever2] then

statements don't work either


Really? Do you have an example? Perhaps the issue is with whatever
and/or whatever2.


the error:
-----
Microsoft VBScript runtime error '800a000d'
Type mismatch

/WL-MIS/includes/check-admin-owner.inc, line 15

-----

the code from line 15
------
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " " then

'set page expiration - dont allow viewing of cached pages
Response.Expires = 0
'send to logon asp page for logon
Response.Redirect "logged-off.asp?details=1" 'set logon invalid flag

else 'have data

etc etc
----

n.b. this is was not written by and I am an asp/vb noob so forgive my
ignorance please :)
the biggest problem I am facing is my development machine can't see
the server due to it running in vmware on a laptop, so any changes I
make have to be copied twice... arrgggh!


Nice.


i managed to work some voodoo charm on it and i can finally see the server
on the network : D

thanks

Jools
Jul 19 '05 #5

"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...

the error:
-----
Microsoft VBScript runtime error '800a000d'
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " " then
What are the values of mstrLogonRole_Admin_inc and
mstrPersonnelId_Admin_inc?

Response.Write mstrLogonRole_Admin_inc & "<br>"
Response.Write mstrPersonnelId_Admin_inc
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " " then
'etc.


i managed to work some voodoo charm on it and i can finally see the server
on the network : D


Cool!

Ray at work
Jul 19 '05 #6
Ray at <%=sLocation%> wrote:
"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...

the error:
-----
Microsoft VBScript runtime error '800a000d'
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " "
then


What are the values of mstrLogonRole_Admin_inc and
mstrPersonnelId_Admin_inc?

Response.Write mstrLogonRole_Admin_inc & "<br>"
Response.Write mstrPersonnelId_Admin_inc
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " " then
'etc.

i managed to work some voodoo charm on it and i can finally see the
server on the network : D


Cool!


this is the output:
Administrator
????????
Microsoft VBScript runtime error '800a000d'

Type mismatch

/wls-mis/includes/check-admin-owner.inc, line 18

line 18 is : If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= "
" then
Jul 19 '05 #7
Where does the value for mstrPersonnelId_Admin_inc come from? It probably
isn't supposed to be ???????????. Is it some binary data or something?

Ray at work

"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...

Response.Write mstrLogonRole_Admin_inc & "<br>"
Response.Write mstrPersonnelId_Admin_inc
If mstrLogonRole_Admin_inc= " " or mstrPersonnelId_Admin_inc= " " then
'etc.

i managed to work some voodoo charm on it and i can finally see the
server on the network : D


Cool!


this is the output:
Administrator
????????

Jul 19 '05 #8
Ray at <%=sLocation%> wrote:
Where does the value for mstrPersonnelId_Admin_inc come from? It
probably isn't supposed to be ???????????. Is it some binary data or
something?


that's what I haven't figured out yet, there's a huge family tree of server
side include files to sort though (which in turn include yet more files) so
it's taking me a while to figure out what is going : /

thanks for your help, I'll post some more information here if I find out
what is going on...
Jul 19 '05 #9

"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...
Ray at <%=sLocation%> wrote:
Where does the value for mstrPersonnelId_Admin_inc come from? It
probably isn't supposed to be ???????????. Is it some binary data or
something?
that's what I haven't figured out yet, there's a huge family tree of

server side include files to sort though (which in turn include yet more files) so it's taking me a while to figure out what is going : /


Damn the inherited applications!

If you use a text editor such as Textpad, you could search all the *.asp,
*.inc files for "mstrPersonnelId_Admin_inc =" to hopefully locate the
assignment quickly.

Ray at work
Jul 19 '05 #10
Ray at <%=sLocation%> wrote:
"Julian Harse" <ju****@cbtdesign.com> wrote in message
news:vp************@corp.supernews.com...
Ray at <%=sLocation%> wrote:
Where does the value for mstrPersonnelId_Admin_inc come from? It
probably isn't supposed to be ???????????. Is it some binary data
or something?
that's what I haven't figured out yet, there's a huge family tree of
server side include files to sort though (which in turn include yet
more files) so it's taking me a while to figure out what is going : /


Damn the inherited applications!


: /
If you use a text editor such as Textpad, you could search all the
*.asp, *.inc files for "mstrPersonnelId_Admin_inc =" to hopefully
locate the assignment quickly.

Ray at work


I'm checking out Textpad now... wish me luck... : )
Jul 19 '05 #11
Ray at <%=sLocation%> wrote:
Where does the value for mstrPersonnelId_Admin_inc come from? It
probably isn't supposed to be ???????????. Is it some binary data or
something?


I've finally discoverd its the sessionid for the user. Unfortunately the
boss nicked the laptop today for a dem so it will have to wait until Monday
now, but at least I know what the problem is now...
Jul 19 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Andy Smith | last post: by
1 post views Thread by niels | last post: by
reply views Thread by Casey | last post: by
6 posts views Thread by Michael Tissington | last post: by
1 post views Thread by יוני גולדברג | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.