1. Thomas Rolseth
  2. SnapDevelop
  3. Tuesday, 10 December 2019 20:21 PM UTC

I am trying to deploy a web api I created with SnapDevelop from a development server to a production server and am getting the attached error when calling the api.  The api uses aspnetcore v2.1.1 (via nuget) and I had the client install that on production web server using this link:

https://dotnet.microsoft.com/download/dotnet-core/2.1

 

The api works fine on the dev server.  What are the requirements for installing and configuring a SnapDevelop api on a remote web server?  To date, I just had the client do a file copy -- i.e. copy the files for the api in c:\inetpub\wwwroot from dev to prod, create an application pool, adjust bindings, etc, etc.  What steps am I missing?  Do I need to install anything else besides .netcore?  The prod web server does not have any PB-related runtimes installed.

Thanks, Tom

Attachments (1)
Accepted Answer
Thomas Rolseth Accepted Answer Pending Moderation
  1. Thursday, 12 December 2019 22:23 PM UTC
  2. SnapDevelop
  3. # Permalink

I resolved the issue by installing the .NET framework 4.7 SDK

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 12 December 2019 23:47 PM UTC
Thanks for sharing the solution!
  1. Helpful
There are no comments made yet.
Logan Liu @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 11 December 2019 05:30 AM UTC
  2. SnapDevelop
  3. # 1

Hi Tom,

You can also try the solution for error 502.5 metioned in "Publish and Host Apps Developed in SnapDevelop"?

Regards,

Logan

 

Comment
  1. Thomas Rolseth
  2. Wednesday, 11 December 2019 13:33 PM UTC
Logan,

Toward the top of that page is a list of prerequisites. SnapDevelop is not installed on the production web server in question. Do each of those prerequisites have to be installed manually then?



Tom
  1. Helpful
  1. Logan Liu @Appeon
  2. Wednesday, 11 December 2019 16:13 PM UTC
I don't think you need to install this IDE on the web server. This tutorial is about how to publish from SnapDevelop step by step.
  1. Helpful
There are no comments made yet.
paulo gomes Accepted Answer Pending Moderation
  1. Tuesday, 10 December 2019 21:46 PM UTC
  2. SnapDevelop
  3. # 2

Hi Tom,

The error 502.5 that we received was because, even copying the files to the folder

         C:\ inetpub\wwwroot\your web-api-name

we were missing an Application.

Question: after copying the files in the Client computer, did you convert the folder to an Application?

If not, you could try this:

1. Right click your web service name

2. Select "Convert to Application"

3. In the next dialog box, type the path to "C:\ inetpub\wwwroot\your web-api-name"

 

This fixed our trouble.

 

Hope it fixes your problem too.

Regards,

 

Paulo Gomes

pgomes@intervalintl.com

 

Comment
  1. Thomas Rolseth
  2. Wednesday, 11 December 2019 13:34 PM UTC
Thanks Paulo. I'm 95% sure that what you suggest has been done but am checking with client to confirm.



Tom
  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.