This is a migrated thread and some comments may be shown as answers.

Deployment Error - Could not load type 'S4SCustomersModel.EntitiesModel'

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Campbell
Top achievements
Rank 1
Campbell asked on 29 Apr 2015, 03:10 PM

Hi

I have just created a Data Access web app and run successully on my local machine both through Visual Studio (2010) and by deploying to a local website on my machine. However when I deploy to the webserver I get the following error: -

Could not load type 'S4SCustomersModel.EntitiesModel'

The S4SCustomersModel is obviously the model I created but I have no idea what is missing from the deployment that is causing this error.

Does anyone have an idea?

Thanks

Campbell

 

 

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 01 May 2015, 10:56 AM
Hi Campbell,

Thank you for contacting us.

Based on the provided information, I am unable to isolate the cause for the error. Therefore, I kindly ask you to share the following details:

1. Do you have a web application or a web site on your side?
2. If it is a web application, is it an MVC one? If so, how is the context module registered in the web.config file?
3. If it is a web site, how is the solution structured? Is the model in a separate class library in the same solution, or you refer to it from another solution?
4. What type of model do you have - an .rlinq file or a code-only model?
5. If it is an .rlinq file, its Build Action should be OpenAccessDeploy. Is that the case on your side?
6. Does the application pool on the deployment machine configured to support .NET Framework 4.0?
7. What steps do you execute in order to deploy on the server?

I am looking forward to your feedback.



Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
General Discussions
Asked by
Campbell
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or