Wir haben bei unserer Firmenhomepage zwei Seiten in ASP (z.B. einen Body-Mass-Index-Rechner). Die anderen sind im HTML-Format. Die ASP-Seiten werden nur mit dem IE dargestellt. Bei Firefox ist der HTML-Code zu sehen. Wie kann man es ändern?
Seite 1 von 1
Asp-seiten Laufen Nicht In Firefox
Anzeige
#3
geschrieben 05. Februar 2005 - 15:00
Vielleicht ist das HTML, dass das ASP-Skript ausgibt "unsauber"?
Also kein "richtiges" HTML?
Einfach mal durch:
den W3C validator
jagen...
Also kein "richtiges" HTML?
Einfach mal durch:
den W3C validator
jagen...
#4
geschrieben 05. Februar 2005 - 15:52
Mir scheint's eher daß du Content-Type: text/plain o.ä. im HTTP-Header ausgibst. Der IE ignoriert sowas gewissentlich und rät lieber herum, was denn gemeint sein könnte. Manchmal nützlich, aber meist hält es die Webserverbetreiber nur davon ab den Fehler zu korrigieren und noch öfters wird es als Sicherheitslücke missbraucht.
Desweiteren: Wenn du die HTMLGenerator-Klassen von ASP.NET verwendest kommt ganz bestimmt kein gültiges HTML heraus.
Desweiteren: Wenn du die HTMLGenerator-Klassen von ASP.NET verwendest kommt ganz bestimmt kein gültiges HTML heraus.
Dieser Beitrag wurde von Rika bearbeitet: 05. Februar 2005 - 15:53
Konnichiwa. Manga wo shitte masu ka? Iie? Gomenne, sonoyouna koto ga tabitabi arimasu. Mangaka ojousan nihongo doujinshi desu wa 'Clamp X', 'Ayashi no Ceres', 'Card Captor Sakura', 'Tsubasa', 'Chobits', 'Sakura Taisen', 'Inuyasha' wo 'Ah! Megamisama'. Hai, mangaka gozaimashita desu ni yuujin yori.

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)
#5
geschrieben 05. Februar 2005 - 23:57
Ihr könnt euch ja mal die Seite anschauen. Vielleicht kann dann jemand die genaue Ursache sofort erkennen:
http://www.kurklinikmiramar.de/bmi.asp
http://www.kurklinikmiramar.de/bmi.asp
#6
geschrieben 06. Februar 2005 - 02:27
Zitat
0030 49 bc 9b 8d 00 00 47 45 54 20 2f 62 6d 69 2e 61 I.....GET /bmi.a
0040 73 70 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 sp HTTP/1.1..Hos
0050 74 3a 20 77 77 77 2e 6b 75 72 6b 6c 69 6e 69 6b t: www.kurklinik
0060 6d 69 72 61 6d 61 72 2e 64 65 0d 0a 55 73 65 72 miramar.de..User
0070 2d 41 67 65 6e 74 3a 20 4d 6f 7a 69 6c 6c 61 2f -Agent: Mozilla/
0080 35 2e 30 20 28 57 69 6e 64 6f 77 73 3b 20 55 3b 5.0 (Windows; U;
0090 20 57 69 6e 64 6f 77 73 20 39 38 3b 20 64 65 3b Windows 98; de;
00a0 20 72 76 3a 31 2e 38 29 0d 0a 41 63 63 65 70 74 rv:1.8)..Accept
00b0 3a 20 74 65 78 74 2f 78 6d 6c 2c 61 70 70 6c 69 : text/xml,appli
00c0 63 61 74 69 6f 6e 2f 78 6d 6c 2c 61 70 70 6c 69 cation/xml,appli
00d0 63 61 74 69 6f 6e 2f 78 68 74 6d 6c 2b 78 6d 6c cation/xhtml+xml
00e0 2c 74 65 78 74 2f 68 74 6d 6c 3b 71 3d 30 2e 39 ,text/html;q=0.9
00f0 2c 74 65 78 74 2f 70 6c 61 69 6e 3b 71 3d 30 2e ,text/plain;q=0.
0100 38 2c 69 6d 61 67 65 2f 70 6e 67 2c 2a 2f 2a 3b 8,image/png,*/*;
0110 71 3d 30 2e 35 0d 0a 41 63 63 65 70 74 2d 4c 61 q=0.5..Accept-La
0120 6e 67 75 61 67 65 3a 20 64 65 2d 64 65 2c 64 65 nguage: de-de,de
0130 3b 71 3d 30 2e 38 2c 65 6e 2d 75 73 3b 71 3d 30 ;q=0.8,en-us;q=0
0140 2e 35 2c 65 6e 3b 71 3d 30 2e 33 0d 0a 41 63 63 .5,en;q=0.3..Acc
0150 65 70 74 2d 45 6e 63 6f 64 69 6e 67 3a 20 67 7a ept-Encoding: gz
0160 69 70 2c 64 65 66 6c 61 74 65 0d 0a 41 63 63 65 ip,deflate..Acce
0170 70 74 2d 43 68 61 72 73 65 74 3a 20 49 53 4f 2d pt-Charset: ISO-
0180 38 38 35 39 2d 31 35 2c 75 74 66 2d 38 3b 71 3d 8859-15,utf-8;q=
0190 30 2e 37 2c 2a 3b 71 3d 30 2e 37 0d 0a 4b 65 65 0.7,*;q=0.7..Kee
01a0 70 2d 41 6c 69 76 65 3a 20 33 30 30 0d 0a 43 6f p-Alive: 300..Co
01b0 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 nnection: keep-a
01c0 6c 69 76 65 0d 0a 0d 0a live....
0040 73 70 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 sp HTTP/1.1..Hos
0050 74 3a 20 77 77 77 2e 6b 75 72 6b 6c 69 6e 69 6b t: www.kurklinik
0060 6d 69 72 61 6d 61 72 2e 64 65 0d 0a 55 73 65 72 miramar.de..User
0070 2d 41 67 65 6e 74 3a 20 4d 6f 7a 69 6c 6c 61 2f -Agent: Mozilla/
0080 35 2e 30 20 28 57 69 6e 64 6f 77 73 3b 20 55 3b 5.0 (Windows; U;
0090 20 57 69 6e 64 6f 77 73 20 39 38 3b 20 64 65 3b Windows 98; de;
00a0 20 72 76 3a 31 2e 38 29 0d 0a 41 63 63 65 70 74 rv:1.8)..Accept
00b0 3a 20 74 65 78 74 2f 78 6d 6c 2c 61 70 70 6c 69 : text/xml,appli
00c0 63 61 74 69 6f 6e 2f 78 6d 6c 2c 61 70 70 6c 69 cation/xml,appli
00d0 63 61 74 69 6f 6e 2f 78 68 74 6d 6c 2b 78 6d 6c cation/xhtml+xml
00e0 2c 74 65 78 74 2f 68 74 6d 6c 3b 71 3d 30 2e 39 ,text/html;q=0.9
00f0 2c 74 65 78 74 2f 70 6c 61 69 6e 3b 71 3d 30 2e ,text/plain;q=0.
0100 38 2c 69 6d 61 67 65 2f 70 6e 67 2c 2a 2f 2a 3b 8,image/png,*/*;
0110 71 3d 30 2e 35 0d 0a 41 63 63 65 70 74 2d 4c 61 q=0.5..Accept-La
0120 6e 67 75 61 67 65 3a 20 64 65 2d 64 65 2c 64 65 nguage: de-de,de
0130 3b 71 3d 30 2e 38 2c 65 6e 2d 75 73 3b 71 3d 30 ;q=0.8,en-us;q=0
0140 2e 35 2c 65 6e 3b 71 3d 30 2e 33 0d 0a 41 63 63 .5,en;q=0.3..Acc
0150 65 70 74 2d 45 6e 63 6f 64 69 6e 67 3a 20 67 7a ept-Encoding: gz
0160 69 70 2c 64 65 66 6c 61 74 65 0d 0a 41 63 63 65 ip,deflate..Acce
0170 70 74 2d 43 68 61 72 73 65 74 3a 20 49 53 4f 2d pt-Charset: ISO-
0180 38 38 35 39 2d 31 35 2c 75 74 66 2d 38 3b 71 3d 8859-15,utf-8;q=
0190 30 2e 37 2c 2a 3b 71 3d 30 2e 37 0d 0a 4b 65 65 0.7,*;q=0.7..Kee
01a0 70 2d 41 6c 69 76 65 3a 20 33 30 30 0d 0a 43 6f p-Alive: 300..Co
01b0 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 nnection: keep-a
01c0 6c 69 76 65 0d 0a 0d 0a live....
Zitat
0030 19 20 99 de 00 00 48 54 54 50 2f 31 2e 31 20 32 . ....HTTP/1.1 2
0040 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 00 OK..Date: Sun
0050 2c 20 30 36 20 46 65 62 20 32 30 30 35 20 30 31 , 06 Feb 2005 01
0060 3a 32 32 3a 32 33 20 47 4d 54 0d 0a 53 65 72 76 :22:23 GMT..Serv
0070 65 72 3a 20 41 70 61 63 68 65 2f 31 2e 33 2e 32 er: Apache/1.3.2
0080 39 20 28 55 6e 69 78 29 0d 0a 4c 61 73 74 2d 4d 9 (Unix)..Last-M
0090 6f 64 69 66 69 65 64 3a 20 57 65 64 2c 20 31 32 odified: Wed, 12
00a0 20 4e 6f 76 20 32 30 30 33 20 31 32 3a 31 33 3a Nov 2003 12:13:
00b0 34 34 20 47 4d 54 0d 0a 45 54 61 67 3a 20 22 34 44 GMT..ETag: "4
00c0 33 30 30 32 30 2d 39 36 38 2d 33 66 62 32 32 33 30020-968-3fb223
00d0 66 38 22 0d 0a 41 63 63 65 70 74 2d 52 61 6e 67 f8"..Accept-Rang
00e0 65 73 3a 20 62 79 74 65 73 0d 0a 43 6f 6e 74 65 es: bytes..Conte
00f0 6e 74 2d 4c 65 6e 67 74 68 3a 20 32 34 30 38 0d nt-Length: 2408.
0100 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 20 74 69 6d .Keep-Alive: tim
0110 65 6f 75 74 3d 32 2c 20 6d 61 78 3d 32 30 30 0d eout=2, max=200.
0120 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 4b 65 65 .Connection: Kee
0130 70 2d 41 6c 69 76 65 0d 0a 43 6f 6e 74 65 6e 74 p-Alive..Content
0140 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c 61 69 -Type: text/plai
0150 6e 0d 0a 0d 0a 3c 21 44 4f 43 54 59 50 45 20 48 n....<!DOCTYPE H
0040 30 30 20 4f 4b 0d 0a 44 61 74 65 3a 20 53 75 6e 00 OK..Date: Sun
0050 2c 20 30 36 20 46 65 62 20 32 30 30 35 20 30 31 , 06 Feb 2005 01
0060 3a 32 32 3a 32 33 20 47 4d 54 0d 0a 53 65 72 76 :22:23 GMT..Serv
0070 65 72 3a 20 41 70 61 63 68 65 2f 31 2e 33 2e 32 er: Apache/1.3.2
0080 39 20 28 55 6e 69 78 29 0d 0a 4c 61 73 74 2d 4d 9 (Unix)..Last-M
0090 6f 64 69 66 69 65 64 3a 20 57 65 64 2c 20 31 32 odified: Wed, 12
00a0 20 4e 6f 76 20 32 30 30 33 20 31 32 3a 31 33 3a Nov 2003 12:13:
00b0 34 34 20 47 4d 54 0d 0a 45 54 61 67 3a 20 22 34 44 GMT..ETag: "4
00c0 33 30 30 32 30 2d 39 36 38 2d 33 66 62 32 32 33 30020-968-3fb223
00d0 66 38 22 0d 0a 41 63 63 65 70 74 2d 52 61 6e 67 f8"..Accept-Rang
00e0 65 73 3a 20 62 79 74 65 73 0d 0a 43 6f 6e 74 65 es: bytes..Conte
00f0 6e 74 2d 4c 65 6e 67 74 68 3a 20 32 34 30 38 0d nt-Length: 2408.
0100 0a 4b 65 65 70 2d 41 6c 69 76 65 3a 20 74 69 6d .Keep-Alive: tim
0110 65 6f 75 74 3d 32 2c 20 6d 61 78 3d 32 30 30 0d eout=2, max=200.
0120 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 4b 65 65 .Connection: Kee
0130 70 2d 41 6c 69 76 65 0d 0a 43 6f 6e 74 65 6e 74 p-Alive..Content
0140 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c 61 69 -Type: text/plai
0150 6e 0d 0a 0d 0a 3c 21 44 4f 43 54 59 50 45 20 48 n....<!DOCTYPE H
Sonst noch Fragen? Genau wie ich's vermutet habe. Der Webserver sagt, daß das, was geschickt wird, als reiner Text zu interpretieren sei -- bis auf den IE hält sich jeder Browser daran.
Konnichiwa. Manga wo shitte masu ka? Iie? Gomenne, sonoyouna koto ga tabitabi arimasu. Mangaka ojousan nihongo doujinshi desu wa 'Clamp X', 'Ayashi no Ceres', 'Card Captor Sakura', 'Tsubasa', 'Chobits', 'Sakura Taisen', 'Inuyasha' wo 'Ah! Megamisama'. Hai, mangaka gozaimashita desu ni yuujin yori.

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)
Thema verteilen:
Seite 1 von 1

Hilfe
Neues Thema
Antworten
Nach oben


