C# dotnet asp application - only works with MSIE?

O

Ook

I've given up on MySQL for now - and just built a basic c# dotnet asp web
app. It works. However, if I try to view the app in a non-Microsoft browser,
it doesn't do anything. Specifically, I'm using Mozilla Firebird. It doesn't
know what to do with file type aspx. Do asp dotnet C# apps only work with
MSIE?
 
C

Chad Myers

Ook said:
I've given up on MySQL for now - and just built a basic c# dotnet asp web
app. It works. However, if I try to view the app in a non-Microsoft browser,
it doesn't do anything. Specifically, I'm using Mozilla Firebird. It doesn't
know what to do with file type aspx. Do asp dotnet C# apps only work with
MSIE?

ASP.NET apps (C# is just a language, so that's irrelevant to this
discussion) are cross-browser compatible.

If nothing is showing up, then it's possible you used the evil VS.NET
2002/3 visual designer for ASP.NET pages. By default, it will default
to GRID view which is IE-specific. If you change to "Flow layout",
or don't use the designer at all, it should show up in Mozilla just
fine.

-c
 
O

Ook

Chad Myers said:
ASP.NET apps (C# is just a language, so that's irrelevant to this
discussion) are cross-browser compatible.

If nothing is showing up, then it's possible you used the evil VS.NET
2002/3 visual designer for ASP.NET pages. By default, it will default
to GRID view which is IE-specific. If you change to "Flow layout",
or don't use the designer at all, it should show up in Mozilla just
fine.

-c

I am indeed using GRID view. I'll change to flow layout and see what
happens.
 
O

Ook

It asks me what to do with the file type "aspx". I need to figure out how to
get Mozilla to treat it as an html file - if it's even possible. If I copy
the file to a htm file, it loads it but it doesn't align it properly. I'm
going to try Chad's suggestion of using free flow instead of grid layout.
Good old Microsoft - give us tools, and force the user to use MSIE. I
thought they learned their lesson after the J++ fiasco? LOL
 
M

Michael Mayer

Ook said:
It asks me what to do with the file type "aspx". I need to figure out how to
get Mozilla to treat it as an html file - if it's even possible. If I copy
the file to a htm file, it loads it but it doesn't align it properly. I'm
going to try Chad's suggestion of using free flow instead of grid layout.
Good old Microsoft - give us tools, and force the user to use MSIE. I
thought they learned their lesson after the J++ fiasco? LOL

If it's asking you what to do with the file, then it does not sound
like a grid / flow problem to me. (Although you should change that as
well.) It sounds more like the content type on the server is wrong.
What server are you using? IIS should have that right. You are going
through a webserver - right? You can't just point Mozilla to the file
on your harddrive.

My redhat browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Gecko/20030716
works just fine on aspx pages.
Just for grins, try pointing going to the following url (narrow down
to browser vs. server)

http://www.mag37.com/aspnet/StoreClient/custom.aspx
and see if that works. (note, my connection isn't 100% reliable, so
you might want to confirm my site's up at
http://www.mag37.com )
 
O

Ook

If it's asking you what to do with the file, then it does not sound
like a grid / flow problem to me. (Although you should change that as
well.) It sounds more like the content type on the server is wrong.
What server are you using? IIS should have that right. You are going
through a webserver - right? You can't just point Mozilla to the file
on your harddrive.

My redhat browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Gecko/20030716
works just fine on aspx pages.
Just for grins, try pointing going to the following url (narrow down
to browser vs. server)

http://www.mag37.com/aspnet/StoreClient/custom.aspx
and see if that works. (note, my connection isn't 100% reliable, so
you might want to confirm my site's up at
http://www.mag37.com )

Something strange is indeed going on here. It loads your file just fine. I'm
running IIS on port 81, and Omni Httpd on port 80. If I load the page with
MSIE, it loads just fine from both servers. If I use Firebird, it loads fine
from the omnihttpd server, but it I load it from the IIS server,
MozillaFirebird asks me what to do with files of type aspx.

So...something on my IIS server is causing this? MSIE works, Firebird
doesn't, but Firebird works from Omni httpd server. Very strange, I'm not
quite sure what to do here. It's apparently my IIS server, but I'm not quite
sure where to look. If anyone has any suggestions, they would be much
appreciated, in the meantime I'll poke around with my IIS server and see
what I can figure out.
 
M

Michael Mayer

Ook said:
Something strange is indeed going on here. It loads your file just fine. I'm
running IIS on port 81, and Omni Httpd on port 80. If I load the page with
MSIE, it loads just fine from both servers. If I use Firebird, it loads fine
from the omnihttpd server, but it I load it from the IIS server,
MozillaFirebird asks me what to do with files of type aspx.


Hmm, my server is IIS. Although it is proxied behind Apache (on
linux). However, I don't think apache is changing file types. I
can't imagine the default IIS settings would be wrong. Possibly try
putting IIS on port 80 to see if it works there - could be some wierd
glitch in IIS.

You might also try sniffing the HTTP packets and see exactly what the
server is sending. Look especially at the content type header. This
is a good packet sniffer w/ free trial download:
http://www.gjpsoft.com/UltraNetSniffer/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top