FusionCharts Forum: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'. - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.

#1 User is offline   scokim 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 02-March 09

Posted 02 March 2009 - 07:16 PM

I've downloaded the trial version and copied all the files to my website directory as instructed. I'm using Visual Studio 2008 on my PC.


I've also modified the web.config file with the following:

<add key="ConnectionStringFactory" value="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:Documents and SettingscokimsMy DocumentsVisual Studio 2008WebSitesWebSite1FusionChartsDB" ></add>

<add key="ConnectionStringFusionChart" value="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:Documents and SettingscokimsMy DocumentsVisual Studio 2008WebSitesWebSite1FusionChartsDB" ></add>

When running the default.aspx, I get the following error

 

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[OdbcException (0x80131937): ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failedERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.]   System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +1156770   System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle) +95   System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions) +53   System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +55   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +29   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +4863644   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117   System.Data.Odbc.OdbcConnection.Open() +40   InfoSoftGlobal.InfoSoftGlobal.DbHelper.Connection(String connectionString) +83   InfoSoftGlobal.InfoSoftGlobal.BluePrintApp.FC_ASP.UserControls.header.Page_Load(Object sender, EventArgs e) +121   System.Web.UI.Control.OnLoad(EventArgs e) +99   System.Web.UI.Control.LoadRecursive() +50   System.Web.UI.Control.LoadRecursive() +141   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 

 

Grateful for some help.


0

Other Replies To This Topic

#2 User is offline   Rahul Kumar 

  • Supreme Being
  • Group: Moderators
  • Posts: 1040
  • Joined: 18-March 08

Posted 03 March 2009 - 05:26 AM

Hi,
 
Could you please try using the following code?
 
<add key="ConnectionStringFactory" value="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:Documents and SettingscokimsMy DocumentsVisual Studio 2008WebSitesWebSite1FusionChartsDB.mdb" ></add>

<add key="ConnectionStringFusionChart" value="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:Documents and SettingscokimsMy DocumentsVisual Studio 2008WebSitesWebSite1FusionChartsDB.mdb" ></add>


Regards,
Rahul Kumar
Software Engineer

A byte of magic.

 
0

Other Replies To This Topic

#3 User is offline   deepvineet 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 01-April 09

Posted 01 April 2009 - 05:46 AM

I am facing the same problem which scokim is facing .



also i am using Sql Server 2005.Any help would be highly appreciable .



thanks

Deep
0

Other Replies To This Topic

#4 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1919
  • Joined: 19-March 07

Posted 01 April 2009 - 07:00 AM

Hi,



Could you please also include the FileName with extension in the path?
Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#5 User is offline   Dhruva 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 449
  • Joined: 23-March 09

Posted 01 April 2009 - 07:02 AM

Hello Deep,

Have you tried the steps as directed in the post by Rahul?

Regards,

Dhruva Ghosh
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic