Discussions tagged SnapDevelop
.NET Datastore retrieve and subsequent SqlExecutor call to use same connection
- Resolved
- How-to
- Last updated 1 week ago
- Dan Harrel replied 5 days ago
I am having an interesting problem writing a .NET Core 3.1 API using SnapObjects to connect to SQL Anywhere via ODBC. The problem has to do with when database connections are made and released.
The SQL Anywhere database I am using has long been in...
Cannot debug C# application in SnapDevelop 2019 R3
- Issue
- Last updated 2 months ago
- Logan Liu @Appeon replied 2 months ago
I installed PB 2019 R3 within the past few days. I can now run (no debug) my ASP.NET Core 3.1 Web API, however I get an error when I try to debug it: "Start debugger failed. Process started but no CoreCLR found". Please see the attached screen prin...
Securing a SnapDevelop ASP.NET Core 3.1 Web API
- Resolved
- How-to
- Last updated 2 months ago
- Armeen Mazda @Appeon replied 2 months ago
Are there any samples or guidance for securing a ASP.NET Core 3.1 Web API as templated by SnapDevelop?
For example, I am working from the following fine sample:
ASP.NET Core 3.1 - Simple API for Authentication, Registration and User Management | ...
CRUD Operations with .NET DataStore
- Resolved
- How-to
- Last updated 2 months ago
- Logan Liu @Appeon replied 2 months ago
Hello,
I started to work in PowerBuilder 2019 R3 working on the example https://docs.appeon.com/dwconverter2019r3/CRUD_Operations_with_.NET_DataStore/index.html#introduction CRUD Operations with .NET DataStore, I did all step until the test the Retr...
SnapDevelop 2019 R3 Beta 2 - Problem with SnapObjects.Data.Odbc
- Resolved
- Issue
- Last updated 3 months ago
- Arnd Schmidt replied 3 months ago
I am trying to access an SQL Anywhere Database via ODBC, but it fails.
Via Nuget I can see only a SnapObjects.Data.Odbc Version 2.1.0, but not a Version 3-0-0-beta2.
While I am using this 2.1.0 (old?) version, the build-in Server throws the followi...
SnapDevelop SQL Server DB connection
- Resolved
- How-to
- Last updated 4 months ago
- Matthew Balent replied 4 months ago
I'm unable to set up a new database connection to my local instance of SQL Server from within SnapDevelop 2019 R3 Beta. I only get the following message:
"A network-related or instance-specific error occurred while establishing a connection to SQL...
.NET DataStore and Visual Studio
- Resolved
- Misc
- Last updated 4 months ago
- Armeen Mazda @Appeon replied 4 months ago
Hi,
I understand that we can open a SnapDevelop project in Visual Studio.
Is there a PowerBuilder licence needed on a PC with Visual Studio using project with .NET DataStore?
Thanks,Marcin...
Getting Error Details from SelectProcedure?
- Resolved
- Advice
- Last updated 5 months ago
- Daryl Foster replied 5 months ago
Hi, I'm using the SnapObjects SelectProcedure function in a web api and I want to know how to catch an error that occurs in the stored procedure (from a RAISERROR command in the stored procedure.) The SelectProcedure works ok and fills my model with...
How to Sort by multipe columns (IDatastore.Sort)
- How-to
- Last updated 6 months ago
- Ramón San Félix Ramón replied 6 months ago
In my PowerBuilder applications I order the datawindow with various parameters as in the following example ...
dw_1.SetSort("param1 a, param2 a, param3 a")
dw_1.Sort()
In SnapDevelop I see Sort Method, but I don't know how to order multiples p...
Error a Convertir Datawindow en snapdevelop
- How-to
- Last updated 6 months ago
- armando herrera @Appeon replied 6 months ago
{KomentoDisable}xxss
Buenas tardes,
alguien que me ayude, indicándome porque al convertir el datawindow en snapdevelop me esta dando este error:
...
SnapDevelop Database Connection bug
- How-to
- Last updated 7 months ago
- armando herrera @Appeon replied 7 months ago
Hi, everybody.
I got a question about how to connect into a Database with Database Connection option, I follow the steps but it never shows me the database from my own, just System Database like Master, Model, Msdb etc...
There is something I can d...
Hi Guys
I've followed the steps on this tutorial:
https://docs.appeon.com/snapdevelop2019/Secure_a_Web_API_with_JWT_Token/index.html
But I get always 401 Unauthorized when I try to call the API (After successfull login)
Any hints?
In attachment ...
I search in options->Environment AutoRecover or AutoSave but didn't find !
In VS 2019 in Environment have AutoRecover....
SnapDevelop Connection Reference Database Parameters
- How-to
- Last updated 9 months ago
- Ramón San Félix Ramón replied 8 months ago
Hello, in my PowerBUilder application I use Sql Native Client to connect to Microsoft SQL Server.I use this Parameters:
SQLCA.DBMS = "SNC SQL Native Client (OLE DB)"
SQLCA.LogPass = "serverpassword"
SQLCA.ServerName = "server\instance"
SQLCA.Lo...
Unit Testing Issue: DataObjectFactory.LoadDataWindow
- Resolved
- Issue
- Last updated 9 months ago
- Logan Liu @Appeon replied 9 months ago
We were using DataObjectFactory.LoadDataWindow(null) in the startup class of our xUnit project for our API. I've discovered that our unit tests referencing datawindows are no longer working with an error message stating that the metadata for the dat...
Hi,
We have developed a SnapDevelop WebApI using 2019 R2.
When I deploy it to IIS in this case on the same machine (windows 10) where we developed it, I get the error
below while accessing it:
We have made sure all permissions are availab...
SnapDevelop handling complex return types for call to C#
- How-to
- Last updated 9 months ago
- Govinda Lopez @Appeon replied 9 months ago
So I have a C# dll I am already calling from PowerBuilder by compiling it as an Active/X control. Most calls return a class containing a number of variables and the PowerBuilder .Net Dll Importer can't handle these, ignoring them completely.
So this...
I have been playing with SnapDevelop. I have a dll I wrote in C# .NET Framework Standard which fails to compile after opening the solution in SnapDevelop, even though it works just fine in Visual Studio 2017 and 2019. The error is gives is:
Please c...
In VS 2019 in menu Edit have Paste Special -> Paste Json/XML As Classes.
I can't find this functionality in SnapDevelop ?!...
Populating datapacker with AddModelStore
- Resolved
- Issue
- Last updated 9 months ago
- Logan Liu @Appeon replied 9 months ago
We are replacing instances of the deprecated SelectToStore() method in our web api. In the code below (line 2) we switched 'SelectToStore' to 'Select'. However, we now get an error on the last line. The error is attached. What is the proper synta...
- Page :
- 1