1

I have no problems with WebForms, everything i do, it work.

Now i created new test project - MVC3 app - http://prntscr.com/98ckk

and i just publish it - Visual Studio - Build - Publish - to c:\test http://prntscr.com/98cq8

Then i transferred my files to windows server in inetpub/wwwroot/test

Then i created new website - pointing to this folder. However when i test it "ip/test" i get 403 - Forbidden: Access is denied.

p.s i already have IIS->Website site whitch is MVC and is working. But i dont remember what i did.

tereško
  • 58,060
  • 25
  • 98
  • 150
Novkovski Stevo Bato
  • 1,013
  • 1
  • 23
  • 56

1 Answers1

0

If you are using Forms Authentication (or no authentication) then make sure that IIS 7 is configured to allow anonymous access and that the App Pool user has permissions to your site/folders.

If you are using Windows authentication you should disable anonymous access and turn on Windows Authentication. Then you will need to make sure that your windows accounts/groups have access.

Dismissile
  • 32,564
  • 38
  • 174
  • 263