This question is locked. New answers and comments are not allowed.
I'm having trouble using a common OA DAL referenced into a dll project.
I've had no trouble accessing this from windows, web, WPF and console apps however I'm now building an add-on for Autodesk Revit which requires a compiled dll. I've tried varoius approaches none seem to work I get the same error message. Is there a solution for this situation? Thanks.
System.Configuration.ConfigurationErrorsException: A connection string was referenced by name 'Webbim_nathanConnection' but could not be resolved through the web.config or the executables app.config file.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver.connect(ConnectionString connectionString, IDictionary driverProps, ConnectionPoolType poolType)
at OpenAccessRuntime.Relational.sql.SqlDriver.InitializeFor(ConnectionString connectionString, Boolean noConnect, PropertySet props, DBDriver& driver, Connection& conn, ConnectionPoolType poolType)
at OpenAccessRuntime.Relational.RelationalStorageManagerFactory..ctor(StorageManagerFactoryBuilder b)
at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL()
I've had no trouble accessing this from windows, web, WPF and console apps however I'm now building an add-on for Autodesk Revit which requires a compiled dll. I've tried varoius approaches none seem to work I get the same error message. Is there a solution for this situation? Thanks.
System.Configuration.ConfigurationErrorsException: A connection string was referenced by name 'Webbim_nathanConnection' but could not be resolved through the web.config or the executables app.config file.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.DBDriver.connect(ConnectionString connectionString, IDictionary driverProps, ConnectionPoolType poolType)
at OpenAccessRuntime.Relational.sql.SqlDriver.InitializeFor(ConnectionString connectionString, Boolean noConnect, PropertySet props, DBDriver& driver, Connection& conn, ConnectionPoolType poolType)
at OpenAccessRuntime.Relational.RelationalStorageManagerFactory..ctor(StorageManagerFactoryBuilder b)
at OpenAccessRuntime.storagemanager.StorageManagerFactoryBuilder.createSmfForURL()