preview classic asp

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
Elygen
Posts: 49
Joined: Wed Oct 12, 2005 4:55 am

preview classic asp

Post by Elygen »

Unfortunatly I have a program at work that is written in asp vbscript. Is there a way to set up preview so i can view asp pages. God that would be useful.

thanks
Todd
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: preview classic asp

Post by chrisjlocke »

You can drag in .asp pages (or whatever the extension is...) into WeBuilder and edit them like any other editor. Highlighting works with html files with ASP or ASP .Net (both VB and C#)
You can also tweak the highlighting if necessary, but thats quite advanced.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: preview classic asp

Post by syrupcore »

I think he's asking about actually previewing the asp files in webuilder's preview window. I don't know a way but I've never used asp in webuilder so ignore me. :)

browser preview is only three keystrokes away.
ctrl+s
alt+tab
ctrl+r

<1 second. :)

If you can stand having lots of instances of the same page open, you can just hit your shortcut for "preview in ___". F12, I believe.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: preview classic asp

Post by chrisjlocke »

Aah. Oh. Bum.
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: preview classic asp

Post by MikeyB »

Hello there,

I've managed to get WeBuilder to preview ASP pages.
What I've done is setup a WeBuilder mapping to the local drive I have mapped to the web server.

For example, our intranet (http://intranet.company.com for example) I have mapped locally to my I: drive (I for Intranet, see!!!)
In WeBuilder goto Options -> Preferences -> Preview -> Mappings and added a new mapping:
Local or FTP Path = I:\
Web Server Path = http://intranet.company.com/

Whenever I'm editing an ASP page from the I: drive the preview knows to run in from the intranet servers, works a treat :mrgreen:

I've also got mappings for localhost to c:\inetpub\wwwroot and also one for our test server.

That make any sense?

Cheers
Mike
Elygen
Posts: 49
Joined: Wed Oct 12, 2005 4:55 am

Re: preview classic asp

Post by Elygen »

Didn't work :( here is my senario.

Im running xp professional so iis can only run 1 site. Therefore, for my different projects i create virtual drives.

My mappings are:
localpath = Z:\ (this is my projects folder within "My Documents". i keep all my projects here)
webserver:http://localhost

when i try to preview i get a message window "No application is associated with this file type."

I am tring to preview .asp files.
I am not running asp.net

thanks for your help so far. I can not wait to get this working.
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: preview classic asp

Post by MikeyB »

Hmmm,

Same here, only .asp, not asp.net, and it works fine with IIS (localhost) on my XP Pro, but I've not used virtual drives, so that could be the problem.
Elygen
Posts: 49
Joined: Wed Oct 12, 2005 4:55 am

Re: preview classic asp

Post by Elygen »

alright!!! i figured it out.

the local path i pointed directly to the folder containing my projects. It would not work with the mapped drive.
the set the server path to http://localhost/

when you set up the drive in iis you have to make the application name the same as the directory.

if anyone needs to do this and you don't understand what i''m saying please hit me up. I'd be happy to help you out.

MIKEY B!!!!!! you are the man. Thanks alot!
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: preview classic asp

Post by MikeyB »

Glad you got it sorted, I know there is something "funny" about mapping drives to your own local machine with certain things, had a similar problem here with something (can't remember what!) that it seemed to know it was really my C: drive and not the mapped drive!
Elygen wrote:MIKEY B!!!!!! you are the man. Thanks alot!
:oops: stop it!!! lol
Post Reply