Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   ASP.NET (http://www.programmingforums.org/forum35.html)
-   -   adding a reference to a file on the server (http://www.programmingforums.org/showthread.php?t=14096)

paulchwd Oct 2nd, 2007 7:38 PM

adding a reference to a file on the server
 
Hi ,

I have to add a reference to my ASP.Net project (a reference to the MySql connector Net dll) ... here is where I am unclear... i only have limited ftp access to this server (to my virtual directory)... how to do get my code to reference the dll in the virtual directory on the server... i tried add a web reference but it would not work

Thnx

paulchwd Oct 3rd, 2007 12:25 AM

To add further details: I tried opening the project via File>Open website in visual studio 2005 professional and then added the reference by going to My network places, logging into the ftp from there and selecting the DLL from the correct folder on the FTP and then saving. As a result I get this error when I try to access my page:

:

Server Error in '/btb' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'MySql.Data, Version=5.0.8.1, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 12:                <compilation debug="true">
Line 13:                        <assemblies>
Line 14:                                <add assembly="MySql.Data, Version=5.0.8.1, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>
Line 15:                <!--
Line 16:            The <authentication> section enables configuration



All times are GMT -5. The time now is 2:51 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC