This topic is locked

Preview After Build

12/13/2007 9:09:05 PM
ASPRunnerPro General questions
C
cadeucsb author

After I build my form, if I use the button that takes me to the output folder...I click the index.html file and it just opens a bunch of code in a webbrowser, not my form
same result if I upload it to my webserver and attempt the site over the internet.

M
Michael7 12/13/2007

.

M
Michael7 12/13/2007

Is ASP installed on your hosting PC?
if that is not the problem check the url

if it starts like this when you open in browser change it to
file:///C:/yourfilenames

http://localhost/yourfilenames

C
cadeucsb author 12/13/2007

Is ASP installed on your hosting PC?

if that is not the problem check the url

if it starts like this when you open in browser change it to
file:///C:/yourfilenames

http://localhost/yourfilenames


so if my files are in:

C:\Program Files\ASPRunnerPro5.1\projects\Project1\output
[url=http://localhost/ProgramFiles/ASPRunnerPro5.1/projects/Project1[/url] ??
I tried the PHPRunner demo...same result.

C
cadeucsb author 12/13/2007

I have IIS installed and now the View in Browser button is enabled and it takes me to:

http://localhost/Project1/contactinfo_list.asp
Dir to the project:

C:\Program Files\ASPRunnerPro5.1\projects\Project1\output

M
Michael7 12/14/2007

Check in IIS where your root directory is.
goto IIS right click over your default website and goto properties.

goto home directory and check the Local Path
if this says somthing like
C:\Inetpub\wwwroot\ then wwwroot is your root directory that would represent

http://localhost/
once you know the root directory just copy your ASPrunner Project folder to there.
eg if wwwroot is your root directory folder just copy the Project1 folder to wwwroot and your URL will be

http://localhost/Project1/output/etc
Cheers

Michael

C
cadeucsb author 12/14/2007

Check in IIS where your root directory is.

goto IIS right click over your default website and goto properties.

goto home directory and check the Local Path
if this says somthing like
C:\Inetpub\wwwroot\ then wwwroot is your root directory that would represent

http://localhost/
once you know the root directory just copy your ASPrunner Project folder to there.
eg if wwwroot is your root directory folder just copy the Project1 folder to wwwroot and your URL will be

http://localhost/Project1/output/etc
Cheers

Michael


Everything is as you said...under Home Directory tab in IIS i have: c:\inetpub\wwwroot
I then put the Project1 folder in the wwwroot folder...so the path is like you said: C:\Inetpub\wwwroot\Project1\output
So I use :http://localhost/Project1/output/index.html
still having the same page cannot be found with a simple 404 error.

C
cadeucsb author 12/14/2007

Ok...so having the result above, i just randomly hit the preview in browser button in ASPrunner and it worked...however the link is the following:
http://localhost/Project11/login.asp
I just searched the C drive and there is no Project11 folder anywhere, all the folders are as I pasted above... its Project1 or:

C:\Inetpub\wwwroot\Project1 (pasted from file explorer address bar)

C
cadeucsb author 12/14/2007

all is working...it was creating the 11 folder because a project1 existed already ...didnt realize the preview in browser button actually added it to IIS for me...