When i run my application on windows server i get below error.This application run smoothly on localhost.What is cause of the problem.
Parser Error Message: Could not load type 'KorkmazPortal.SiteMaster'.
Source Error:
Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="KorkmazPortal.SiteMaster" %>
Line 2:
Line 3: <%@ Register Src="UserControl/Exchange.ascx" TagName="Exchange" TagPrefix="uc" %>
Source File: /portal/Site.Master Line: 1
Know this is an old post, but I recently hit this issue. My web setup project wasn't including the web project's library in the installed output. Once i manually copied the .dll over to the remote server, everything worked fine.
In my case the clue was that my web project worked fine locally in debug mode. Just wouldn't work when deploying remotely.
Hope this helps someone someday.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With