Author |
Topic  |
|
Dan Martin
Average Member
  
USA
528 Posts |
Posted - 19 June 2001 : 03:00:48
|
I'm trying to get my site working on Netscape. It works fine in IE....but not Netscape.
After much deliberation, I've found that when pages are viewed in Netscape, there are errors with pages that have more than one database connection. I've got multiple Access files (which I'd rather not combine if I can help it). For some reason when I run multiple connections. I get odd errors in these database connections reported from the ASP engine.
Right now I have code like this:
Dim DataConn Dim DataConn2 Set DataConn = Server.CreateObject("ADODB.Connection") DataConn.Open "Data Source=" & Server.Mappath("\db1.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;" Set DataConn2 = Server.CreateObject("ADODB.Connection") DataConn2.Open "Data Source=" & Server.Mappath("\db2.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"
Why in the world does IIS run differently when accessed by a Netscape browser than by a IE browser? Considering ASP is a server side technology, I'm totally baffled right now.
If an example will help, http://www.getitcrunk.com/Calendar/ That page runs fine in IE, and not in Netscape.
Any help is appreciated. Thanks, Dan
|
|
RaiderUK
Average Member
  
United Kingdom
577 Posts |
Posted - 19 June 2001 : 04:55:05
|
what errors does it give you when running in netscape.
|
 |
|
redbrad0
Advanced Member
    
USA
3725 Posts |
Posted - 19 June 2001 : 10:12:23
|
it should not make a difference at all. what it could make the difference in is the html. an easy way to remember it is that asp is processed at the server, and sends a html page with the extension of .asp to the web browser. if you take the page that is genertaed in ie (file --> save as) and save it to a html file and then open it in netscape you should see the difference again.
Brad |
 |
|
gonzo
Starting Member
USA
5 Posts |
Posted - 19 June 2001 : 14:40:44
|
Works great in Netscape.
If you are experiencing issues with netcrap it is usually an issue with not closing a table cell or possible incorrect HTML. NN will return a partially rendered page with incorrect HTML and can be crashed with some simple HTML errors (lousy piece of coding).
|
 |
|
Dan Martin
Average Member
  
USA
528 Posts |
Posted - 19 June 2001 : 18:41:33
|
Well, after further investigation, I don't think it's related to the DataConn.
You guys are probably right. It's really hard for me to keep track of opening and closing HTML tags, within nested VBScript, especially on a like that one. I've looked at it extensively though, and don't see any tags that open and don't get closed.
gonzo, are you using NN6? 4.0 doesn't render that page for me. In fact it locks up my internet connection, and just sits there endlessly trying to load the page.
|
 |
|
redbrad0
Advanced Member
    
USA
3725 Posts |
Posted - 19 June 2001 : 22:22:58
|
ok i will try and look at it tommorow
Brad |
 |
|
redbrad0
Advanced Member
    
USA
3725 Posts |
Posted - 20 June 2001 : 13:58:01
|
i look at it, and i didnt see anything that seemed to be messing it up. i dont have netcrap so i cant even see what you are talking about
Brad |
 |
|
Dan Martin
Average Member
  
USA
528 Posts |
Posted - 22 June 2001 : 04:00:50
|
I think my version of Netscape is messed up. Browsing Netscape.com seems to encounter similar problems as I experience on my own site. I really doubt Netscape.com is incompatible with Netscape. 
If gonzo says it's okay, I'm thinking that's the problem. I've uninstalled NS, and reinstalled it to no avail. I think it's time for a complete system rebuild. All this development work has really reeked havoc on my OS.
Thanks for your help guys, Dan
|
 |
|
|
Topic  |
|