 |
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
|
|
|
|

January 20th, 2005, 03:37 AM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
|

January 20th, 2005, 04:05 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you also deploy the DreamweaverCtrls.dll file to the production server?
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

January 20th, 2005, 04:12 AM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes, I put it in c:\inetpub\wwwroot\bin.
|
|

January 20th, 2005, 10:25 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

January 21st, 2005, 08:37 AM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

January 21st, 2005, 08:43 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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