Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    how to preview .asp files in DW
    Hiya All,

    I'm working on a site for someone who uses only .asp files. The design and layout has been subcontracted to me. I seem to have a really hard time previewing the pages in a browser thru DW. I have CS3. I use FF, IE and Safari to preview. Sometimes they work in IE or Safari, sometimes not. No .asp pages with any form/script will ever preview in FF for me. However once they are uploaded to the server, I can view them fine in all the browsers.

    It is me? I'm still pretty new at this and am in the designing camp, and know almost no coding/programming at all.

    TIA!
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  2. #2
    how to preview .asp files in DW
    natakuzen's Avatar
    Member Since
    Oct 10, 2007
    Location
    Southern California
    Posts
    16
    Specs:
    Powerbook G4
    asp is a server-side language. it only runs on a server (windows) If you are trying to view asp thru your local computer, you wont be able to view it properly. You might have to install and configure your IIS and have .net framework to view locally.

    or I recommend using this:
    Web Matrix

    unless anyone has a better method?

  3. #3
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Thank you! is there a reason they can be viewed in Safari and IE? It's very mystifying to me.
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  4. #4
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Just wondering if anyone came up with any ideas about this.

    Happy New Year!
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  5. #5
    how to preview .asp files in DW
    natakuzen's Avatar
    Member Since
    Oct 10, 2007
    Location
    Southern California
    Posts
    16
    Specs:
    Powerbook G4
    Quote Originally Posted by rcronin View Post
    Thank you! is there a reason they can be viewed in Safari and IE? It's very mystifying to me.
    ofcourse you can still view the html part on safari and IE but not the .asp code is not executing. does that make sense?

  6. #6
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Quote Originally Posted by natakuzen View Post
    ofcourse you can still view the html part on safari and IE but not the .asp code is not executing. does that make sense?
    That makes sense, but I don't think that's what's happening. In IE it hangs and won't load. In Safari it will take to finder. And in FF it shows the code only. I'll get some screenshots and post them, if you have time to get back to this thread later.
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  7. #7
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    screen shots when previewing from DW
    This is what I see when I try to preview .asp files that have scripts in them, when I'm in DW. The shot with Finder is what I get when I try to preview in Safari. If I'm using a .asp without a script it's usually better, but not always. The last screen shot is how a page looks in Safari if it does NOT have a script.

    BTW, the site is http://www.headlinersmodelcontest.com/default.asp

    Thank you!!!
    Attached Images Attached Images
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  8. #8
    how to preview .asp files in DW
    PowerBookG4's Avatar
    Member Since
    Jan 08, 2005
    Location
    New Jersey
    Posts
    6,188
    Specs:
    Mac Pro 8x3.0ghz 12gb ram 8800GT , MBP 2.16 2GB Ram 17 inch.
    you should create a sub domain and use that to test your work.

    something like : http://sitetest.headlinersmodelcontest.com

    that way you can upload and test how it will work on the server with out taking down the site that is already there.
    My Website
    Blog
    I love my hosting company!
    I was on the M-F honor roll for Febuary:2006

  9. #9
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Quote Originally Posted by PowerBookG4 View Post
    you should create a sub domain and use that to test your work.

    something like : http://sitetest.headlinersmodelcontest.com

    that way you can upload and test how it will work on the server with out taking down the site that is already there.
    there was a test server when it was build but it's a subbed out to me by a firm and I don't know if the test server is still up. However, I would need to PUT things everytime I wanted to check it, which is a little cumbersome...

    BTW, some one here tried to walk me thru making subdomains. I couldn't figure it out. I host at Go Daddy, I have the deluxe package, on a shared server. Is that why? Do I need a dedicated server to make a subdomain?
    What I do now is make the client a folder, like www.mysite.com/testsite.com.
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  10. #10
    how to preview .asp files in DW
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Quote Originally Posted by rcronin View Post
    That makes sense, but I don't think that's what's happening. In IE it hangs and won't load. In Safari it will take to finder. And in FF it shows the code only. I'll get some screenshots and post them, if you have time to get back to this thread later.
    Hi rc...
    It sounds like the server is sending out the wrong MIME type for asp files (or the asp file itself is setting an incorrect header). That is why some browsers will try to force-download the file ('take to finder' as you say) or show the source as a text file ('FF showing the code'), instead of correctly displaying it as an html page.
    schweb This has to be one of the best threads ever in MF history...
    Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.

  11. #11
    how to preview .asp files in DW
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Quote Originally Posted by rcronin View Post
    there was a test server when it was build but it's a subbed out to me by a firm and I don't know if the test server is still up. However, I would need to PUT things everytime I wanted to check it, which is a little cumbersome...
    That is how I prefer to work actually. Live on a server. So I know exactly what is going on. And, if you're doing dynamic work, its the only possible way. Design/html doesn't matter so much. But if you are working with any server language, you obviously need a server to do the work (database, files, post/get variables, etc)

    Quote Originally Posted by rcronin View Post
    BTW, some one here tried to walk me thru making subdomains. I couldn't figure it out. I host at Go Daddy, I have the deluxe package, on a shared server. Is that why? Do I need a dedicated server to make a subdomain?
    What I do now is make the client a folder, like www.mysite.com/testsite.com.
    That was me =)
    I don't know how godaddy works. I don't think they offer subdomains.

    It's probably easier for you to make a duplicated .asp file. so if the original is "home.asp", duplicate it as "home1.asp" and work on that duplicate. when you are satisfied with the changes delete home.asp and rename home1.asp (remove the '1').
    Make a backup first of course!
    schweb This has to be one of the best threads ever in MF history...
    Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.

  12. #12
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Hi Giulio!

    I was hoping you would find this thread! I know that was you that told me about the subdomains, but I didn't want to ask you again, lol.

    Those explanations helped a lot, thanks! I've been making duplicate files actually, I was desperate and that's what I came up with. Good to know that it's not such a bad idea. Projects for this company are killing me! They just do things so differently from me. And when I say differently, I mean they know what they are doing and I don't. And they are all PC. The owner just about choked when I said I work on a Mac. I told him it's not contagious. Especially if you never try one, lol. When I'm in his office, it's like he tries not to look at it, like I've got a club foot or something. It's pretty comical. I'd be worried that they would see my posts here, but not much chance of that!

    I was just thinking about you, b/c I was on the "rate the avatar above you thread and knew you would give me a good rating instead of a "huh?!" I did get a good rating anyways, on the "aww, a mother and baby" factor. That's a pretty funny thread. Kept me laughing. People here can be so funny. Drives my family nuts b/c I'll be laughing at the computer and they want to see what's so funny. Sure, if they had 1/2 an hour to read thru a thread, lol. And if they could read (2 yr & 4 1/2 yr olds).

    Anyways, thanks again and have a good one,
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  13. #13
    how to preview .asp files in DW
    jmsearcy's Avatar
    Member Since
    Jan 08, 2008
    Location
    Valdosta, GA
    Posts
    92
    Specs:
    20" Aluminum iMac C2D 2.0 Ghz/4 Gb Ram/250 Gb HDD/ etc....
    GoDaddy does offer subdomains, they're easy to setup too! When you go into the admin section of your hosting account there should be a blatant option for subdomains. Outside of that, I will say, ASP.Net development is best left on a PC. I'm a hardcore Mac User, but this is one thing I don't try to cross over. On a PC (or Windows on a Mac if you so choose!) just use Microsoft's free Visual We Developer Express Edition. It provides a mock SQL development environment to locally test ASP.Net pages. I still prefer working straight on the server, That way you know exactly how your customer will see it. If you were working on pages someone else had created initially, Dreamweaver can sometimes try to change tags on its on when you open them up for the first time. I suggest copying the body (not page initialization, etc..) into a new ASP file created in Dreamweaver, and pasting it in.

  14. #14
    how to preview .asp files in DW
    rcronin's Avatar
    Member Since
    Dec 20, 2006
    Location
    New Eng
    Posts
    423
    Specs:
    MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen
    Quote Originally Posted by jmsearcy View Post
    GoDaddy does offer subdomains, they're easy to setup too! When you go into the admin section of your hosting account there should be a blatant option for subdomains. Outside of that, I will say, ASP.Net development is best left on a PC. I'm a hardcore Mac User, but this is one thing I don't try to cross over. On a PC (or Windows on a Mac if you so choose!) just use Microsoft's free Visual We Developer Express Edition. It provides a mock SQL development environment to locally test ASP.Net pages. I still prefer working straight on the server, That way you know exactly how your customer will see it. If you were working on pages someone else had created initially, Dreamweaver can sometimes try to change tags on its on when you open them up for the first time. I suggest copying the body (not page initialization, etc..) into a new ASP file created in Dreamweaver, and pasting it in.
    Hi jmsearcy,

    Thanks for the info. I've made subdomains, two full websites, actually. But what I was trying to do was use them for test sites like this www.testsite.mysite.com I don't know if go daddy allows that. I have a shared hosting account, which may be why.
    Your suggestions about .asp files were really help, so THANKS! Seems pretty clear that looking at them on the server is the only way to go.
    Becky
    Web & Graphic Designer, LLL Leader, teacher (in my previous life; pre-kids) and Mama to my two daughters (who think the Apple booty is theirs)

  15. #15
    how to preview .asp files in DW
    jmsearcy's Avatar
    Member Since
    Jan 08, 2008
    Location
    Valdosta, GA
    Posts
    92
    Specs:
    20" Aluminum iMac C2D 2.0 Ghz/4 Gb Ram/250 Gb HDD/ etc....
    You should definitely be able to do that, ie. blog.mysite.com, restaurant.mysite.com, modelagency.mysite.com, make one for each site you want to mock up.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. preview document files
    By threecities in forum OS X - Operating System
    Replies: 0
    Last Post: 07-25-2012, 12:57 AM
  2. Downloading ASP files
    By meltondw in forum OS X - Operating System
    Replies: 0
    Last Post: 09-24-2009, 05:52 PM
  3. Problem with PDF files in Preview
    By medellkr in forum OS X - Apps and Games
    Replies: 0
    Last Post: 03-02-2008, 10:28 PM
  4. preview illustrator files ?
    By chihiro in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-16-2008, 05:59 AM
  5. .asp radio files?
    By Charlotte_RG in forum OS X - Operating System
    Replies: 1
    Last Post: 05-25-2007, 09:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •