0
votes

I have developed one application in SPA using HotTowel. The application is running well on localhost. But When I uploaded on IIS server. It showing following error:

"metadata query failed for: api/breeze/metadata;Nan"

1
Sounds like you set your iis up incorrectlyPW Kad

1 Answers

0
votes

Assuming your SPA is deployed to a Virtual Application in IIS have you tried adding the name of the application to your service name

if your url is www.test.com/myapp

 var dataService = new breeze.DataService({
            serviceName: '[myapp]/api/breeze',
            hasServerMetadata: true
        });

Just a shot in the dark.