development server than production web server.so when
you publish your application to production web server
you may experience problems.to overcome this
problem you should use local IIS web server instead
VS development server.I show here how -
1.go to project menu and click project properties
2.then go to server section of web tab
3.select the radio button - use local IIS web server.
you will see generated project url.click on
create virtual directory,which creates a virtual
directory in your IIS server to run your application.
4.then press ctrl+s to save settings.
now when you debug your project it will run under
local IIS server.