1. Gimmy Susan
  2. PowerBuilder
  3. Wednesday, 4 July 2018 12:04 PM UTC

when i try to test my ws from powerbuilder it say me:

 

 

 

 

 

Errore server nell'applicazione '/progenamws'.


Errore del parser

Descrizione: Errore durante l'analisi di una risorsa necessaria per soddisfare la richiesta. Rivedere i dettagli relativi all'errore e modificare in modo appropriato il file di origine.

Messaggio di errore del parser: Impossibile creare il tipo 'cns_progenamws.PBWS__nc_progenamws_interface'.

Errore nel codice sorgente:
 

Riga 1:  <%@ WebService Language="c#" Codebehind="progenamws.asmx.cs" Class="cns_progenamws.PBWS__nc_progenamws_interface" %>


File di origine: /progenamws/nc_progenamws_interface.asmx    Riga: 1
 


Informazioni di versione: Versione di Microsoft .NET Framework:4.0.30319; Versione di ASP.NET:4.7.2634.0 

Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 4 July 2018 12:41 PM UTC
  2. PowerBuilder
  3. # 1

Hi Gimmy,

hard to help with only that info.
You mention "project object", so it looks like you are trying to create WS proxy. 
Did you create the WS from PB or is it from outside source?
Can you access the WSDL?
Does the proxy generation complete just fine in PB?
Are you running on a dev or prod machine?
What is the code you are trying to run?
Do you have proper permission to access the WS?

Best,

.m

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 4 July 2018 13:46 PM UTC
Mi Marco.



( quite stange to answer you in english ... ;)  )



>> Did you create the WS from PB or is it from outside source?



I create it in PB



>> Can you access the WSDL?



Yes



>> Does the proxy generation complete just fine in PB?



Yes



>> Are you running on a dev or prod machine?



Dev. machine ( Windows 7 + PB2017r2)



>>What is the code you are trying to run?



I write a WS with Chris Pollach framework and It works fine on my PC ( windows 10 + PB2017r2). If i try to work in another machine ( a collegue ) it gives me the error. 



>> Do you have proper permission to access the WS?



i think yes. The WS is creates from that user.



 



G.

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 5 July 2018 14:28 PM UTC
  2. PowerBuilder
  3. # 2

Hi Gimmy;

 If the WS dies in the "interface" object, it usually means that there is something missing or mismatched version wise. When you install the WS on another PC did you ...

  • Install the PB classic runtime via the PB Packager utility?
  • Install the PB.NET runtime via its MSI?
  • Install the WS to the same IIS folder location that you used in DEV?
  • Create the same PBDotnet4AppPool IIS application pool & settings as in your development environment?

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.