Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2005, 03:37 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pages with datasets don't work.

I have built a dynamic website using dreamweaver. When I move the site to a machine that doesn't have dreamweaver installed on it the pages that use datasets display the code and not the page. The machine has the dotnet framework installed. Anyone know what the problem is?
 
Old January 20th, 2005, 04:05 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Did you also deploy the DreamweaverCtrls.dll file to the production server?

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 20th, 2005, 04:12 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I put it in c:\inetpub\wwwroot\bin.
 
Old January 20th, 2005, 10:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Are you having the same problem with other ASPX pages?

This doesn't sound like a Dreamweaver controls / dataset problem, but rather like an IIS configuration problem.

Search this forum for aspnet_regiis.exe -i

Also, if you're running Server 2003, mae sure you enabled ASPX in the IIS Server Extensions dialog

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old January 21st, 2005, 08:37 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

aspnet_regiis.exe worked! Funny thing is that it works if you use internet explorer and put in the path eg http:\\localhost\site name\page.aspx but if you right click on the pages and select open with iexplorer it still does the same thing.
thanks for the help.

 
Old January 21st, 2005, 08:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That's how it's supposed to work.

When you right-click a file and open it with the browser, you directly access the file as a simple HTML file from disk and no parsing takes place.

However, for ASPX pages (or any other server side page) to work, they need to be processed by the webserver. When you request http://localhost/MyPage.aspx, IIS hands of the page to the .NET framework, that parses the page and sends the resulting output to the browser.

Cheers,

Imar
 
Old January 23rd, 2005, 03:02 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
will flash work in master pages of asp.net kalyan141142 ASP.NET 2.0 Professional 2 November 21st, 2007 11:21 AM
Datasets Louisa VB.NET 2002/2003 Basics 1 October 6th, 2004 07:38 AM
DataSets CodeMonkeys C# 1 September 7th, 2004 09:48 PM
Web pages constructing: I-mode(mobile) pages karib Dreamweaver (all versions) 3 June 6th, 2004 09:48 AM
"Find" doesn't work on framed pages abbylee26 HTML Code Clinic 2 October 22nd, 2003 02:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.