asp.net di rebuild malah muncul error Could not load type ..

Forum diskusi pemrograman web ASP.NET

Moderator: irzan2010

asp.net di rebuild malah muncul error Could not load type ..

Postby golekngilmu » 17 Nov 2011, 08:07

mbak om , master master dan jagao jago asp.net, saya masih newbe, mau tanya donk, kemarin saya bikin web sudah bisa jalan dan sudah bisa menampilkan data. koneksi database dan querynya saya tulis di code behind. nah kemarin saya iseng rebuilt eh lha dalah, pas waktu saya browse eh g bisa nampil semua webnya, tiap halaman muncul error

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 'DTS.bloter'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="bloter.aspx.vb" Inherits="DTS.bloter" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


Source File: /lap_trans/bloter.aspx Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4961; ASP.NET Version:2.0.50727.4927



minta tolong ya om n sis, kira kira kenapa, apa ada yang harus saya definisikan di sebuah file kusus, soalnya saya pernah copy applikasi itu ke tempat lain

makasih sebelumnya
golekngilmu
Prajurit Dua
Prajurit Dua
 
Posts: 2
Joined: 17 Nov 2011, 08:04
Memberi kopi: 0 cangkir
Mendapat kopi: 0 cangkir

Re: asp.net di rebuild malah muncul error Could not load typ

Postby vberror13 » 01 Dec 2011, 21:07

Kalau DTS.Bloter itu berasal dari satu file DLL, pastikan file tersebut berada di folder bin. Barangkali secara tak sengaja file DLLnya terhapus.
:ymbilly: :ymbilly: :ymbilly: =:) :ymbilly:
Just Because You Are Unique, Doesn't Mean You Are Useful
User avatar
vberror13
Global Moderator
Global Moderator
 
Posts: 1844
Joined: 13 Mar 2010, 20:34
Location: Medan Indonesia
Memberi kopi: 296 cangkir
Mendapat kopi: 321 cangkir

Re: asp.net di rebuild malah muncul error Could not load typ

Postby gigabyte » 21 Mar 2012, 11:04

maap bos lancang dikit... ane juga newbie.
tapi sepertinya kalo yang ane liat itu errornya karna class di aspx dan di vbnya beda
untuk manggil ke halaman vb kan CodeBehind="bloter.aspx.vb
nah coba om om check nama class di code behindnya sudah betul "DTS.bloter"?

Code: Select all
Partial Class DTS.bloter
    Inherits System.Web.UI.Page
'
'
'
'
end class


CMIIW
gigabyte
Prajurit Dua
Prajurit Dua
 
Posts: 10
Joined: 20 Mar 2012, 11:55
Location: di depan monitor
Memberi kopi: 1 cangkir
Mendapat kopi: 0 cangkir


Return to ASP.NET

Who is online

Users browsing this forum: No registered users and 1 guest