We help IT Professionals succeed at work.






Representational state transfer (REST) is an architectural style that gives a coordinated set of constraints to the design of components in a distributed hypermedia system used to design networked applications. RESTful systems typically communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST interfaces with external systems using resources identified by Uniform Resource Identifier (URI) that can be operated upon using standard verbs.

Hi,  I have an Exchange cert expiring.  I've found articles on how to install and apply it to the services (IIS, SMTP, IMAP, POP).  

My question is how do I know that it's actually applied properly?   There are other certs on there so I'm not sure if I should delete the rest?   Are there any commands to check besides get-exchangecertificate?
A small challenge has come with the Coronapocolypse.  

Everyone is working from home.  We have good connectivity and between a solid VPN, Slack, Hangouts and gotomeeting I figured everything would be covered, but we all know how the rest of that story goes.

The challenge is the Operations group has weekly training where they used to all take a lunch in the conference room and participate in an online training class.  

Now that we are all out of the office, we still want to share the class, hopefully through an online meeting.  The problem we encounter is that while the video is shared to all participants, the audio portion is not.  All the PCs involved have the Stereo Mix icon in the recording devices, and it is enabled.  The box is checked to listen to this device, the level has been adjusted up.

In Salesforce, how do I create a Service Appointment programmaticly via Force API (SOAP or REST API)?

Are there known method calls that do this?

C# code-behind

I have linked to the WSDL can I can create ServiceAppointment objects, but they have no internal methods I can call.

ServiceAppointment sa = new ServiceAppointment();

//sa.CreateServiceAppointment(  ... params ... )  //   nothing like this exists.

Open in new window

I came across few video courses when I googled , building REST api with nodejs and mysql database .
especially in safari, udemy , lynda.

has anyone already watched one , which is worth watching?
hi my wsdl is not loading in spring boot
I had this question after viewing Looking for a new SMS provider for my PowerBuilder application.

I have been using Twilio's SMS messaging service since I originally asked the question I'm referencing.  Now my issue is that my corporate client is requiring that I deploy my application on their internal network and servers.  While my PowerBuilder code which has worked fine while running on my own server, fails to send text messages when deployed on the corporate servers, specifically because they block access to the internet and the only solution they've suggested would require the use of their PROXY server.  I know NOTHING about proxy servers and I'm looking for some help in making the required program changes to be able to utilize a proxy server to permit access to Twilio (api.twilio.com) in order to maintain this feature in my application which has become very popular with my users.

So, besides the PowerBuilder powerscript code, I had to incorporate a third party's APIs (Chilkat Software) in order to send the SMS messages.  My existing code follows:

        loo_Glob             =       create oleobject
      li_rc                   =       loo_Glob.ConnectToNewObject( struct_1.tw_global_object )
      if li_rc < 0 then
            as_response = "Connect to New GLOB Object Error: " + loo_Rest.LastErrorText
            wf_send_warning_email( as_response )      
            destroy loo_Glob
            return false
      end if

I am using ms/access and need to invoke a REST interface. I have designed a form and, within, I  did put a web browser control and tested its source with a test string. It looks perfect.

Now I need to automate the function which means that at a click of a button I need to construct a string and this string will be used as the control source of the browser. How do I do it?

thanks in advance
We have about 300 Windows servers. The local administrator account is disabled. I would like to enable the to rest the password.
Is there any ps script which you can share with me to enable the administrator account?

I am working on an application to access data via API using VB.NET.

I have so far managed to request for and retrieve a security token in the format as shown below:


I need to retrieve the "token" value and use that to access the server and request specific information.

I have created a class

Public Class SecurityToken

    Public Property Success As String

    Public Property Token As String()

End Class

And in my code, I successfully get to this point where I get the result as shown above

Dim dataStream As Stream = response.GetResponseStream()
Dim reader As StreamReader = New StreamReader(dataStream)
Dim responseFromServer As String = reader.ReadToEnd()

I am stuck at this point in trying to split the result and retrieve just the token to use in further processing.

Any help would be appreciate.

Thank you.

