Page 1 of 1

Middle Tier deployment issue

Posted: Fri Dec 06, 2019 4:53 pm
by wjstarck
I have my plugin working with Middle Tier on my development machine. But when I try to deploy it to my live machine with https I get

Code: Select all

Server Error in '/OpenDentalServer' Application.

Parser Error 
  Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

 Parser Error Message: Could not create type 'OpenDentalServer.ServiceMain'.

Source Error: 

Line 1:  <%@ WebService Language="C#" CodeBehind="ServiceMain.asmx.cs" Class="OpenDentalServer.ServiceMain" %>

 Source File:  /OpenDentalServer/ServiceMain.asmx    Line:  1 
Not sure how to fix that

PS: Not sure if it matters, but its running on an AWS instance

Re: Middle Tier deployment issue

Posted: Fri Dec 06, 2019 8:26 pm
by wjstarck
NVM.

Had to move files to the bin folder and now everything works.

I moved all the OD files there though. Is that correct, or should it just be certain files?

Thanks

Re: Middle Tier deployment issue

Posted: Mon Dec 09, 2019 7:40 am
by cmcgehee
You don't need all OD files, only ones that the OpenDentalServer project use. If you build just that project and go to its bin folder, those are the files you'll need to copy to your live machine's bin folder.