question

t8eo-9349 avatar image
0 Votes"
t8eo-9349 asked ·

Visual Studio 2019 cannot connect to Biztalk 2020 Server on different machine

I have installed Visual Studio 2019 and Biztalk Server 2020 in a Windows 10 Pro VM (Hyper V). The Biztalk project in Visual Studio can see the Biztalk without problem. Trying to use the Visual Studio 2019 on my Windows 10 Pro PC (not in VM) and the Biztalk Server 2020 in the VM then the Biztalk Visual Studio project cannot connect to Biztalk. In the project properties in the deployment tab I fill correctly the server but in the configuration Database says "The target principal name is incorrect. Cannot generate SSPI context.". I have disabled the firewall on my pc and on the VM without result. Also I mention that I am not in domain. So I can only do the development in the same VM with the Biztalk Server. Is any solution to this? Thank you

biztalk-server-all
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

64954-biztalk-error.jpg



Here is a screenshot.
I can connect to VM Biztalk database from the pc with management studio (outside of VM) and TCP is enabled on Bizalk VM.
The account on the VM is not the same with the account on the PC, actually are different windows installations with different computer name and are not in domain.

0 Votes 0 ·
biztalk-error.jpg (48.6 KiB)
KamleshKumar avatar image
0 Votes"
KamleshKumar answered ·

Dear member,

Thank you for posting your question on the Q&A platform.

Need clarification here, what do you mean by "Biztalk Visual Studio project cannot connect to Biztalk", is it possible to share the screenshot of the working configuration and not working error?

Here I would suggest a couple of things that you can check,

  1. Check if you are using the same account or the account that use for VS have access to BizTalk VM as well.

  2. Check if you are able to connect BizTalk databases from your local machine where Vs is installed.

  3. Check if TCP/IP is enabled on BizTalk VM.

Regards,
Kamlesh Kumar

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ColinDijkgraaf avatar image
0 Votes"
ColinDijkgraaf answered ·

It has never been possible to use Visual Studio to deploy to a BizTalk Server apart from the local one.

If you want to deploy to a different BizTalk Server you need to create a MSI, either by exporting it from the local server or using BTDF or other build process, and running that MSI against that server.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.