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 September 13th, 2005, 12:21 AM
Authorized User
 
Join Date: Sep 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Uploading to Host

Please Help the newbie. I have started developing pages in dreamweaver and everything works great locally (win xp, iis is already set up). I have a hosting account at www.brinkster.com and would like to upload my pages and database to it. locally the site structure is as follows:
C:\inetpub\wwwroot\project,
in the project folder i have "bin" containing DreamweaverCtrls.dll file, then "database" folder with one databas and in "project" which is the root of my site are few aspx files and web.confi file. everything works great locally, but when i ftp-ed all those files and folder keeping the same site structure, whenever i try to open any aspx errors i get errors:
---------------------------------------------------------------------
Line 1: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,culture=neutral" %>
Line 3: <MM:Insert
Line 4: runat="server"


Source File: \\premfs19\sites\premium19\fibernex\webroot\projec t\testpage.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a
 (Fully-specified)
LOG: Appbase = file://premfs19/sites/premium19/fibernex/webroot
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspn et.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\confi g\machine.config.
LOG: Post-policy reference: DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/0dece17d/9f402e6b/DreamweaverCtrls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/0dece17d/9f402e6b/DreamweaverCtrls/DreamweaverCtrls.DLL.
LOG: Attempting download of new URL file://premfs19/sites/premium19/fibernex/webroot/bin/DreamweaverCtrls.DLL.
LOG: Attempting download of new URL file://premfs19/sites/premium19/fibernex/webroot/bin/DreamweaverCtrls/DreamweaverCtrls.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/0dece17d/9f402e6b/DreamweaverCtrls.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/0dece17d/9f402e6b/DreamweaverCtrls/DreamweaverCtrls.EXE.
LOG: Attempting download of new URL file://premfs19/sites/premium19/fibernex/webroot/bin/DreamweaverCtrls.EXE.
LOG: Attempting download of new URL file://premfs19/sites/premium19/fibernex/webroot/bin/DreamweaverCtrls/DreamweaverCtrls.EXE.
-------------------------------------------------------------------
is there anything i need to change as far as connecting/pointer to database. i know that when looking at code in dreamweaver there is no
-----------------------------------------------------------
<%

    Dim sPath As String = "C:\sites\single??\username\database\YourDB.md b"

    Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0; DATA Source=" & sPath & ";"

    Dim objConn As OleDbConnection

    Dim cmdSelect As OleDbCommand

    Dim dtrReader As OleDbDataReader

    Dim strResults As String



    objConn = New OleDbConnection( connString )



    objConn.Open()
--------------------------------------------------------------
all this is missing when using dreamweaver, why?, when i do provide all the connecting info then i get errors when trying to run this locally, why?, should this be added automatically by dreamweaver when you publish the site?.

Please help!!!

 
Old September 17th, 2005, 08:07 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default

what kind of error does it give t you?is it for your web config or the web config is working?

 
Old September 25th, 2005, 09:58 AM
Authorized User
 
Join Date: Aug 2005
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You have to know the direct address of the database where it is on the remote server and point on it.
Does the provider give opportunity to use asp.net pages and database. You have too consult the provider witch connection mode you have to use.

Dreamweaver publish the connection scripts automaticly if you have configure all right.






Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual host problem cjp17 BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 1 May 23rd, 2009 05:25 AM
Host Fee radiohalo5 BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6 0 January 4th, 2006 02:00 AM
Local Host Problem arimakidd Classic ASP Professional 1 November 23rd, 2005 05:23 AM
How do I host a web application ? nidhinasthra Classic ASP Basics 1 July 6th, 2005 10:57 AM
Using Third Party Host motor1 BOOK: ASP.NET Website Programming Problem-Design-Solution 0 August 14th, 2003 04:48 PM





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