Webservice stub class not compiling
From: Nick Gilbert (news_at_nickgilbert.com)
Date: 10/26/04
- Next message: Mike: "web service error trapping"
- Previous message: DotNetJunkies User: "error when I run my web service"
- Next in thread: Dino Chiesa [Microsoft]: "Re: Webservice stub class not compiling"
- Reply: Dino Chiesa [Microsoft]: "Re: Webservice stub class not compiling"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 26 Oct 2004 13:20:46 +0100
Hi,
I'm having problems using Flash Remoting with Web Services for ASP.NET
and I've narrowed the problem down to csc.exe when it tries to compile
the stub class.
Flash Remoting (flashgateway.dll) is calling the following command line
to compile the stub class:
"csc.exe" /out:ExampleWebService.dll /t:library ExampleWebService.cs
If I run that command manually, it correctly generates the DLL and the
application works, so why can't it generate the DLL file when it
compiles it automatically? What's the difference between me running it
from the command line and Flash running it as the ASPNET user?
We then did some more research and have found that csc.exe is producing
the following error while trying to compile the file:
fatal error CS2021: File name
'\\?\C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.rsp...' is too
long or invalid
I've searched for this error everywhere and I can't see that anyone else
has ever encountered it. I've even tried reinstalling .NET in case my
installation was messed up. Where is csc.exe getting the above string
from? (ie where do I look to fix it, and what should it be?)
I can't work out what this error means. I expect it relates to the
extraneous characters on the front of the path but I don't know why
that's happening or why those characters are there.
Do you know how I can fix this problem?
Thanks,
Nick...
- Next message: Mike: "web service error trapping"
- Previous message: DotNetJunkies User: "error when I run my web service"
- Next in thread: Dino Chiesa [Microsoft]: "Re: Webservice stub class not compiling"
- Reply: Dino Chiesa [Microsoft]: "Re: Webservice stub class not compiling"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|