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
>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment