Middle Tier deployment issue

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Middle Tier deployment issue

Post by wjstarck » Fri Dec 06, 2019 4:53 pm

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
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
wjstarck
Posts: 935
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

Re: Middle Tier deployment issue

Post by wjstarck » Fri Dec 06, 2019 8:26 pm

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
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: Middle Tier deployment issue

Post by cmcgehee » Mon Dec 09, 2019 7:40 am

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.
Chris McGehee
Open Dental Software
http://www.opendental.com

Post Reply