Middle Tier deployment issue

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

Middle Tier deployment issue

Post by wjstarck » Fri Dec 06, 2019 5: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
TX, USA

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

Re: Middle Tier deployment issue

Post by wjstarck » Fri Dec 06, 2019 9: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
TX, USA

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

Re: Middle Tier deployment issue

Post by cmcgehee » Mon Dec 09, 2019 8: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