Ask a Question related to ASP.NET Security, Design and Development.
-
Matt #1
Problem calling gdi32 from ASP.NET via Xsl
I have a component that makes call to gdi32 through a DLLImport. This call
is failing with the following exception:
gmCompose.buildFeatureCollection()(17||Error [Request for the permission of
type System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed.], [ at
System.Security.SecurityRuntime.FrameDescHelper(Fr ameSecurityDescriptor
secDesc, IPermission demand, PermissionToken permToken)
at System.Security.CodeAccessSecurityEngine.Check(Per missionToken
permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32
checkFrames, Int32 unrestrictedOverride)
at System.Security.CodeAccessSecurityEngine.Check(Cod eAccessPermission
cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.Drawing.Graphics.ReleaseHdc(IntPtr hdc)
at CMT.Compose.addElementToFeatures(ArrayList& Features, String FontFace,
Int32 FontSize, String Delimiter, Int32 Rank, String Value, String Name,
Int32& HighestRank)
at CMT.Compose.buildFeatureCollection(XmlNode xmlParagraph, Hashtable
htParaStyle, ArrayList& alFeatures, Int32& HighestRank, Hashtable&
htElements)]
This works on two machines here, but not on two others. I have looked for
commonality between OS, .NET Security Config, user permissions,
machine.config processModel usernames, etc...
The Compose object is created in the web's .NET code behind, and passed into
an Xsl document as a parameter. The contents of the Xsl doc then call the
various methods of the component. The Compose class itself generated the
above error. Any help would be appreciated!
Matt Guest
-
Flash calling asp problem
hi, I have got to send sth by ASP in Flash. I wrote some code but this doesnt work. Do anyone know what wrong? This is what i am writing on... -
getURL problem when calling by IP
Hello all, I have the following code associated with a button in my movie: ... -
Problem Calling web service from ASP
I am getting an internal error (500) when I call my web service from an ASP script. If I put the http line into the browser it returns the correct... -
Problem calling a COM object within my webservice - please help....
Hi, If anyone can help me identify the problem here I would be great! Here are the details: I create a Windows based .NET application that... -
Timeout Problem of calling the webservice
hi all, I have made a dll hosted in the IE. It calls the web service to retrieve the data. There is a problem that calling the web service, it...



Reply With Quote

