ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 9th, 2003, 02:40 AM
celtic32 celtic32 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Dublin
Posts: 6 celtic32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IIS 4 & 5 Differences

I have an asp app written and tested and working on windows 2000 .. running on IIS 5 with an access back end... I have just transfarred this to windows NT and IIS 4..... and I am getting script and OSBC errors all over the place...
errors such as :
Microsoft OLE DB Provider for ODBC Drivers error '80040e07'

[Microsoft][ODBC Microsoft Access 97 Driver] Data type mismatch in criteria expression.

/timetable/pageprotect.asp, line 52

where I know there wasnt one on my other pc...

and this error:
Response object error 'ASP 0156 : 80004005'

Header Error

/timetable/nocache.asp, line 3

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.


are there problems/differences between IIS 4 & 5 that I need to know about for running ASP ....??
thanks in advance

Reply With Quote
  #2  
Old September 9th, 2003, 02:41 AM
celtic32 celtic32 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Dublin
Posts: 6 celtic32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
correction... thats supposed to be "ODBC" not "OSBC".. slight typo....

Reply With Quote
  #3  
Old September 9th, 2003, 07:12 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Just so you know, you have an Edit link button that you can click to edit your post

Now, for your error, I've notice your using *Access 97*
Perhaps you need to update the driver on that win NT box.

If not, try a simple test.

Create yourself a simple .asp page that connects to your database...see if the error is there...

You could also try an create a DSN or a DSN-Less connection, infact try the 3 methods.

Debugging will/is the only way to find out what's the true meaning of your error message!

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #4  
Old September 9th, 2003, 10:56 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,964 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 16 h 50 m 39 sec
Reputation Power: 802
Did you edit any pages when you transferred the application? The header error can pop up when you accidently add a character before the <% code, which asp will treat as html and send to the browser writing the http headers in the process.

Even an empty line or a space at the top of a file can cause this.

As for the db, review the permissions you have given the .mdb file and make sure the IIS user account has read/write permission.

If you need updated drivers you can get them from www.microsoft.com/data and you need to download the Jet (Access) drivers separately from the rest of the MDAC.

Reply With Quote
  #5  
Old September 10th, 2003, 02:47 AM
celtic32 celtic32 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Dublin
Posts: 6 celtic32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
after searching the depths of the InternetI managed to come up with this:
by inserting
response.buffer=true

at the top of every page....
that fixed all my migration issues......
as regards my ODBC errors...
I installed mdac... which i believe would have over-written my access 97 drivers.....
funny that ..
cheers for the help
regards

R

Reply With Quote
  #6  
Old September 10th, 2003, 12:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,964 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 16 h 50 m 39 sec
Reputation Power: 802
I think there is an IIS setting to enable/disable output buffering by default, perhaps the setting is different between the previous/new servers.

FYI, if you download MDAC from v2.6 on you don't get the Access drivers in the base MDAC download. There is a separate Jet download for them.

Reply With Quote
  #7  
Old September 10th, 2003, 01:19 PM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
NOTE:
By default in ASP 2.0 the Buffer is set to *FALSE* that's why you explicitly need to say it when you need it.
Example: Response.Buffer = true

BUT

In ASP 3.0 the default value of the Buffer is set to *TRUE* so you don't need to set it *unless* you want it to be false then you explicitly say it:
Example: Response.Buffer = false

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #8  
Old September 11th, 2003, 02:24 AM
celtic32 celtic32 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Dublin
Posts: 6 celtic32 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
that makes plenty of sense..
cheers for the reply!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > IIS 4 & 5 Differences


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT