Application Deployment Error - master page

I  compiled and tested my application on the client computer and all worked fine.
When I copied the files onto the webserver and tried to browse to the Login Form,
the following error was raised:

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file '/Site.Master' does not exist.

Source Error:


Line 1:  <%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="LoginForm.aspx.vb" Inherits="OTforDept.LoginForm" %>
Line 2:  <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
Line 3:      <style type="text/css">
 

Source File: /Payroll/OtforDept/LoginForm.aspx    Line: 1



Please assist
ernie_shahAsked:
Who is Participating?
 
lenordisteCommented:
can you give us more information ? Such as your IIS setup on the webserver?

It sounds like IIS doesn't know what it's processing: if you created a subfolder, did you specify it as an Application folder in IIS ?
0
 
ernie_shahAuthor Commented:
Yes, the folder was created as an applications folder on IIS. However, I developed using vs 2010 with 4.0 .net framework but the webserver has .net 2.0 and 3.5 with vs 2008 and vs2010
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.