IIS Parser error regarding master page

Posted by Akiii under IIS on 8/24/2011 | Points: 10 | Views : 2818 | Status : [Member] | Replies : 6
Hi,
I have created a virtual directory in the IIS and now when i browse it, its giving me parser error.

Parser Error Message: Could not load type 'xxx.Master.Site'.

Please can anyone help me regarding this...
Its urgent....

Thanks and Regards
Akiii




Responses

Posted by: Vuyiswamb on: 8/24/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down

please send us a screenshot, this cannot be the only error

Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 8/24/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi sir,
I'm receiving a parser error on trying to access the default.aspx page:

Seems like it's trying to locate it's master page, but can't find it. Any advice?
i have attached a picture.....

Regards
Akiii
 Download source file

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 8/24/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Do you have a file "Site.master.cs in your project ?


Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 8/24/2011 [Member] Bronze | Points: 25

Up
0
Down
Yes, we have a file named Site.master.cs.....

I have a default website, when i create a virtual directory in it, it cannot load any page of the virtual directory which leads to parser error....
when i convert that into an application then everything is fine....

i don't know what problem is occurring when i create a virtual directory...!
Akiii

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 8/24/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i dont understand your problem , unless i teamview to your machine , i cant help to resolve the issue.



Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 8/24/2011 [Member] Bronze | Points: 25

Up
0
Down
yes, it seems to be a problem...
can you tell me why need a virtual directory ?

Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response