New Posts New Posts RSS Feed: Deploy of IIS EntityServer error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Deploy of IIS EntityServer error

 Post Reply Post Reply
Author
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Topic: Deploy of IIS EntityServer error
    Posted: 21-Jan-2013 at 9:52am
If you're using pure POCO entities and don't have a Code First or database-generated model, you're right that there won't be a license for DevForce to find at runtime.  Installing DevForce adds the license to the registry, which DevForce will check as a fallback if a license isn't found in a model assembly.   If you don't wish to install DevForce you can instead generate a stub model with license information.  PM me if interested in this option.
Back to Top
-ook View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Aug-2007
Location: Australia
Posts: 41
Post Options Post Options   Quote -ook Quote  Post ReplyReply Direct Link To This Post Posted: 20-Jan-2013 at 9:35pm
It appears to be related to the licesne. I had to run the DevForce installation on the web server in question and it has worked. I am using POCO classes and there is no database at all involved, I suspect the license has not embedded itself in the Model class.
Back to Top
-ook View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Aug-2007
Location: Australia
Posts: 41
Post Options Post Options   Quote -ook Quote  Post ReplyReply Direct Link To This Post Posted: 20-Jan-2013 at 7:53pm
Hello
 
I have created a simple EntityServer project and deployed it to a remote server as per the instructions found on this web site. However when attempting to obtain data from the deployed instance I recieve the following error:
{"Content Type application/x-gzip was not supported by service /AppDataService/EntityService.svc">http://<servername>/AppDataService/EntityService.svc.  The client and service bindings may be mismatched."}
 
I have deployed then deployed to my local machine using the same instructions and there are no errors, also the development instance (on port 9009) works fine too. The remote web server is Windows 2008 R2, are there any additional instructions regarding the compression settings?
 
Thanks
Mark
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down