I have been asked to evaluate/review approximately 150 servers on our network, ranging from Server 2008 to Server 2019 list in  a spreadsheet with very limited information.   Just primary roles. (e.g. DC, DNS, RODC, SCCM Distribution Point, File and Print server, etc.)   It also lists Hyper-V, Hyper-V on workstation, etc.  

I don't have the owner information so I can't reach out to each and ask "what is this and what's it for?  The objective is to go through this giant list and label each with a "priority #" to either decommission it, upgrade the existing OS, determining the utilization of each server, apps installed, roles installed, etc.   I then need to be able to share my findings with the rest of my team so we can then determine the effort necessary to migrate, upgrade or decommission the server(s) as we look forward to our newest 2016 functional level infrastructure.  Fro example, there are 14 RODCs at branch sites, but Sites and Services is not configured properly, so that could be a priority #1 (through 5) for us.   How do you experts approach these types of tasks and projects?   What do you break things down to and label it as to what should happen to each server and where it should reside, e..g Azure.

Thanks for any information you can provide.
One of my employees has her fonts spontaneously change to Wingdings all over Filemaker.  This happens to her about 3x per week.  I've uninstalled and reinstalled Filemaker, which helped for a while, but in about 2 weeks, she started having the same problem.  Ran a malware and nothing came up.

The rest of us have only experienced it about twice in a year and rebooting solves the problem.  Ever seen this?  Any suggestions?
Hi All

I have a MS SQL script that runs a stored procedure called [Freak_APITest2] - see script code below

DECLARE @LeaderboardName		varchar		(20)
DECLARE @LeaderboardNameFull	varchar		(20) 
DECLARE @PlayerCount			varchar		(20)
DECLARE @PlayerName				varchar		(20)
DECLARE @Score					nvarchar	(20)
DECLARE @ZombiesKilled			varchar		(15)
DECLARE @Accuracy				varchar		(50)
DECLARE @DamageTaken			varchar		(20)
DECLARE @SecondsInLevel			varchar		(30)
DECLARE @Deaths					varchar		(50)

SELECT top 1 @LeaderboardName        = LeaderboardName		from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'
SELECT top 1  @LeaderboardNameFull	 = LeaderboardNameFull	from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'
SELECT top 1 @PlayerCount	 = PlayerCount					from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'	
SELECT top 1 @PlayerName	 = PlayerName					from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'	
SELECT top 1 @Score	         = Score						from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'	
SELECT top 1 @ZombiesKilled	 = ZombiesKilled				from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'	
SELECT top 1 @Accuracy	     = Accuracy						from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'		
SELECT top 1 @DamageTaken	 = DamageTaken					from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'	
SELECT top 1 @SecondsInLevel = SecondsInLevel				from ScoreBoard		where date	 = '2020-02-04 14:04:38.970'
SELECT top 1 @Deaths		 = Deaths						from ScoreBoard		

Open in new window

I need to move around 6 clients G suite to 365 Business and the rest from Go daddy Workspace email to 365 Business.

For the small amount of clients can I do the following?

1. Setup 365 Business and add users
2. Verify Domain
3. Export data from outlook to PST file
4. Change MX to point at 365
5. Reimport data from PST to outlook?
6. Cancel Subscription with Gsuite and Go daddy

Or do I need to use a migration tool ?
I am using Outlook 2016 and Outlook 2019, with Exchange Online.  When creating a recurring appointment that includes a room resource, if the room is booked for just one of those recurring appointments, the room fails to book for any of the dates.

How do I create a recurring appointment, that, if a room is booked for just one of those occasions, the rest of the occasions the room is booked - without having to create separate appointments or pull appointments out of a series, then having to rebook both the series again and the separate appointment.

I know previous versions of Exchange let you book recurring appointment resources if they were free and only warned that the busy ones couldn't be booked.
How to send String Array ( string [] )in Request Params for REST API in C#?

This does not work.

