Note that there are some explanatory texts on larger screens.

plurals
  1. USNextStep
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COI am now googling ,I see that many people are failed to get the iis url rewrite work on godaddy's server.I guess I am one of them. here is my Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Web.MvcApplication.Application_EndRequest(Object sender, EventArgs e) +18 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
      singulars
    2. COthanks asafb. I actually did what you said a moment ago(change the globalrules to rules).But now there is another problem.before the url rewriting,I can access my site with or without the www prefix of the domain. but now after the rewriting,I can only access my site with the www.my-domain.com ,both the my-domain.com and strange-domain.com can not get access.I tried to add another rule that add a www prefix to the domain.but it is failed.I keep getting Object reference not set to an instance of an object. error.I found the rule on stack overflow so I guess the rule is Ok. any suggestions ?
      singulars
    3. COalso I noticed that ,if I just paste your xml code under <system.webServer> ,then nothing will happen as I did not touch the web.config .but if I remove the <globalRules> element between <rewrite> and <rules>elements ,then I will get a 500 server error from godaddy.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload