Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Could not load type ...

$
0
0

Hi.

What can be the problem if the web project works locally, but on the web hotel I get "Could not load type 'test.test'." for example. But I get the Could not load type... on every page.

My test.aspx page has this code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="test.test" %>

My test.aspx.cs has this code:

namespace test
{
	public partial class test : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{

		}
	}
}

I´m using Microsoft Visual Express 2012 for Web and the Publish function in that program to publish via FTP. Is the problem within the publishing? Since the site works locally?



 


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>