public string GetLocation(string [] myItems)

           //var item = myItems;
            var item = "[\"Alabama\", \"Texas\"]";   //Test    
            var regionCode = "South";

            var url = $"https://MyLocation.com/api/GetLocation?MySearch={ item }&region={ regionCode }";

            var httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
            httpWebRequest.Method = "POST";

            var strResult = string.Empty;

            var httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();
            using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
                var result = streamReader.ReadToEnd();
                strResult = result;

            string myMsgResult = strResult;

I am looking into developing a rest api in .net core using C#. is there a good tutorial/videos or just even pointers. my primary concern are with the tools and how I should layout the architecture. I know there is entity framework for ORM, but I would like to use dapper with mysql. also is there certain design pattern that is used or recommended like repository pattern. I have read usually specification pattern is used with repository pattern.

I don't want to make my codebase/architecture/framework to complicated and one thing I like about .net core is now we can just use what middle ware we want and also dependency injection is also inbuilt. in this light, what are few things that would be helpful to build a robust application without making it too complicated.
I set up win.interstagebpm.com with let's encrypt and I was able to get the page to go https://win.interstagebpm.com

However I tried to setup reverse proxy with nginx and by editing httpd files

However this didn't work. Also the machine ran out of disk space and had to fix that. When that was fixed https://win.interstagebpm.com was complaining that it wasn't a secure site meaning the ssl certificate wasn't being registered.
I've also uninstalled ngninx

What am I doing wrong? I would like to reverse proxy the rest of the site but the main page https://win.interstagebpm.com is not working
Hi, when I click on link "Comments" a modal popup opens up and shows content, therefore it does what it is supposed to.
Going to my issue:
In the first scenario, it happens what I want but some other code does not get implemented. In this case, I place the "@section" inside Index.cshtml and the modal popup is rendered in the middle of the page with some styling(which is what I want),  but the datatable and yadcf code above the @section does not seem to get executed(datatable filters not there).  I show this scenario in jpeg attached called "Modal Popup Centered".

On the other hand, in the second scenario, if I put the @section inside the "ViewAll" view the datatable works correctly, the modal popup come up as well, but it does not get the rest of the functionalities(like being centered and the style).  I show this second scenario in the jpeg called "Modal Popup Not Centered".

I would like to leave the code in the ViewAll view(second scenario) as this is the one related to the modal popup.  Also, when I do that the attached error comes up.  I looked the error up and it seems there may be some incompatibility?  If so, why would it work on the index page then?

Could you please help?  I spent lots of time trying to resolve the issue but was unsuccessful.

<!DOCTYPE html>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

Open in new window

I am trying to fetch some data by doing a query to Salesforce.com DB.
For that I use a REST adapter and I have to pass a query in the REST URL.

I have the following Query to pass
select AccountId, CreatedDate, ActivatedDate, (select CreatedById, from OrderItems) from Order

and I am able to successfully pass it using the following URL string

