PDA

View Full Version : Problems Installing Remoting for .NET


astec
12-28-2005, 08:41 PM
Hi,

I'm trying to install flash remoting for .NET on my company's web server. The installation program created the flashremoting directory as expected in the IIS webroot. I copied the directory into our web folder where we'll be using it.

After installing it I downloaded the flash components for Flash MX Professional 2004 (what we're using) onto the webserver and onto my computer where I'll be developing flash applications.

I think I must've done something wrong in the installation because when I point my browser to flashremoting/samples/asp_vb/Example1.aspx it gives me an error saying, "File or assembly name flashgateway, or one of its dependencies, was not found." I looked in the bin folder and the flashgateway.dll is there.

Could it be something to do with frconfig.txt in the bin folder?
This is what the file contains for me:

# Flash Remoting MX for .NET - Configuration File
# Each configuration property should begin on a new line using a key = value format.
#
SN=
IP=
Log Level=Error
Log File Size=1048576

Should my web server's IP address be in there or is that only for any additional servers?

Any ideas what I did wrong? We're running Windows Server 2003 and IIS version 6.
Thanks in advance.

MrKicks
12-30-2005, 01:25 AM
I too am having difficulty getting flash remoting to work on 2003. I was getting an "Unable to create webservice proxy" error and pieced together the following:

1. I reinstalled .net SDK
2. Added the paths to wsdl.exe and csc.exe to the enviroment variables 'Path'
3. Gave the ASPNET account write access to the BIN directory

I am not sure which combination of these did the trick but it is working now and I am happy!!!

Just to gey it in writing for others searching, after adding the wsdl.exe to the
enviroment variables I was getting a "The system cannot find the file specified" error, a proxy cs file was being created but no dll, after adding the csc.exe to the Path it all fell into place!!!! Oh, too long I have spent trying to get this remoting working, now I have to go back and try to undo all the fix attempts that didn't work then I can start playing with my new remoting toys!!!

MrKicks
www.ladesignstudio.com