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. 22, 2012
11:40 am
3NF0P14HOShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Russell

If your computer is locked down and you're not running as a full admin account you don't have read/write access in the 'generated' folder - so while the generator works it's unable to create the required output files in that folder.

So this is a requirement. As far as I know that should never have worked unless you did have permissions. You can assign full access rights to the Proxy Generator folder to your user account and htat should also do it, but you'll need admin permissions for that as well I think.

Another option - you can install the application into your My Documents folder (where you do have permissions to read/write) instead of the default folder in Program Files and that might make it work.

Welcome to Windows security :-(

+++ Rick ---


Hi Rick,

I can't get this to work. I've sent you a screen dump including the EXE/DLL/PRG files I have, the error message etc.

This is not very convenient but if I "Generate" stuff on the single PC I can get this to work on, can I then copy all the required files (which ones and where?) to another PC and have it work?

Regards,

Russell.


Russell,

In addition to the comments from the last message, you might also download the latest version. I just updated the files, and I think the auto-elevation to administer requirements previously weren't in the shipping version.

Probably safest bet to re-download.

And I double checked that everything against your service and it works fine (but then it worked fine for me before as well <shrug>). I'm able to generate the Weather service and retrieve content from it.

+++ 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