IIS 7 and Above
Last post Jan 18, 2011 05:02 PM by ronald_yoh
Jan 17, 2011 09:13 PM|ronald_yoh|LINK
Line 1: <%@ Page Title="Register" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"Line 2: CodeBehind="Register.aspx.cs" Inherits="Tranzhop.Account.Register" %>Line 3:
Jan 18, 2011 12:41 AM|KristoferG|LINK
Are you missing any files that got lost when moving to the hosting server?
I saw this thread the other day, which may be useful for you. Many interesting tips:
Jan 18, 2011 06:41 AM|nashwin|LINK
It seems that the 'Site.master' file doesn't exist under the account folder & that's the reason you are getting error while accessing your site.
I would suggest you to upload the 'Site.master' files & recompile your .net application in asp.net 4, it will definitely resolved your problem.
Jan 18, 2011 05:02 PM|ronald_yoh|LINK
why would you need the site.master file in the account folder anyway? In the register.aspx, I declared to be MasterPage="~/Site.Master" which should be finding it from the root directory. Ideally, you want the master page to be in one place which is in the
root folder of the application and it is there. Having master page in diff places will be so difficult to maintain.
Now the question is. It is working perfect if I deploy the app on the local IIS but not when deployed to my hosting server. What in the wierd?