473,468 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

XMLSerialization: Sometimes csc.exe freezes on the PermissionSet

I use the xmlserialization 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\microsoft.net\framework\v1.1.4322\csc.ex e" /noconfig
@"C:\DOCUME~1\...\ve3y0f-a.cmdline"

error. It happens at random but occurs mostly when calling the
XMLserialization multiple time rapidly.
While looking at the .out file the error displayed is:
error CS0647: Error emitting
'System.Security.Permissions.PermissionSetAttribut e' attribute --
'Unspecified error '

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

[System.Security.Permissions.PermissionSet(System.S ecurity.Permissions.SecurityAction.LinkDemand, 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 2033

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

Similar topics

2
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...
4
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...
3
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...
0
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" -...
3
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...
1
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
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...
4
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...
0
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
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 ...

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.