Deploying application to Partially Trusted environments


Author
Message
Charles Thomas Blankenship...
Charles Thomas Blankenship
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
Has anyone successfully deployed a StrataFrame application to a Partially Trusted environment like the hosting site 1and1 provides?

I'm getting error after error that states "System.Security.SecurityException: That assembly does not allow partially trusted callers."

I solved the problem for the infragistics controls as they ship a specially compiled version that has the AllowPartiallyTrustedCallersAttribute (APTCA) attribute for the assemblies set to True. 

I added the following line of code to StrataFrame Business and DBEngine assemblies (AssemblyInfo.vb) recompiled and the copied the new version up. 

I then added the following lines of code in the BO Library assembly and copied that up as well.  Nuttin doin.  So, I began to wonder if anyone has successfully deployed a StrataFrame application to a Partially Trusted environment and what you had to do to get the job done.

Thanks,

CTBlankenship

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com

Guillermo Vilas
Guillermo Vilas
StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)StrataFrame User (192 reputation)
Group: StrataFrame Users
Posts: 112, Visits: 2.3K
Hi

I use 1and1 as my first Host provider, they not only have partial trust configuration schema they used a whole tight environment that is mostly impossible to develop real world web application without buy a dedicated server (even dotnetnuke is hard to configure, throwing security exception all the time). The project I'm working on will be hosted on another provider for sure.



Just my two cents

------------------------------------------------------------------------
I would like to change the world, but they don´t give me the source code.
MS Windows 7 Ultimate 64-Bit
Intel(R) Core(TM)2 Quad CPU Q9300 2.50 GHz
6.00 GB of RAM, NVIDIA GeForce 9800 GT

MacBook Pro i5 OSX Lion
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search