Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > .NET Framework > Forum > ปฏิทินมัน Error ครับ รบกวนหน่อยครับ Server Error in '/webin' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request.



 

ปฏิทินมัน Error ครับ รบกวนหน่อยครับ Server Error in '/webin' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request.

 



Topic : 033091



โพสกระทู้ ( 12 )
บทความ ( 0 )



สถานะออฟไลน์




Server Error in '/webin' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30002: Type 'UsernameTableAdapter' is not defined.

Source Error:



Line 16:
Line 17: Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Line 18: Dim dataset As New UsernameTableAdapter
Line 19: Dim Recordset As Login.UsernameDataTable
Line 20:


Source File: D:\webin\calendar\C_Display.aspx.vb Line: 18



Show Detailed Compiler Output:


C:\WINDOWS\system32> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.dll" /debug- /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\xp262qes.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.2.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.3.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.4.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.5.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\webin\cb4985fa\15bbda16\App_Web_xp262qes.6.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.3053
for Microsoft (R) .NET Framework version 2.0.50727.3053
Copyright (c) Microsoft Corporation. All rights reserved.

D:\webin\calendar\C_Add.aspx.vb(3) : warning BC40056: Namespace or type specified in the Imports 'CheckrowTableAdapters' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports CheckrowTableAdapters
~~~~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Add.aspx.vb(22) : error BC30002: Type 'TopicTableAdapter' is not defined.

Dim dataset As New TopicTableAdapter
~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Add.aspx.vb(23) : error BC30002: Type 'Checkrow.TopicDataTable' is not defined.

Dim recordset As Checkrow.TopicDataTable
~~~~~~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Add.aspx.vb(219) : error BC30002: Type 'TopicTableAdapter' is not defined.

Dim dataset As New TopicTableAdapter
~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Add.aspx.vb(220) : error BC30002: Type 'Checkrow.TopicDataTable' is not defined.

Dim recordset As Checkrow.TopicDataTable
~~~~~~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Display.aspx.vb(1) : warning BC40056: Namespace or type specified in the Imports 'LoginTableAdapters' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Imports LoginTableAdapters
~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Display.aspx.vb(18) : error BC30002: Type 'UsernameTableAdapter' is not defined.

Dim dataset As New UsernameTableAdapter
~~~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Display.aspx.vb(19) : error BC30002: Type 'Login.UsernameDataTable' is not defined.

Dim Recordset As Login.UsernameDataTable
~~~~~~~~~~~~~~~~~~~~~~~
D:\webin\calendar\C_Display.aspx.vb(23) : error BC30002: Type 'Login.UsernameRow' is not defined.

For Each myrow As Login.UsernameRow In Recordset
~~~~~~~~~~~~~~~~~







อันนี้ โค๊ดจากไฟล์เต็มๆ
Imports LoginTableAdapters
Partial Class C_Display
Inherits System.Web.UI.Page

Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged
Session("DateDo") = Calendar1.SelectedDate.Date

'AccessDataSource1.SelectParameters("DateDo").DefaultValue = Calendar1.SelectedDate.Date
GridView1.DataBind()
End Sub

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged
Session("TopicID") = GridView1.SelectedValue
Server.Transfer("C_Update.aspx")
End Sub

Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim dataset As New UsernameTableAdapter
Dim Recordset As Login.UsernameDataTable

Recordset = dataset.GetData(TextBox3.Text, TextBox4.Text)
If Recordset.Count > 0 Then
For Each myrow As Login.UsernameRow In Recordset
Session.Add("UsrLEVEL", myrow.Authorize.ToString)
Next

Else
Session.Add("UsrLEVEL", "1")
End If
If (Session("UsrLEVEL") = "3") Or (Session("UsrLEVEL") = "2") Then
Button4.Visible = True
Else
Button4.Visible = False
End If
If (Session("UsrLEVEL") = "3") Then
Panel3.Visible = True
Else
Panel3.Visible = False
End If

End Sub

Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
Server.Transfer("C_Add.aspx")
End Sub

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Server.Transfer("C_DisplayB.aspx")
End Sub

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If (Session("UsrLEVEL") = "3") Or (Session("UsrLEVEL") = "2") Then
Button4.Visible = True
End If
If (Session("UsrLEVEL") = "3") Then
Panel3.Visible = True
Else
Panel3.Visible = False
End If
End Sub
End Class



Tag : - - - -







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2009-10-15 11:14:07 By : chue_2530 View : 1857 Reply : 1
 

 

No. 1



โพสกระทู้ ( 12 )
บทความ ( 0 )



สถานะออฟไลน์


คืองานนี้ ผมแก้พยายามแก้ประมาณ 1 เดือนแล้วก็ไม่สำเร็จซะที ยังไงก็ขอรบกวนด้วยนะครับ จำเป็นต้องใช้จริงๆ






Date : 2009-10-15 11:44:50 By : chue_2530
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ปฏิทินมัน Error ครับ รบกวนหน่อยครับ Server Error in '/webin' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request.
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่