0

I am working on site http://www.turnkey-solutions.net/ is working on local system. Its also work on live server but I click on any link its give the error. I don't know how to encounter that error can some one help me out from this problem.

Server Error in '/' Application.
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: Could not load type 'test.company'.

Source Error:

Line 1:  <%@ Page Language="C#" MasterPageFile ="~/trunkey.Master" AutoEventWireup="false" CodeBehind="company.aspx.cs" Inherits="test.company" %>
Line 2:  
Line 3:  <asp:Content ContentPlaceHolderID = "ContentLeftHolder" runat = "server">


Source File: /company.aspx    Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

Thanks,
Farooq

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by farooq82
0

Check your locigal file

Imports System
Imports System.data
Imports System.data.SqlClient
Imports System.Collections.Generic

Partial Class company

End Class

compare it with

<%@ Page Language="C#" MasterPageFile ="~/trunkey.Master" AutoEventWireup="false" CodeBehind="company.aspx.cs" Inherits="test.company" %>

Inherits="test.company" must be same with Partial Class

0

I have solved that problem. Only problem i find is did copy .dll file on web server.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.