Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Parser Error

Guest
Jul 17, 2006 Jul 17, 2006

Copy link to clipboard

Copied

Hi I get the following when creating an ASP.NET VB Script page. I can connect to a SQL Server fine database and can preview a page without problem, the moment I go to bindings, add a dataset (which tests ok) click save and preview I get the message below.

I know it should be obvious as it is saying the problem that it cannot locate the DreamweaverCtrl.dll but I have saved it in the bin directory (c:\inetpub\wwwroot\bin\) as stated in loads of forums but it still doesn't work. I have also changed the directory to a virtual one as was also suggested. Still no joy. Any ideas?

Error message:

Server Error in '/propertyrace' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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" %>
Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
Line 3: <MM:DataSet
Line 4: id="DataSet1"


Source File: /propertyrace/Untitled-3.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine why the assembly 'DreamweaverCtrls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=836f606ede05d46a' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
TOPICS
Server side applications

Views

610
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 17, 2006 Jul 17, 2006

Copy link to clipboard

Copied

Forgot to say I have also tried deploying supporting files to the c:\inetpub\wwwroot\bin folder but it saye there are no files needed to deploy!

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 17, 2006 Jul 17, 2006

Copy link to clipboard

Copied

wanted to make it clear, my website resides in:
c:\inetpub\wwwroot\propertyrace\

I have made sure that the dll is in c:\inetpub\wwwroot\bin\

I asssume this is correct because if i copy this bin folder to the subfolder (wwwroot\propertyrace\) I get a different error message!
Thanks in advance!



Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 17, 2006 Jul 17, 2006

Copy link to clipboard

Copied

Please, people this is driving me round the bend - any imput would be great:

When copying the bin directory to c:\inetpub\wwwroot\propertyrace\

I get the following error. Could someone please tell me which one to pursue!!! PLEASE!!!!!

System.Exception: This page has a MM:DataSet, MM:Insert, MM:Update or MM:Delete tag with a null or empty value for the ConnectionString and DatabaseType attributes.

Often, such values come from application settings in the web.config file. That file might be missing from the server executing this page. Or, it might be missing the particular add key tags for the database connection this page uses. If you are using Dreamweaver, look for the web.config file in the local root folder of your Dreamweaver site. Once you find this file, you can either:
Put this file onto the server that is executing this page.
Copy the add key tags from the web.config in the local root folder of your Dreamweaver site and paste them into the web.config file in the server that is executing this page.

at DreamweaverCtrls.DataSet.DoInit()

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 17, 2006 Jul 17, 2006

Copy link to clipboard

Copied

This is my web.config:

<configuration>
<appSettings>
<add key="MM_CONNECTION_HANDLER_we" value="default_oledb.htm" />
<add key="MM_CONNECTION_STRING_we" value="Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=pbuyer;Data Source=office\sqlexpress" />
<add key="MM_CONNECTION_DATABASETYPE_we" value="OleDb" />
<add key="MM_CONNECTION_SCHEMA_we" value="" />
<add key="MM_CONNECTION_CATALOG_we" value="" />
</appSettings>
</configuration>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 18, 2006 Jul 18, 2006

Copy link to clipboard

Copied

Please can someone point me in the right direction?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 18, 2006 Jul 18, 2006

Copy link to clipboard

Copied

Ok - I tey and use the SQL natice client and it tests correctly, add a dataset which again tests correctly, preview the page and get:

System.InvalidOperationException: The 'SQLNCLI.1' provider is not registered on the local machine.
at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()
--------------------------------------------------------------------------------

PLEASE SOMEONE HELP ME!

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 28, 2006 Aug 28, 2006

Copy link to clipboard

Copied

LATEST
Alfie27,

I had the same problem, found not answers in this forum, but found this this:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16387

So with the ASP.NET file open in DW, do the following:
Choose Site > Advanced > Deploy Supporting Files

The bin directory was set to: /bin

I had to change the directory to be in actual root of my site: /wwwroot/bin

Click Deploy, and it uploads the right files.

I can't tell you much more, but I can tell you this fixed the problem for me.

Hope that helps.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines