C# / XML / WebSvc problem

V

VJ

Here is a problem that happened about a few times, on non-development
Windows XP Tablet PC with SP2, running NET Framework 2.0 and 1.1. The
windows application invoking the web service was written/complied for .NET
2.0 and loads all 2.0 dll's from GAC, even when the below error occurs. In
case of space concerns, the Tablet has 10GB or greater of space always. Our
application at no point need more than 10MB of space. The machine is a
Compaq TC1000 Tablet, yes we know its old, a slow processor and has 256MB of
RAM. At the time of error only our application was running, memory tests
have shown our applications need no more than 25-40MB memory at peak
operation point. The web service is on our server running Windows 2003, with
IIS 6.0, and is never down at the time of error there were other machines
accessing the web service.

The code line that gave the exception - MobileService.PublicWebSvc
frmWebSvc = new MobileService.PublicWebSvc();

Why would the below happen??

System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0583: Internal Compiler Error (0xc000001d at address 5A10383F):
likely culprit is 'BEGIN'.
error CS0587: Internal Compiler Error: stage 'BEGIN'

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns,
CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings,
Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at Company.Solution.MobileService.PublicWebSvc..ctor()

VJ
 
T

Todos Menos [MSFT]

I heard that XML Web Services are being replaced by Named Pipes in the
next version; it shoudl be out next month

-Todos
 
V

VJ

How is that related to the problem I reported? Sorry I am not able to
understand what you are saying!

VJ
 
J

Jon Skeet [C# MVP]

VJ said:
How is that related to the problem I reported? Sorry I am not able to
understand what you are saying!

He's a troll - don't bother with him.
 
V

VJ

John..thanks for confirming.. I almost believed that, then after it went
through I was like, why did I fall for that

VJ
 
A

aaron.kempf

I'll make you a ****ing deal bro

you build a time machine.. and make it so that MS didn't fire me for
COMPLAINING ABOUT SQL SERVER SECURITY

and you convince Microsoft to NOT BLOCK MY POSTS

and maybe I'll stop being so obnoxious

until that time; you're MS fanboys so lick my nuts


-Anything but microsoft




Can't somebody block that user?

VJ




Here is a problem that happened about a few times, on non-development
Windows XP Tablet PC with SP2, running NET Framework 2.0 and 1.1. The
windows application invoking the web service was written/complied for .NET
2.0 and loads all 2.0 dll's from GAC, even when the below error occurs. In
case of space concerns, the Tablet has 10GB or greater of space always.
Our application at no point need more than 10MB of space. The machine is a
Compaq TC1000 Tablet, yes we know its old, a slow processor and has 256MB
of RAM. At the time of error only our application was running, memory
tests have shown our applications need no more than 25-40MB memory at peak
operation point. The web service is on our server running Windows 2003,
with IIS 6.0, and is never down at the time of error there were other
machines accessing the web service.
The code line that gave the exception - MobileService.PublicWebSvc
frmWebSvc = new MobileService.PublicWebSvc();
Why would the below happen??
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0583: Internal Compiler Error (0xc000001d at address 5A10383F):
likely culprit is 'BEGIN'.
error CS0587: Internal Compiler Error: stage 'BEGIN'
at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns,
CompilerParameters parameters, Evidence evidence)
at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
CompilerParameters parameters, Assembly assembly, Hashtable assemblies)
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings,
Type[] types, String defaultNamespace, String location, Evidence evidence)
at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings, Type type)
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at Company.Solution.MobileService.PublicWebSvc..ctor()
VJ- Hide quoted text -

- Show quoted text -
 
A

aaron.kempf

I am saying

'dont reinvent the wheel'
'dont use obsolete languages'
'dont use obsolete practices'

I'm saying **** .NET and USE VB6.

Vb6 works _GREAT_ on Vista.

Does VS 2002 work on Vista?
ROFL
 
T

Todos Menos [MSFT]

because I'm the only one to stand up to an oppressive regime?

time for REGIME CHANGE IN REDMOND!

the babies and children that are getting shot and raped in Iraq are
nothing compared to what this oppressive company does

THEY BLOCK MY POSTS!

MAY THEY BURN IN HELL, THE INFIDELS!


-Todos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top