Hi,
I'm trying to test my installation of the Flash Remoting server components by
using the installed example at:
http://localhost/flashremoting/samples/webservice/
But when I click the "Verify Credit Card" button, I get the following error
message:
"File or assembly name ExampleWebService.dll, or one of its dependencies, was
not found."
I've used the Process Explorer from Sysinternals.com to look at what's going
on and it seems to be running two commands:
1. "wsdl.exe" /nologo /o:ExampleWebService.cs
http://localhost/flashremoting/samples/webservice/ExampleWebService.asmx?wsdl
This works and generates the ExampleWebService.cs file.
2. "csc.exe" /out:ExampleWebService.dll /t:library ExampleWebService.cs
In theory the above should generate the corresponding DLL file, but it doesn't
- and I can't see why not. It runs as the MACHINENAME\ASPNET user which has
full permissions on the BIN folder. If I run that command manually, it
correctly generates the DLL and the flash example 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?
Has anyone got any ideas on how to debug this problem or how to get it working?
Thanks,
Nick....
nmg196 - 26 Oct 2004 12:37 GMT
We've done 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
Unfortunately the flashgateway.dll file is very badly written and throws away
all errors that occur with csc.exe so it took quite a long time to find this
error using a debugger.
I can't work out what this error means. I expect it relates to the extraneous
characters on the front of the path.
Any ideas?
Nick...
jbogdany - 21 Feb 2005 15:27 GMT
I complied ExampleWebService.cs manually and it worked as well. Has anyone figured out why this is happening/ long-term fix?