New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

how to preview .asp files in DW


Post Reply New Thread Subscribe

 
Thread Tools
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
natakuzen

 
natakuzen's Avatar
 
Member Since: Oct 10, 2007
Location: Southern California
Posts: 16
natakuzen is on a distinguished road
Mac Specs: Powerbook G4

natakuzen is offline
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?
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
natakuzen

 
natakuzen's Avatar
 
Member Since: Oct 10, 2007
Location: Southern California
Posts: 16
natakuzen is on a distinguished road
Mac Specs: Powerbook G4

natakuzen is offline
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?
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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
File Type: png Picture 2.png (152.2 KB, 7 views)
File Type: png Picture 3.png (112.7 KB, 5 views)
File Type: png Picture 4.png (263.3 KB, 4 views)
File Type: png Picture 5.png (408.9 KB, 4 views)

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)
QUOTE Thanks
PowerBookG4

 
PowerBookG4's Avatar
 
Member Since: Jan 08, 2005
Location: New Jersey
Posts: 6,188
PowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud ofPowerBookG4 has much to be proud of
Mac Specs: Mac Pro 8x3.0ghz 12gb ram 8800GT , MBP 2.16 2GB Ram 17 inch.

PowerBookG4 is offline
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
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
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.
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
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.
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
jmsearcy

 
jmsearcy's Avatar
 
Member Since: Jan 08, 2008
Location: Valdosta, GA
Posts: 92
jmsearcy is on a distinguished road
Mac Specs: 20" Aluminum iMac C2D 2.0 Ghz/4 Gb Ram/250 Gb HDD/ etc....

jmsearcy is offline
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.
QUOTE Thanks
rcronin

 
rcronin's Avatar
 
Member Since: Dec 20, 2006
Location: New Eng
Posts: 423
rcronin has a spectacular aura about
Mac Specs: MacBook white, 2.0 Intel Core 2 Duo Pro, 2 GB RAM, 13" screen

rcronin is offline
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)
QUOTE Thanks
jmsearcy

 
jmsearcy's Avatar
 
Member Since: Jan 08, 2008
Location: Valdosta, GA
Posts: 92
jmsearcy is on a distinguished road
Mac Specs: 20" Aluminum iMac C2D 2.0 Ghz/4 Gb Ram/250 Gb HDD/ etc....

jmsearcy is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« Unknown Errors on iWeb 08 | Don't lookup potential domain names using Network Solutions »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Deleting Hidden files... ldj OS X - Operating System 15 03-16-2013 12:24 PM
automator/finder - renaming files (again) eric OS X - Apps and Games 7 02-14-2007 08:24 AM
Opening pdf files in browser Maco Switcher Hangout 5 11-21-2006 10:34 AM
No preview of RAW files in Adobe Bridge Jackcu Images, Graphic Design, and Digital Photography 3 11-03-2006 02:40 PM
Problems copying files... PC to Mac... ps zburd Running Windows (or anything else) on your Mac 0 10-10-2005 03:10 PM

All times are GMT -4. The time now is 05:04 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?