Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Getting Started

No 'Access-Control-Allow-Origin' in web API call

I get the following error  with my API call (for all APIs anyway): 

Could someone help to get this working fine ?.


When I run the same setup in Azure, works fine.


"Failed to load resource: the server responded with a status of 403 (Site Disabled)"

"Failed to load Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access."


My controller has following call :

[EnableCors(origins: "", headers: "*", methods: "*", SupportsCredentials = true)]


Web.config is as follows (default from Godaddy)

<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
<remove name="TRACEVerbHandler" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />

Community Manager

Hi @pubuducg. I'm not familiar enough with this type of code or the error in question to offer much in the way of assistance. However, I know one thing that can cause issues on Windows accounts (especially if it works elsewhere) is the trust level you have set for the site. You can find out more about changing this here. Not sure it will help, but I thought it might be worth a shot.


JesseW - GoDaddy | Community Manager | 24/7 support available at | Remember to choose a solution and give likes.