Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Coding with MS Interdev 2000


Message #1 by "christopher shorter" <christopher.m.shorter@u...> on Mon, 12 Jun 2000 22:17:45
A Question...

              If I code something with MS Visual Studio 6.0 will it run on 

a server running IIS 4.0?  I'm getting some strange errors. The code runs 

fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.

Message #2 by "Robert Larsson" <robert.l@m...> on Tue, 13 Jun 2000 10:57:54 -0700
It should run as Win2k didn't exist when VStudio 6 came out.





Mvh,

Robert Larsson!

Web-production Coordinator

---------------------------------------------------------------------

Mindflow AB | www.mindflow.se | 08-545 635 10





----- Original Message -----

From: "christopher shorter" 

To: "ASP Databases" <asp_databases@p...>

Sent: Monday, June 12, 2000 10:17 PM

Subject: [asp_databases] Coding with MS Interdev 2000





> A Question...

>               If I code something with MS Visual Studio 6.0 will it run on

> a server running IIS 4.0?  I'm getting some strange errors. The code runs

> fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.

>
Message #3 by Mark Everest <Mark.Everest@t...> on Tue, 13 Jun 2000 10:04:36 +0100
It should work OK as interdev is not really geared to a particular server

(-ish).



Please show us the code and we can see what the problem is.....







-----Original Message-----

From: christopher shorter

[mailto:christopher.m.shorter@u...]

Sent: 12 June 2000 23:18

To: ASP Databases

Subject: [asp_databases] Coding with MS Interdev 2000





A Question...

              If I code something with MS Visual Studio 6.0 will it run on 

a server running IIS 4.0?  I'm getting some strange errors. The code runs 

fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.

Message #4 by "werner teunissen" <werner@t...> on Tue, 13 Jun 2000 11:23:19 +0200
Normaly it will, i've got Visual studio 6 , iis4.0, and exchange on the same

server, got no problems at all..



werner

----- Original Message -----

From: "christopher shorter" 



> A Question...

>               If I code something with MS Visual Studio 6.0 will it run on

> a server running IIS 4.0?  I'm getting some strange errors. The code runs

> fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.
Message #5 by "Ken Schaefer" <ken.s@a...> on Tue, 13 Jun 2000 20:31:43 +1000
if you use Visual Studio, you can write any code you like - it doesn't mean

that it will run anywhere...



<%

foobar(something)

I.response.idiot

%>



wont work on any server :-), well, none that I know of anyway.



If you are writing code that calls functions that are specific to ASP v3

(which only works with IIS v5, which is only available for Win2000), then

they wont work on IIS v4 (which uses ASP v2). Notable examples would be

server.transfer() and server.execute().



Also, MDAC v2.5 capabilities (eg ADODB.Record) aren't available until you

download na install MDAC v2.5 (www.microsoft.com/data)



Cheers

Ken





----- Original Message -----

From: "christopher shorter" 

To: "ASP Databases" <asp_databases@p...>

Sent: Monday, June 12, 2000 10:17 PM

Subject: [asp_databases] Coding with MS Interdev 2000





> A Question...

>               If I code something with MS Visual Studio 6.0 will it run on

> a server running IIS 4.0?  I'm getting some strange errors. The code runs

> fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.





Message #6 by "Cory Koski" <ckoski@w...> on Tue, 13 Jun 2000 10:55:37 -0400
do you know if you are using the ASP 3.0 or ASP 2.0 in your coding?  That

could be making a difference.



Cory



----- Original Message -----

From: "christopher shorter" 

To: "ASP Databases" <asp_databases@p...>

Sent: Monday, June 12, 2000 10:17 PM

Subject: [asp_databases] Coding with MS Interdev 2000





> A Question...

>               If I code something with MS Visual Studio 6.0 will it run on

> a server running IIS 4.0?  I'm getting some strange errors. The code runs

> fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.
Message #7 by smartin@c... on Wed, 14 Jun 2000 10:52:25 -0400
If you're coding in VB or Visual C++, some of the underlying operating

system DLLs that are automatic references in your projects are different

versions on Win2K and will cause errors if you try to run an object compiled

on Win2K on a WinNT server.



What we've done here is set up a machine to dual-boot between Win2K and

WinNT.  Both have Visual Studio.  Compile the project on the OS version it

