Whenever you try to deploy a webservice created using PowerBuilder, you get the following error message on your output painter: “Unknown error when invoking pbwsemit.exe”. In this post i show how to solve it.
Here’s a sample of the output with this error:
When I deploy the project, The PowerBuilder report the ---------- Deploy: Deploy of p_webservice (14:23:30) Checking IIS server... Generating .NET assembly file... Generating PBD files... Generating Web service .asmx and .disco files... Deploy failed. ---------- Finished Deploy of p_webservice (14:23:47) ---------- Error messages: (14:23:47) Unknown error when invoking pbwsemit.exe. ---------- Finished (14:23:47)
No matter how you play around with the webservice project, no matter what features you use, your deploy always finishes with this error.
As far as I know, this problem happens because your source code is in a network drive. Even if the network drive is mapped locally, this error will occur. That being the case, to deploy your project you must make a copy of it to a local drive and then deploy your project.
I hope that helps.
The following two tabs change content below.
Software Architect and Backend Developer (almost Fullstack), I usually work with C#, PowerShell, Python, Golang, bash and Unity (this one is more for a hobby). I'm always looking for something new to learn, adding new tools to my utility belt.
Latest posts by Breno RdV (see all)
- What is a metaclass and how it works. (#python #dev #metaclass) - January 11, 2023
- Understanding the magic of Generators. (#python, #dev, #generator, #iterator) - December 28, 2022
- Facebook comments on posts. (info) - June 23, 2020