user1199702
user1199702

Reputation: 3

Master Page Not Loading Properly

I have spent a couple days trying to figure out why my asp master page format and controls are being ignored when I try to access a page from my IIS 7.5 server.

I'm using the basic DevStudio ASP web project and everything works when I reference the pages through localhost. But when I try to access it through the server the asp:Menu control in the master page, and any other formatting, is being ignored.

I turned on logging and the only thing I see is a warning that I'm getting access denied to the style sheet. I've added the style sheet folder to the IIS list of virtual directories - still not working.

Any help in resolving this issue will be greatly appreciated.

Upvotes: 0

Views: 2041

Answers (1)

Tamil
Tamil

Reputation: 68

ApplicationPool of your hosted website may not have the permission to access the files. Check the applicationpool credentials. If the controls not loaded properly, check the DateTime of your IIS server machine.If the future date time is set, you will get this kind of misbehavior.

Upvotes: 1

Related Questions