Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver MX 2004 Site Management - ASP Javascript

Status
Not open for further replies.

mondeoman

MIS
Dec 7, 2006
203
GB
I suspect this is a bit basic but I am really stuck. I am creating a new web site and want to use a login/register script and an access database. I was going to use ASP Javascript as the server model. My problem is this: I should say at first I want to be able to test everything on my laptop before putting the site on the web. I am using Windows Professional and Dreamweaver MX 2004. Having tried to set up the site using the Manage Site menu option I keep getting a navigation error when I try to open the site in a browser. These are the setting I am using so what I am doing wron:

Local Info:

Site Name: BKSolutions
Local Root Folder: C:\Documents and Settings\Bernard Kane\My Documents\BKSolutions\
Default Images folder: C:\Documents and Settings\Bernard Kane\My Documents\BKSolutions\
Http address:
Remote Info: None

Testing Server:
Server model: ASP Javascript
Access: Local/Network
Testing Server Folder: C:\Documents and Settings\Bernard Kane\My Documents\BKSolutions\

I have clearly got something very wrong but I don't know what - can anyone help please?

Beeky
 
If you are going to want to run ASP, and test ASP on your Laptop, you'll need a Webserver that supports it. Usually Microsoft's IIS. You can install IIS on your laptop and set it up to run ASP pages.

Then you'll need to change your page's extensions from HTML to ASP.

And finally call the pages through the Webserver.

instead of doing: C:\path\to\folder\mypage.ASP

you need to do http:\\localhost\webfolder\mypage.ASP










----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Dear Vacunita

Thanks for the reply. I have IIS installed on the laptop. The folder I have used in the past is inetpub\ I think I am probably doing it wrong. So in respect of your comments re calling through the Webserver you have lost me a little (actually a lot). Looking at my site setup info outlined above what should I change it to c:\inetpub\ instead of the current C:\Documents and Settings\Bernard Kane\My Documents\BKSolutions\. Should I then copy my files to this folder?

My Asp pages already have the ASP extension. The two in question are register.asp and contactus.asp

Being a newbie and probably a bit thick can you help in simple terms - many thanks

Beeky
 
Basically, you'll want to save your files in the c:\inetpub\ folder. As that is where the webserver can see them and process them.

So yes, change the testing server folder to C:\inetpub\ will make Dreamweaver put them there when you want to test therm out.


Once you copy them into that folder, you can call them in your browser as
Then you'll be able to access them.





----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks for this. When you say change your html extensions to asp does this mean change all pages (i.e. whether dynamic or not) or just those like the login and contact page. Also when setting up the site as I will be connecting to a simple Access database do i need to set the site up as a normal site or a web application. I don't really understand the difference between them.

Beeky
 
If there is no ASP code in a page then you don't need to change the extensions.

If you want to add ASP code later down the line you'll need to change the extension so the page can be processed and the ASP code run.

You don't need to set the entire site as a web application.
Just make sure the pages that contain ASP code have an ASP extension an you should be o.k.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Hi again I thought I had cracked it but am still doing something very wrong. I have added a word document with some screen dumps to my old site that I am replacing. The URL is Any chance that you could have a quick look and see where I am going wrong.

Thanks
 
You local info should not be set to inetpub. only the testing server info.

Additionally are you sure IIS is set up to process ASP pages:
Here have a read:

Basically you need to make sure the folder is set to execute ASP pages.







----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top