Forums

This topic is locked

ASPX Files work in dreamweaver but nothing else

Posted 26 Nov 2006 04:02:14
1
has voted
26 Nov 2006 04:02:14 sharmaine miss posted:
My aspx files only render when using dreamweaver's preview in browser.

They were created in dreamweaver.

When I try to use Visual Basic, Web Matrix or Upload them to a server I get the following error:

Parser Error Message: Could not load file or assembly 'DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<font color=red>Line 2: &lt;%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %&gt;
</font id=red>
Line 3: &lt;MMATASET id="dsCourses" Debug="true" CommandText='&lt;%# "SELECT * FROM course" %&gt;' DatabaseType='&lt;%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_Courses" %&gt;' ConnectionString='&lt;%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_Courses" %&gt;' IsStoredProcedure="false" runat="Server"&gt;&lt;/MMATASET&gt;
Line 4: &lt;MM<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>AGEBIND runat="server" PostBackBind="true" /&gt;
---------------------------------------------------------------------------

Is any one familiar with this?

Replies

Replied 29 Nov 2006 00:09:34
29 Nov 2006 00:09:34 sharmaine miss replied:
NO One has this problem?
I thought it may have something to do with it being a dreamweaver generated code.

The "MM" seems to be a problem.
Replied 29 Nov 2006 00:59:30
29 Nov 2006 00:59:30 sharmaine miss replied:
I figured it out.
Of course Dream weaver has no problem locating the DreamweaverCtrls but other applications did.

I had to copy the bin folder to the sites folder.
c:\inept\wwwroot\sitefolder\bin

The following was not sufficient enough.
c:\inept\wwwroot\bin

I hope this helps.

Replied 02 Jun 2007 00:12:06
02 Jun 2007 00:12:06 Mike Mitchell replied:
I just upgraded to DW CS3 and had the same problem. The full solution is to go to the app menu and select:

<b>Site/Advanced/Deploy Supporting Files</b>

and then follow the prompts to have Dreamweaver copy the files to the correct location for you. Make sure you select the proper testing server model (if you're using VB, then select that one). And don't forget to copy the bin directory when you FTP the site to the live server.

I don't have Dreamweaver 8 in front of me, but I do recall that this feature is in there somewhere.
Replied 04 Jun 2007 05:10:23
04 Jun 2007 05:10:23 ajojddy ajojddy replied:
Interesting, cool article, made me chuckle.
-----------------------------------------
<b>Shareware</b>

www.mostshareware.org

Reply to this topic