will run under.  Ken's advice also holds true for not using methods,

objects, properties, etc., that aren't available under WinNT.  That's where

compiling under the actual OS it will run on makes it easier to avoid those

"gotchas."



For those that assumed he was using Visual Interdev (and not VB or VC++),

how do you make that assumption since the original questions said Visual

STUDIO 6.0?



-Stephen



> -----Original Message-----

> From: Ken Schaefer 

> Sent: Tuesday, June 13, 2000 6:32 AM

> To: ASP Databases

> Subject: [asp_databases] Re: Coding with MS Interdev 2000

> 

> 

> if you use Visual Studio, you can write any code you like - 

> it doesn't mean

> that it will run anywhere...

> 

> <%

> foobar(something)

> I.response.idiot

> %>

> 

> wont work on any server :-), well, none that I know of anyway.

> 

> If you are writing code that calls functions that are 

> specific to ASP v3

> (which only works with IIS v5, which is only available for 

> Win2000), then

> they wont work on IIS v4 (which uses ASP v2). Notable 

> examples would be

> server.transfer() and server.execute().

> 

> Also, MDAC v2.5 capabilities (eg ADODB.Record) aren't 

> available until you

> download na install MDAC v2.5 (www.microsoft.com/data)

> 

> Cheers

> Ken

> 

> 

> ----- Original Message -----

> From: "christopher shorter" 

> To: "ASP Databases" <asp_databases@p...>

> Sent: Monday, June 12, 2000 10:17 PM

> Subject: [asp_databases] Coding with MS Interdev 2000

> 

> 

> > A Question...

> >               If I code something with MS Visual Studio 6.0 

> will it run on

> > a server running IIS 4.0?  I'm getting some strange errors. 

> The code runs

> > fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.

> 

Message #8 by Mark Everest <Mark.Everest@t...> on Thu, 15 Jun 2000 08:40:38 +0100
We assumed this because of the subject of the original email (although the

2000 bit is misleading)



-----Original Message-----

From: smartin@c... 

Sent: 14 June 2000 15:52

To: ASP Databases

Subject: [asp_databases] Re: Coding with MS Interdev 2000



If you're coding in VB or Visual C++, some of the underlying operating

system DLLs that are automatic references in your projects are different

versions on Win2K and will cause errors if you try to run an object compiled

on Win2K on a WinNT server.



What we've done here is set up a machine to dual-boot between Win2K and

WinNT.  Both have Visual Studio.  Compile the project on the OS version it

will run under.  Ken's advice also holds true for not using methods,

objects, properties, etc., that aren't available under WinNT.  That's where

compiling under the actual OS it will run on makes it easier to avoid those

"gotchas."



For those that assumed he was using Visual Interdev (and not VB or VC++),

how do you make that assumption since the original questions said Visual

STUDIO 6.0?



-Stephen



> -----Original Message-----

> From: Ken Schaefer 

> Sent: Tuesday, June 13, 2000 6:32 AM

> To: ASP Databases

> Subject: [asp_databases] Re: Coding with MS Interdev 2000

> 

> 

> if you use Visual Studio, you can write any code you like - 

> it doesn't mean

> that it will run anywhere...

> 

> <%

> foobar(something)

> I.response.idiot

> %>

> 

> wont work on any server :-), well, none that I know of anyway.

> 

> If you are writing code that calls functions that are 

> specific to ASP v3

> (which only works with IIS v5, which is only available for 

> Win2000), then

> they wont work on IIS v4 (which uses ASP v2). Notable 

> examples would be

> server.transfer() and server.execute().

> 

> Also, MDAC v2.5 capabilities (eg ADODB.Record) aren't 

> available until you

> download na install MDAC v2.5 (www.microsoft.com/data)

> 

> Cheers

> Ken

> 

> ----- Original Message -----

> From: "christopher shorter" 

> To: "ASP Databases" <asp_databases@p...>

> Sent: Monday, June 12, 2000 10:17 PM

> Subject: [asp_databases] Coding with MS Interdev 2000

> 

> > A Question...

> >               If I code something with MS Visual Studio 6.0 

> will it run on

> > a server running IIS 4.0?  I'm getting some strange errors. 

> The code runs

> > fine on my Win2000 box but not on the IIS 4.0 I'm putting it to.

> 


  Return to Index