which results in the following output
    "totalSize": 1,
    "done": true,
    "records": [
            "attributes": {
                "type": "Order",
                "url": "/services/data/v20.0/sobjects/Order/XXXXXXXXXX"
            "AccountId": "YYYYYFFFFFFFFFF",
            "CreatedDate": "2019-11-22T01:30:16.000+0000",
            "ActivatedDate": null,
            "OrderItems": null

My next task is to pass the "CreatedDate" value as "2019-11-22T01:30:16.000+0000" to fetch the same output result. So I am trying to figure out how I can build the query to pass the date string with all the encoded characters ?
I am trying to change the locale of a windows 7 pro machine from English to Spanish. I downloaded the language pack, changed the region and keyboard. Went to the admin tab and copied the setting yet the menus', welcome screen, etc are still in english. The keyboard is spanish layout and when you open the browser it is in spanish....How to I get the rest to change?
I just installed a new version of server 2019 and have replaced the 2008 server that acted as the RDP server. I can connect to the 2019 server without any problem with the windows 7-10 remote desktop client. What I can't connect with is our terminal server clients that have been built with Linux (puppy) and rdesktop. They worked fine under 2008 but will not do anything (no error message or other info). I can remotely connect to any of the other servers in the building (the rest are all 2008 R2.)

I have added all of the domain users to the people who can connect list.  The restriction for Network Level authentication is turned off.

I haven't' worked with 2019 yet so I'm not coming up with any ideas of what the problem might be.

Can someone point me in the right direction for a solution?

BTW: I will not be able to get back to this until next week because they are shutting down at the end of the day until then for the holiday.

Thanks for the assist with this.


I've a query I'm building against a SQL Server, in the query, I have a TEXT column that I need to break apart, and the break has to happen at a certain delimiter(s), I'm using the String_Split function, and I'm able to capture the first LEFT characters that are to the left of the FIRST delimiter (which is a ">" symbol), but the rest of the string is my primary problem now, I have another delimiter in the string, and it's of the same type, a ">" symbol, so here's an example.
The string: nu>11BcH123>nic1, I'm getting the (nu) out, but I need to get the (BcH123) out and into its own column, and then get the (nic1) into its own column as well.

Your attention is very much appreciated.
On internal intranet the C/C++ client sends out REST-like queries via TCP/IP and receives an XML response from the Java server. If the REST query loops fetching 3 records at a time, the total time to accumulate 90000 records is about 10x longer than if we fetch 100 records at a time. We will be performing a number of timing tests to isolate the cause. In anticipation that the problem may be the slow TCP/IP start due to initial small windowing, what settings are there to tell TCP/IP to start off with the largest (or larger) window size possible?

We are on 64-bit RHEL servers, and I assume that since the client/server are run on an intranet self-contained within the company, that we do not have to be concerned about congestion.


I'm trying to populate a combobox inside of a datagridview based on what shift is selected in the Operators Filter combobox.  I've been successful in populating the top combo in the datagridview but no data is showing in the rest of the rows.

There are 4 shifts, A,B,C and D which all have operators assigned.  However on any given day an operator that normally works C shift may come in to cover for someone on A.  When I bound the combobox directly to the OperatorsBindingSource every time I would filter by selecting another shift the values already selected in the dgv would disappear because the name did not exist in the filtered binding source.  As a workaround I'm trying to handle it this way.

Here is an image of the form:
Here is the code I have so far that is only populating the top combo in the dgv:
private void GetOperators()
            string opshift = cboOperatorFilter.SelectedItem.ToString();

            DataTable opNames = new DataTable();

            var filteredOps = from row in trackingDataSet.Operators.AsEnumerable()
                              where row.Field<string>("HomeShift") == opshift
                              select row.OperatorName.ToString();

            opNames.Columns.Add("OperatorName", typeof(string));
            foreach(string str in filteredOps)
                DataRow row = opNames.NewRow();
                row["OperatorName"] = str;

Open in new window

Hi Expert,
Can you help me to find out where i'm doing mistake or how to call this and also I used  newtonsoft

Following way i have tried to Deserialize Json. The results from REST services working fine
(candidateResults) i iwll get the data.

 var jcCandidate1 = JsonConvert.DeserializeObject<List<candidateDetails>>(candidateResults);

also i tried
 var jcCandidate1 = JsonConvert.DeserializeObject<List<candidateDetails>>(candidateResults);

Open in new window

all classes  created according to Json Results. (go to Edit special paste -> select Json)

namespace TestConsolApp
    public class candidateMain
        public candidateDetails[] Property1 { get; set; }

    public class candidateDetails
        public string _id { get; set; }
        public DateTime creation_date { get; set; }
        public string email_address { get; set; }
        public string headline { get; set; }
        public string initial { get; set; }
        public string name { get; set; }
        public string origin { get; set; }
        public string phone_number { get; set; }
        public candidateResume resume { get; set; }
        public candidateSource source { get; set; }
        public candidateStage stage { get; set; }
        //public object[] tags { get; set; }
        public DateTime updated_date { get; set; }

    public class candidateResume
        public string url { get; set; }

    public class candidateSource

Open in new window







Representational state transfer (REST) is an architectural style that gives a coordinated set of constraints to the design of components in a distributed hypermedia system used to design networked applications. RESTful systems typically communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST interfaces with external systems using resources identified by Uniform Resource Identifier (URI) that can be operated upon using standard verbs.

Top Experts In