System.Web.HttpUnhandledException: Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.TypeInitializationException: The type initializer for
'Sybase.Data.AseClient.AseConnection' threw an exception.
---> System.DllNotFoundException: Unable to load DLL
'sybdrvado11.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at
Sybase.Data.AseClient.Unmanaged.AseGetDriverVersion(StringBuilder
value, Int32 capacity)
at Sybase.Data.AseClient.AseConnection.CheckVersion()
at Sybase.Data.AseClient.AseConnection..cctor()
--- End of inner exception stack trace ---
at Sybase.Data.AseClient.AseConnection..ctor(String
connectionString)
What bin? directory? If it is the ASP.NET bin I think this should work. We
find that if the DLLs (Sybase.Data.AseClient.dll and sybdrvado11.dll) are
copied to the directory where the ASP.NET page is running from this should
work. So assuming you did this, what version are the 2 DLLs?
-PV
<GG> wrote in message news:43552536.62b...@sybase.com...
Geir
> I am getting the following error.
> However I do have all the sybase dlls on the bin dir and
> added the dll path to the path enviroment. Any ideas?
>
> System.Web.HttpUnhandledException: Exception of type
> 'System.Web.HttpUnhandledException' was thrown. --->
> System.Reflection.TargetInvocationException: Exception has
> been thrown by the target of an invocation. --->
> System.TypeInitializationException: The type initializer
> for 'Sybase.Data.AseClient.AseConnection' threw an
> exception. ---> System.DllNotFoundException: Unable to
> load DLL 'sybdrvado11.dll': The specified module could not
> be found. (Exception from HRESULT: 0x8007007E)
> at
> Sybase.Data.AseClient.Unmanaged.AseGetDriverVersion(String
> Builder value, Int32 capacity)
Thanks
> Hi GG
>
> What bin? directory? If it is the ASP.NET bin I think this
> should work. We find that if the DLLs
> (Sybase.Data.AseClient.dll and sybdrvado11.dll) are copied
> to the directory where the ASP.NET page is running from
> this should work. So assuming you did this, what version
> are the 2 DLLs?
>
> -PV
>
> <GG> wrote in message
> > news:43552536.62b...@sybase.com... I am getting
> > the following error. However I do have all the sybase
> > dlls on the bin dir and added the dll path to the path
> enviroment. Any ideas? >
> > System.Web.HttpUnhandledException: Exception of type
> > 'System.Web.HttpUnhandledException' was thrown. --->
> > System.Reflection.TargetInvocationException: Exception
> > has been thrown by the target of an invocation. --->
> > System.TypeInitializationException: The type initializer
> > for 'Sybase.Data.AseClient.AseConnection' threw an
> > exception. ---> System.DllNotFoundException: Unable to
> > load DLL 'sybdrvado11.dll': The specified module could
> > not be found. (Exception from HRESULT: 0x8007007E)
> > at
> >
> Sybase.Data.AseClient.Unmanaged.AseGetDriverVersion(String
> > Builder value, Int32 capacity)
Thanks
Geir
> I only see C:\WINDOWS\assembly
> Do I manually create the folder
> C:\WINDOWS\assembly\gac\Sybase.Data.AseClient\1.1.411.0__2
> 6e0f1529304f4a7\ and Copy sybdrvado11.dll?
> To Disable Fusion GAC Viewer (Folder): My
> Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\Disa
> bleCacheViewer\ -> 1
GACUTIl /IL Sybase.Data.AseClient.dll
same for all the other DLLs. This command line utility comes with the
free 1.1 SDK, and installs a DLL into the global cache assembly. In
Dot.Net-Land, this means more than just simply copying the DLLs to the
winnt\assemblies\gac subdirectory.
Andrew
If you are still ahving trouble with this please log a case with Sybase Tech
Support - we can get all the info and figure out what is going wrong with
this.
-Paul
<GG> wrote in message news:43552536.62b...@sybase.com...
> I would try, at a command prompt:
>
> GACUTIl /IL Sybase.Data.AseClient.dll
>
> same for all the other DLLs. This command line utility
> comes with the free 1.1 SDK, and installs a DLL into the
> global cache assembly. In Dot.Net-Land, this means more
> than just simply copying the DLLs to the
> winnt\assemblies\gac subdirectory.
>
> Andrew
>
>
> GG wrote:
>
> >Still did not work.
> >We vare thinking that It may be the box so we will try to
> >move it to a brand new server
> >
> >
> >
> >>To Disable Fusion GAC Viewer (Folder): My
> >>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion\Di
> sa >>bleCacheViewer\ -> 1
> >>
> >>Geir
> >>
> >>
> >>
> >>>I only see C:\WINDOWS\assembly
> >>>Do I manually create the folder
> >>>
> >>>
> >>>
> >>>
> >>C:\WINDOWS\assembly\gac\Sybase.Data.AseClient\1.1.411.0_
> _2 >>6e0f1529304f4a7\ and Copy sybdrvado11.dll? >