Advertisement
Guest User

Untitled

a guest
Sep 28th, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.42 KB | None | 0 0
  1. Server Error in '/' Application.
  2.  
  3. Compilation Error
  4.  
  5. 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.
  6.  
  7. Compiler Error Message: BC30451: Name 'dtlAboutDatalist' is not declared.
  8.  
  9. Source Error:
  10.  
  11.  
  12. Line 26:
  13. Line 27: myDataAdapter.Fill(myDataSet, "wp_cu_posts")
  14. Line 28: dtlAboutDatalist.DataSource = myDataSet
  15. Line 29: dtlAboutDatalist.DataBind()
  16. Line 30:
  17.  
  18. Source File: C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx Line: 28
  19.  
  20.  
  21. Show Detailed Compiler Output:
  22.  
  23.  
  24. c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\MySql.Data\6.2.4.0__c5687fc88969c44d\MySql.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1081eb45\decfb08b\App_Web_kjpx4obs.dll" /D:DEBUG=1 /debug+ /win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1081eb45\decfb08b\kjpx4obs.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\root\1081eb45\decfb08b\App_Web_kjpx4obs.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1081eb45\decfb08b\App_Web_kjpx4obs.1.vb"
  25.  
  26.  
  27. Microsoft (R) Visual Basic Compiler version 8.0.50727.42
  28. for Microsoft (R) .NET Framework version 2.0.50727.42
  29. Copyright (c) Microsoft Corporation. All rights reserved.
  30.  
  31. C:\Inetpub\wwwroot\cu-2011\assists\inc-header-functions.aspx(18) : error BC30451: Name 'dtlHeadlinesDatalist' is not declared.
  32.  
  33. dtlHeadlinesDatalist.DataSource = rightDataSet
  34. ~~~~~~~~~~~~~~~~~~~~
  35. C:\Inetpub\wwwroot\cu-2011\assists\inc-header-functions.aspx(19) : error BC30451: Name 'dtlHeadlinesDatalist' is not declared.
  36.  
  37. dtlHeadlinesDatalist.DataBind()
  38. ~~~~~~~~~~~~~~~~~~~~
  39. C:\Inetpub\wwwroot\cu-2011\assists\inc-header-functions.aspx(29) : error BC30451: Name 'dtlInTheNewsDatalist' is not declared.
  40.  
  41. dtlInTheNewsDatalist.DataSource = rightDataSet
  42. ~~~~~~~~~~~~~~~~~~~~
  43. C:\Inetpub\wwwroot\cu-2011\assists\inc-header-functions.aspx(30) : error BC30451: Name 'dtlInTheNewsDatalist' is not declared.
  44.  
  45. dtlInTheNewsDatalist.DataBind()
  46. ~~~~~~~~~~~~~~~~~~~~
  47. C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx(28) : error BC30451: Name 'dtlAboutDatalist' is not declared.
  48.  
  49. dtlAboutDatalist.DataSource = myDataSet
  50. ~~~~~~~~~~~~~~~~
  51. C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx(29) : error BC30451: Name 'dtlAboutDatalist' is not declared.
  52.  
  53. dtlAboutDatalist.DataBind()
  54. ~~~~~~~~~~~~~~~~
  55.  
  56. Show Complete Compilation Source:
  57.  
  58.  
  59. Line 1: #ExternalChecksum("C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx","{406ea660-64cf-4c82-b6f0-42d48172a799}","DF2306EC3CF90327C19EC70E8F01A648")
  60. Line 2: '------------------------------------------------------------------------------
  61. Line 3: ' <auto-generated>
  62. Line 4: ' This code was generated by a tool.
  63. Line 5: ' Runtime Version:2.0.50727.42
  64. Line 6: '
  65. Line 7: ' Changes to this file may cause incorrect behavior and will be lost if
  66. Line 8: ' the code is regenerated.
  67. Line 9: ' </auto-generated>
  68. Line 10: '------------------------------------------------------------------------------
  69. Line 11:
  70. Line 12: Option Strict Off
  71. Line 13: Option Explicit On
  72. Line 14:
  73. Line 15: Imports Microsoft.VisualBasic
  74. Line 16: Imports MySql.Data
  75. Line 17: Imports MySql.Data.MySqlClient
  76. Line 18: Imports System
  77. Line 19: Imports System.Collections
  78. Line 20: Imports System.Collections.Specialized
  79. Line 21: Imports System.Configuration
  80. Line 22: Imports System.Data
  81. Line 23: Imports System.Text
  82. Line 24: Imports System.Text.RegularExpressions
  83. Line 25: Imports System.Web
  84. Line 26: Imports System.Web.Caching
  85. Line 27: Imports System.Web.Profile
  86. Line 28: Imports System.Web.Security
  87. Line 29: Imports System.Web.SessionState
  88. Line 30: Imports System.Web.UI
  89. Line 31: Imports System.Web.UI.HtmlControls
  90. Line 32: Imports System.Web.UI.WebControls
  91. Line 33: Imports System.Web.UI.WebControls.WebParts
  92. Line 34:
  93. Line 35: Namespace ASP
  94. Line 36:
  95. Line 37: <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()> _
  96. Line 38: Public Class who_we_are_aspx
  97. Line 39: Inherits Global.System.Web.UI.Page
  98. Line 40: Implements System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler
  99. Line 41:
  100. Line 42: Private Shared __initialized As Boolean
  101. Line 43:
  102. Line 44: Private Shared __stringResource As Object
  103. Line 45:
  104. Line 46: Private Shared __fileDependencies As Object
  105. Line 47:
  106. Line 48:
  107. Line 49: #ExternalSource("C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx",7)
  108. Line 50:
  109. Line 51: '====================================================
  110. Line 52: ' name: About Page 2/7/2011
  111. Line 53: ' Author: Kirk Risinger
  112. Line 54: ' Scope: Displays About Page
  113. Line 55: '=====================================================
  114. Line 56: Sub MySQLDBConnection()
  115. Line 57: Dim myConnection As MySqlConnection
  116. Line 58: Dim myDataAdapter As MySqlDataAdapter
  117. Line 59: Dim myDataSet As DataSet = New DataSet
  118. Line 60:
  119. Line 61: Dim strSQL As String
  120. Line 62: Dim iRecordCount As Integer
  121. Line 63:
  122. Line 64: myConnection = New MySqlConnection("SERVER=204.12.119.230; DATABASE=faithandthea; USER=IUSR; PASSWORD=I@manInt3rn3tUs3r;")
  123. Line 65:
  124. Line 66: strSQL = "SELECT post_title, post_content FROM wp_cu_posts WHERE ID='311'"
  125. Line 67:
  126. Line 68: myDataAdapter = New MySqlDataAdapter(strSQL, myConnection)
  127. Line 69:
  128. Line 70: myDataAdapter.Fill(myDataSet, "wp_cu_posts")
  129. Line 71: dtlAboutDatalist.DataSource = myDataSet
  130. Line 72: dtlAboutDatalist.DataBind()
  131. Line 73:
  132. Line 74:
  133. Line 75: End Sub
  134. Line 76: '-------------------------------------------------------------------
  135. Line 77: ' name: Page_Load()
  136. Line 78: '-------------------------------------------------------------------
  137. Line 79: Sub Page_Load(sender As Object, e As EventArgs)
  138. Line 80: If Page.IsPostBack = False Then
  139. Line 81: Try
  140. Line 82: Call MySQLDBConnection()
  141. Line 83: Call RightColumnBoxes()
  142. Line 84: Catch objError As Exception
  143. Line 85: Response.Write("We are very sorry. There was an issue loading this webpage.")
  144. Line 86: Exit Sub ' and stop execution
  145. Line 87: End Try
  146. Line 88: End If
  147. Line 89: 'txtSearch.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + btnSearch.UniqueID + "').click();return false;}} else {return true}; ")
  148. Line 90: 'txtEmail.Attributes.Add("onkeydown", "if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('" + btnEmail.UniqueID + "').click();return false;}} else {return true}; ")
  149. Line 91: End Sub
  150. Line 92:
  151. Line 93: #End ExternalSource
  152. Line 94:
  153. Line 95:
  154. Line 96: #ExternalSource("C:\Inetpub\wwwroot\cu-2011\assists\inc-header-functions.aspx",1)
  155. Line 97:
  156. Line 98: Sub RightColumnBoxes()
  157. Line 99: Dim rightConnection As MySqlConnection
  158. Line 100: Dim rightDataAdapter As MySqlDataAdapter
  159. Line 101: Dim rightDataSet As DataSet = New DataSet
  160. Line 102:
  161. Line 103: Dim rightSQL As String
  162. Line 104: Dim rightRecordCount As Integer
  163. Line 105:
  164. Line 106: rightConnection = New MySqlConnection("SERVER=204.12.119.230; DATABASE=faithandthea; USER=IUSR; PASSWORD=I@manInt3rn3tUs3r;")
  165. Line 107:
  166. Line 108: '---------- Headlines Data --------------
  167. Line 109: rightSQL = "SELECT ID, post_title, post_content, post_date FROM wp_cu_posts WHERE ID IN (SELECT `object_id` FROM `wp_cu_term_relationships` WHERE `term_taxonomy_id` IN ('3','4')) AND post_status = 'publish' ORDER BY post_date DESC LIMIT 0, 4"
  168. Line 110:
  169. Line 111: rightDataAdapter = New MySqlDataAdapter(rightSQL, rightConnection)
  170. Line 112:
  171. Line 113: rightDataAdapter.Fill(rightDataSet, "wp_cu_posts")
  172. Line 114: dtlHeadlinesDatalist.DataSource = rightDataSet
  173. Line 115: dtlHeadlinesDatalist.DataBind()
  174. Line 116: '---------- End Headlines --------------
  175. Line 117:
  176. Line 118: '---------- In The News Data ------------
  177. Line 119: rightSQL = "SELECT ID, post_title, post_content, post_date FROM wp_cu_posts WHERE ID IN (SELECT `object_id` FROM `wp_cu_term_relationships` WHERE `term_taxonomy_id` = '6') AND post_status = 'publish' ORDER BY post_date DESC LIMIT 0, 4"
  178. Line 120:
  179. Line 121: rightDataAdapter = New MySqlDataAdapter(rightSQL, rightConnection)
  180. Line 122:
  181. Line 123: rightDataSet.Clear() 'empty data from previous Dataset data
  182. Line 124: rightDataAdapter.Fill(rightDataSet, "wp_cu_posts")
  183. Line 125: dtlInTheNewsDatalist.DataSource = rightDataSet
  184. Line 126: dtlInTheNewsDatalist.DataBind()
  185. Line 127: '---------- End In The News ------------
  186. Line 128: End Sub
  187. Line 129:
  188. Line 130: Private Function TruncateWithWholeWords(ByVal OriginalString As String, ByVal NumberOfWords As Integer) As String
  189. Line 131: ' Declarations
  190. Line 132: Dim strResult As New StringBuilder
  191. Line 133: Dim strWords As String()
  192. Line 134:
  193. Line 135: ' Replace multiple spaces with single ones
  194. Line 136: Do While (OriginalString.IndexOf(Space(2)) >= 0)
  195. Line 137: OriginalString = OriginalString.Replace(Space(2), Space(1))
  196. Line 138: Loop
  197. Line 139:
  198. Line 140: ' Split the string by a space
  199. Line 141: strWords = OriginalString.Split(" ")
  200. Line 142:
  201. Line 143: ' If there aren't the required number of spaces, return the orignal string
  202. Line 144: If strWords.GetUpperBound(0) < NumberOfWords Then
  203. Line 145: Return OriginalString
  204. Line 146: Else
  205. Line 147: ' Otherwise, append each word to the new stringbuilder
  206. Line 148: For i As Integer = 0 To NumberOfWords - 1
  207. Line 149: strResult.Append(strWords(i) & " ")
  208. Line 150: Next
  209. Line 151: ' Return the required phrase
  210. Line 152: Return strResult.ToString.Trim
  211. Line 153: End If
  212. Line 154: End Function
  213. Line 155:
  214. Line 156: #End ExternalSource
  215. Line 157:
  216. Line 158:
  217. Line 159: Public Sub New()
  218. Line 160: MyBase.New
  219. Line 161: Dim dependencies() As String
  220. Line 162: CType(Me,System.Web.UI.Page).AppRelativeVirtualPath = "~/who-we-are.aspx"
  221. Line 163: If (Global.ASP.who_we_are_aspx.__initialized = false) Then
  222. Line 164: Global.ASP.who_we_are_aspx.__stringResource = Me.ReadStringResource
  223. Line 165: dependencies = New String(1) {}
  224. Line 166: dependencies(0) = "~/who-we-are.aspx"
  225. Line 167: dependencies(1) = "~/assists/inc-header-functions.aspx"
  226. Line 168: Global.ASP.who_we_are_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies)
  227. Line 169: Global.ASP.who_we_are_aspx.__initialized = true
  228. Line 170: End If
  229. Line 171: Me.Server.ScriptTimeout = 30000000
  230. Line 172: End Sub
  231. Line 173:
  232. Line 174: Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
  233. Line 175: Get
  234. Line 176: Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
  235. Line 177: End Get
  236. Line 178: End Property
  237. Line 179:
  238. Line 180: Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication
  239. Line 181: Get
  240. Line 182: Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
  241. Line 183: End Get
  242. Line 184: End Property
  243. Line 185:
  244. Line 186: Private Sub __BuildControlTree(ByVal __ctrl As who_we_are_aspx)
  245. Line 187:
  246. Line 188: #ExternalSource("C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx",1)
  247. Line 189: Me.InitializeCulture
  248. Line 190:
  249. Line 191: #End ExternalSource
  250. Line 192: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl,System.Web.UI.IParserAccessor)
  251. Line 193:
  252. Line 194: #ExternalSource("C:\Inetpub\wwwroot\cu-2011\who-we-are.aspx",1)
  253. Line 195: __parser.AddParsedSubObject(Me.CreateResourceBasedLiteralControl(0, 1257, true))
  254. Line 196:
  255. Line 197: #End ExternalSource
  256. Line 198: End Sub
  257. Line 199:
  258. Line 200: Protected Overrides Sub FrameworkInitialize()
  259. Line 201: MyBase.FrameworkInitialize
  260. Line 202: SetStringResourcePointer(Global.ASP.who_we_are_aspx.__stringResource, 0)
  261. Line 203: Me.__BuildControlTree(Me)
  262. Line 204: Me.AddWrappedFileDependencies(Global.ASP.who_we_are_aspx.__fileDependencies)
  263. Line 205: Me.TraceEnabled = false
  264. Line 206: Me.Request.ValidateInput
  265. Line 207: End Sub
  266. Line 208:
  267. Line 209: Public Overrides Function GetTypeHashCode() As Integer
  268. Line 210: Return 1236230536
  269. Line 211: End Function
  270. Line 212:
  271. Line 213: Public Overrides Sub ProcessRequest(ByVal context As System.Web.HttpContext)
  272. Line 214: MyBase.ProcessRequest(context)
  273. Line 215: End Sub
  274. Line 216: End Class
  275. Line 217: End Namespace
  276. Line 218:
  277.  
  278.  
  279. Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement