Forum  General Visual ...  Visual WebGui v...  Security error adding images to buttons in Beta 1b
Previous Previous
 
Next Next
New Post 2/3/2010 3:29 PM
  mullaghmeen
45 posts
No Ranking


Security error adding images to buttons in Beta 1b 
Modified By mullaghmeen  on 2/3/2010 7:26:16 PM)

 Hi All,

I'm currently using Beta 1b.

I created a simple form with one button. When I run it, IT works fine.

HOWEVER, If I add a button image or if I try to add a background image to a panel, I get the following security error.

I'm running in full trust.

Any ideas anyone?

Server Error in '/' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.CheckSecurity(ParseRecord pr) +7545043
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr) +223
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr) +34
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record) +519
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum) +61
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() +253
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +168
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +203
   System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex) +7549029
   System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode) +246
   System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode) +23
   System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString) +438
   System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase) +16
   System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream) +68
   System.Resources.ResourceManager.GetObject(String name) +8
   vwg3.Form1.InitializeComponent() +459
   vwg3.Form1..ctor() +212

 

 
New Post 2/4/2010 4:09 AM
  lyudmilakislitsa
170 posts
5th Level Poster




Re: Security error adding images to buttons in Beta 1b 

Hi mullaghmeen!

We can not reproduce this problem on current Beta1c.

But you may create the most minimal sample application you can, that would reproduce this problem and send it to Support [at] VisualWebGui [dot] com with a link to this forum thread. We will check it on Beta1c.
Please also clean the solution before compressing it and reply to this post after sending, with the subject of the e-mail you send, so I would know to check for your support request.

Regards,

Lyudmila Kislitsa

QA Team Manager, the Visual WebGui team

 
New Post 2/4/2010 11:05 AM
  mullaghmeen
45 posts
No Ranking


Re: Security error adding images to buttons in Beta 1b 
Modified By mullaghmeen  on 2/4/2010 2:06:48 PM)

 I've just emailed the zipped up project now.

subject = http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/56/postid/36223/scope/posts/Default.aspx

Thanks,

Peter

 
New Post 2/7/2010 11:23 AM
  mullaghmeen
45 posts
No Ranking


Re: Security error adding images to buttons in Beta 1b 

 I've just downloaded Beta 1C and loaded the same project, but the error still occurs!

 

Peter

 
New Post 2/10/2010 9:37 AM
  ori.cohen
4383 posts
1st Level Poster




Re: Security error adding images to buttons in Beta 1b 

Hello Peter,

Could you be using a very low trust-level running your application?
Please view this issue here for details.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Visual WebGui v...  Security error adding images to buttons in Beta 1b
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS