Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Can't 'Generate'

$
0
0
Re: Can't 'Generate'
Web Service Proxy Generator
Re: Can't 'Generate'
Nov. 21, 2012
09:56 pm
3NE1B129SShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Russell
Hi Russel,

I was able to duplicate the behavior you describe, but only when running from within VFP (ie. running hte EXE from the FoxPro IDE).

The problem is that you need to run as a full administrator in order to write the files out to disk. If you start the EXE it should prompt you for User Account Control permissions and if you say Yes then it should work.

If you have a slightly older version the auto-prompting doesn't happen and so you have to explicitly 'Run As Administrator'. Go into the Explorer and right click on the EXE and then 'Run As Administrator'.

Re: Screen Dumps. No, except when using the message reader...

+++ RIck ---



Hi all,

For some reason, all of a sudden, I can't get "Generate" to work.

The "Resolve" part is picking up the WSDL ok but on "Generate" I am getting various (well, two so far) errors.

For example, when trying to "Generate" for "http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL" I get:

"OLE IDispatch exception code 0 from mscorlib: Could not find file 'c:\program files\west wind web service proxy generator for visual foxpro\generated\weatherproxy.cs' ..."

On the Web Store Service I get an error begininng with:

"Service Generation Failed"
"Compilation Error: c:\Program Files\West Wind Web Service Proxy Generator for Visual FoxPro\Generated\WebStoreServiceProxy.cs(25,1): error CS1529: A using clause must precede all other namespace elements except extern alias declarations"

The "Compilation Error" part is repeated for (26,1), (27,1) and (28,1) and the final error line is:

"c:\Program Files\West Wind Web Service Proxy Generator for Visual FoxPro\Generated\WebStoreServic"

I've tried this now on 3 PCs - it fails on two of them and works on another.

Can anyone help me with this please?

For future reference, is there any way to upload screen dumps of errors to this Message Board?

Thanks,

Russell.




Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles