473,725 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

XMLSerializatio n: Sometimes csc.exe freezes on the PermissionSet

I use the xmlserializatio n on asp.net pages and on previous machines it never
gave a problem.
But now i somethings get a:
Timed out waiting for a program to execute. The command being executed was
"c:\winnt\micro soft.net\framew ork\v1.1.4322\c sc.exe" /noconfig
@"C:\DOCUME~1\. ..\ve3y0f-a.cmdline"

error. It happens at random but occurs mostly when calling the
XMLserializatio n multiple time rapidly.
While looking at the .out file the error displayed is:
error CS0647: Error emitting
'System.Securit y.Permissions.P ermissionSetAtt ribute' attribute --
'Unspecified error '

It occures at the this line in the .cs file:

[System.Security .Permissions.Pe rmissionSet(Sys tem.Security.Pe rmissions.Secur ityAction.LinkD emand, Name="FullTrust ")]

The csc.exe process hangs and stays in the task manager and the files he
created (.out, .err, .cs, .cmdline and a 0Kb dll) stay in the ASPNET temp
directory until i kill the process. The webapplication hangs also.

Could anybody give me a clue of what causes this problem and how to fix it.
I think it has something to do with getting the permissions.

Thank in advance.
Nov 18 '05 #1
0 2054

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3453
by: STom | last post by:
I have just started reading up on XMLSerialization and still do not understand the practical use of this technology. For example, if I have to know the class type on the client and on the web service side, wouldn't it be easier to just use .Net remoting? I envision some point of passing over the XML document but the web service not really knowing about the objects type. Am I way off base with my perceptions?
4
4009
by: pfrisbie | last post by:
I am developing a Web Services interface with C# and our partner is using Java (Axis 1.1). They require me to include xsi:types in the SOAP Messages I send them. For example: <Partner xmlns="urn:partner.xxxxx.com"> <RequestID>239</RequestID> <TimeStamp>2006-03-06T17:10:51.4662331-06:00</TimeStamp> <Subject xmlns:ns1="urn:partnermapping.xxxxxx.com" xsi:type="ns1:PartnerMapping"> <AccountID>98401</AccountID>
3
1711
by: Executor | last post by:
I have created a user control which I would like to use in other projects. When I try to create an instance on a form in an other project I get an error message. This is the AssemblyInfo.cs of my control: using System; using System.Reflection; using System.Runtime.CompilerServices;
0
2607
by: Marcin Szarek | last post by:
Hi! For a few months we suffer mysterious problem with Oracle 10g RAC (more details on server configuration at the bottom). At regular basis (every 5 minutes) nodes of our cluster "freeze" - during couple of seconds operating system for some mysterious reason does nothing - as far as we're concerned - in userspace. Every single userspace process stops for this period. After a few seconds system comes back to life and all suspended...
3
6989
by: LW | last post by:
Hi! I am getting the following error message for my fairly simple web service. I have classes and have two DataSets that reference the same classes. The error is: The XML element named 'GetCustNoResponse' from namespace 'http://mydomain/' references a method and a type. Change the method's message name using WebMethodAttribute or change the type's root element using the XmlRootAttribute.
1
3961
by: Frank | last post by:
Hi, Let's say I have a file named myFile.xml Within that file I have blocks of data which I'd like to add at different times during the day. e.g. <LogEntry>
8
6003
by: Lysander | last post by:
I am new to Access 2003 and am running it on Win XP Pro. Quite often, when I open a database (no startup code) the system freezes. It can take up to 5 mins before I get my cursor back and the database responds. I get a similar problem saving a form. I have edited 5 forms and then saved them and have had time to leave the office, make a cup of coffee, come back, and it is still saving. This is happening on 3 different computers, 2 at...
4
1848
by: JvC | last post by:
Background: I have a customer running a front end/back end Access 2007 database. Normally, there are 3 users, and occasionally there are 4. Back end database is located on a straight PC running Windows XP Professional. It no keyboard/monitor, and is only used by 1 remote user, using LogMeIn. That PC has an Intel Dual Core processor, 4 GB RAM and a 160 GB SATA drive that is about 1/2 full. The clients computers vary in age, but all have at...
0
3962
by: IanWright | last post by:
This is a little bit more of an advanced topic for serialization. For those who don't know what XML serialization is, then this probably isn't for you just yet. For those that do, you may have come across the problem of serializing an interface, something that you simply can't do using the standard XmlSerialization techniques. This articles looks at how to do that, although it might be a little length. Lets take the following problem: ...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.