Forums
This topic is locked
XP, Dreamweaver, and IIS not collaborating
Posted 04 Nov 2003 10:58:09
1
has voted
04 Nov 2003 10:58:09 Peter Tyler posted:
I bought XP Pro especially to be able to attach a database to my Dreamweaver website, and to be able to do all the testing on my computer. I have installed Windows IIS properly (and re-installed to make sure), and have made sure that the root directory is shared with the default website path. I think that I've set Dreamweaver up properly to do its stuff, but if I attempt to open a page using the browser (IE), I get a page not available 404 message every time. It simply does not work. I cannot seem to find any good troubleshooting assistance and "The Missing Manual" doesn't address such troubles - perhaps because I don't know where to look. The book's cosmo_root files from its tutorial seem (seem) to work OK. Can you advise as to where or to whom I might go?
Dreamweaver novice, not professional or trained, but not wholly inexperienced.
Replies
Replied 04 Nov 2003 11:42:16
04 Nov 2003 11:42:16 Janusz Jasinski replied:
Ok,
Why did you buy Windows XP Pro especially? Win2K would have done the trick. Anyway... so you have a folder: C:\Inetpub\wwwroot with some files in? What happens when you go here: localhost?
If you want to connect to a DB, you have to setup the DSN connection properly...
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Why did you buy Windows XP Pro especially? Win2K would have done the trick. Anyway... so you have a folder: C:\Inetpub\wwwroot with some files in? What happens when you go here: localhost?
If you want to connect to a DB, you have to setup the DSN connection properly...
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Replied 04 Nov 2003 17:34:18
04 Nov 2003 17:34:18 Peter Tyler replied:
Thnaks for the reply - boughgt XP because I knew no better, I'm afraid.
localhost opens first an XP welcome asp page: then instantly overlaid and I get a help index page.
I think that linking to the database is not a problem (yet). I have done the necessary and can both attach the db and begin to determine elements in the bindings tab.
But I cannot get the bl***y browser to open my pages.
localhost opens first an XP welcome asp page: then instantly overlaid and I get a help index page.
I think that linking to the database is not a problem (yet). I have done the necessary and can both attach the db and begin to determine elements in the bindings tab.
But I cannot get the bl***y browser to open my pages.
Replied 04 Nov 2003 17:57:51
04 Nov 2003 17:57:51 Dave Clarke replied:
I had this problem a while ago.
In DW under the "Edit Sites" command, check the following settings.
Remote Info page : - the remote folder must be the full path to the remote root folder of your site e.g H:\Inetpub\wwwroot\thesite
Application Server page :- remote folder same as above
and URL prefix should be the remote computers name followed by the site root folder e.g computername/thesite/
that worked for me anyway
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
In DW under the "Edit Sites" command, check the following settings.
Remote Info page : - the remote folder must be the full path to the remote root folder of your site e.g H:\Inetpub\wwwroot\thesite
Application Server page :- remote folder same as above
and URL prefix should be the remote computers name followed by the site root folder e.g computername/thesite/
that worked for me anyway
Dave
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
Replied 04 Nov 2003 23:53:24
04 Nov 2003 23:53:24 Janusz Jasinski replied:
Try getting rid of everything in the wwwroot folder, then put youur stuff in and try 2 view it
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Replied 05 Nov 2003 11:57:27
05 Nov 2003 11:57:27 Peter Tyler replied:
Tried J's suggestion - no difference. These are my DW settings -
Local Info tab
Site name - DynamicVersion
Local root folder - C:\Inetpub\wwwroot\ArtShopperhttp address - /www.art-shopper.com
Cache and refresh both enabled
Remote info
None
Testing server
ASP VBScript
Local/Netwrok
Testing server folder - C:\Inetpub\wwwroot\ArtShopperRefresh
URL - localhost/artshopper/
I have heard from someone MUCH more experienced than I as follows. Surely this is not good news for l'il ol me. Is there perhaps a REAL PROBLEM between DW, XP, and IIS -
I too have had this problem, and although for some time I got it working so that I could use Interdev for editing, something happened and I have been unable to solve the problem. Nowadays I do my editing on line. I assume that you are planning to use ASP to address the database, is that so?
Sorry I can’t be more help. You could no doubt find everything you need in the MSDN section of Microsoft’s web site.
Local Info tab
Site name - DynamicVersion
Local root folder - C:\Inetpub\wwwroot\ArtShopperhttp address - /www.art-shopper.com
Cache and refresh both enabled
Remote info
None
Testing server
ASP VBScript
Local/Netwrok
Testing server folder - C:\Inetpub\wwwroot\ArtShopperRefresh
URL - localhost/artshopper/
I have heard from someone MUCH more experienced than I as follows. Surely this is not good news for l'il ol me. Is there perhaps a REAL PROBLEM between DW, XP, and IIS -
I too have had this problem, and although for some time I got it working so that I could use Interdev for editing, something happened and I have been unable to solve the problem. Nowadays I do my editing on line. I assume that you are planning to use ASP to address the database, is that so?
Sorry I can’t be more help. You could no doubt find everything you need in the MSDN section of Microsoft’s web site.
Replied 05 Nov 2003 13:55:48
05 Nov 2003 13:55:48 Dave Clarke replied:
two more things.. i think with no remote info it wont work because the whole point of IIS is that it pretends to be a remote server. so you need to specify your remote info as local/network and your remote folder as the same as your application server folder.
secondly you have your local and remote folders in the same place (C:\Inetpub\wwwroot\ArtShopper) i would suggest having them in totally different places.
As far as i know there is no problem between DW, XP and IIS as i have been using that setup for quite a while now.
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
secondly you have your local and remote folders in the same place (C:\Inetpub\wwwroot\ArtShopper) i would suggest having them in totally different places.
As far as i know there is no problem between DW, XP and IIS as i have been using that setup for quite a while now.
ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome
Replied 08 Nov 2003 01:25:01
08 Nov 2003 01:25:01 chris varin replied:
go to ur control panel then administrative tools then click DataSources (ODBC) click system DSN tab then add then microsoft access driver then select ur database and file in the rest? that could have been ur problem PS i am only 14 and i know this stuff <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 08 Nov 2003 14:59:16
08 Nov 2003 14:59:16 Janusz Jasinski replied:
Check the DSN connection, if you knwo where the MDB is, just point to it, if not use as above post suggests
<pre id=code><font face=courier size=2 id=code>
<%
DIM MM_DSN_STRING
MM_DSN_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/database.mdb"
' Microsoft Access 2000 using mapped path
MM_DSN_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\database.mdb;" ' Microsoft Access 2000
MM_DSN_STRING = "driver={SQL Server};server=SERVERNAME;uid=USERNAME;pwd=PASSWORD;database=DATABASENAME" ' SQL Server
%>
</font id=code></pre id=code>
Make your choice!
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
<pre id=code><font face=courier size=2 id=code>
<%
DIM MM_DSN_STRING
MM_DSN_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/database.mdb"

MM_DSN_STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\database.mdb;" ' Microsoft Access 2000
MM_DSN_STRING = "driver={SQL Server};server=SERVERNAME;uid=USERNAME;pwd=PASSWORD;database=DATABASENAME" ' SQL Server
%>
</font id=code></pre id=code>
Make your choice!
Janusz
======================
janusz.monkey-it.co.uk
ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe