Showing posts with label dll. Show all posts
Showing posts with label dll. Show all posts

Saturday, February 25, 2012

"Can't find PInvoke DLL 'dbnetlib.dll'."

every time when I opened the connection from my windows CE4.2 device to sql server I got the error "Can't find PInvoke DLL 'dbnetlib.dll'.

My OS is MS CE4.2, I've installed Compact Framework 2.0 and SQL client. It worked fine at OS CE5.0 but not at CE4.2. My application is working correctly, but when I started the connection I received this error.

Any idea?

thanks, Jan

If you indeed have SQL Client installed properly, I would guess some dependencies required for it to function are missing from the OS image. Contact device OEM for help.

Saturday, February 11, 2012

#Error on access to NON custom assembly

Hi!
I am trying to access the dll called Microsoft.SharePoint.dll and the the
specific class Microsoft.Sharepoint.Utilties.SPEncode but when deploying I
get the same error as everyone else in this newsgroup.
Since I am not using my own Dll I have a hard time adding some of the stuff
required. Does anybody have an idea of how to access these "common"
dll?(everything is fine in design mode)
Calling the function like this
=Microsoft.SharePoint.Utilties.SPEncode.HtmlDecode(fields...)
BR,
ErikI'm getting the same problem just using System.Web... In Visual Studio it
works fine (I'm using System.Web.UrlEncode) but I get #Error on the
webserver!?
System.Web should be in the GAC so I don't see why its causing a problem?
cheers,
Simon
"Erik" <Erik@.discussions.microsoft.com> wrote in message
news:47FE8F2D-5EA3-4DAA-A579-AF908B11D036@.microsoft.com...
> Hi!
> I am trying to access the dll called Microsoft.SharePoint.dll and the the
> specific class Microsoft.Sharepoint.Utilties.SPEncode but when deploying I
> get the same error as everyone else in this newsgroup.
> Since I am not using my own Dll I have a hard time adding some of the
stuff
> required. Does anybody have an idea of how to access these "common"
> dll?(everything is fine in design mode)
> Calling the function like this
> =Microsoft.SharePoint.Utilties.SPEncode.HtmlDecode(fields...)
> BR,
> Erik|||Found an answer -
Go to C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer
Edit web.config
Change
<trust level="RosettaSrv" originUrl="" />
to
<trust level="Full" originUrl="" />
"Anonymous Poster" <anon@.microsoft.com> wrote in message
news:uV9uVaFiFHA.3164@.TK2MSFTNGP15.phx.gbl...
> I'm getting the same problem just using System.Web... In Visual Studio it
> works fine (I'm using System.Web.UrlEncode) but I get #Error on the
> webserver!?
> System.Web should be in the GAC so I don't see why its causing a problem?
> cheers,
> Simon
>
> "Erik" <Erik@.discussions.microsoft.com> wrote in message
> news:47FE8F2D-5EA3-4DAA-A579-AF908B11D036@.microsoft.com...
> > Hi!
> > I am trying to access the dll called Microsoft.SharePoint.dll and the
the
> > specific class Microsoft.Sharepoint.Utilties.SPEncode but when deploying
I
> > get the same error as everyone else in this newsgroup.
> >
> > Since I am not using my own Dll I have a hard time adding some of the
> stuff
> > required. Does anybody have an idea of how to access these "common"
> > dll?(everything is fine in design mode)
> > Calling the function like this
> > =Microsoft.SharePoint.Utilties.SPEncode.HtmlDecode(fields...)
> >
> > BR,
> > Erik
>