472,784 Members | 894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 software developers and data experts.

BC30518: Overload resolution failed because no accessible 'ToString' can be called with these arguments:

What am I doing wrong?

the code:
age Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1"
%>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
Assembly="DreamweaverCtrls,version=1.0.0.0,publicK eyToken=836f606ede05d46a,culture=neutral"
%>
<MM:DataSet
id="SSF2Pinky"
runat="Server"
IsStoredProcedure="false"
ConnectionString='<%#
System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_STRING_dbPurchaseOrder")
%>'
DatabaseType='<%#
System.Configuration.ConfigurationSettings.AppSett ings("MM_CONNECTION_DATABASETYPE_dbPurchaseOrder")
%>'
CommandText='<%# "SELECT PurchaseID FROM dbo.PurchaseOrders WHERE SSF =
@SSF" %>'
Debug="true"

<Parameters>
<Parameter Name="@SSF" Value='<%#
IIf((Request.QueryString("GetPurchase") <> Nothing),
Request.QueryString("GetPurchase"), "") %>' Type="Char" />
</Parameters>
</MM:DataSet>
<MM:PageBind runat="server" PostBackBind="true" />

<%# Response.Redirect("PurchaseSummarySSF.aspx?GetPurc hase="&
SSF2Pinky.FieldValue("PurchaseID",Container))%>

the error:

Line 18: <%# Response.Redirect("PurchaseSummarySSF.aspx?GetPurc hase="&
SSF2Pinky.FieldValue("PurchaseID",Container))%>
:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\vbc.ex e"
/t:library /utf8output
/R:"c:\winnt\assembly\gac\system.enterpriseservices \1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseser vices.dll"
/R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b0 3f5f7f11d50a3a\system.web.dll"
/R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c 561934e089\system.dll"
/R:"c:\winnt\assembly\gac\system.web.services\1.0.5 000.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b7 7a5c561934e089\system.xml.dll"
/R:"c:\winnt\microsoft.net\framework\v1.1.4322\temp orary asp.net
files\root\2135a508\8d69a834\assembly\dl2\d5eaba03 \00387041_c973c301\dreamweaverctrls.dll"
/R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0 __b03f5f7f11d50a3a\system.drawing.dll"
/R:"c:\winnt\assembly\gac\system.web.mobile\1.0.500 0.0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b 77a5c561934e089\system.data.dll"
/out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Te mporary ASP.NET
Files\root\2135a508\8d69a834\thrje9k1.dll" /D:DEBUG=1 /debug+
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Tempor ary ASP.NET
Files\root\2135a508\8d69a834\thrje9k1.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.6310.4
for Microsoft (R) .NET Framework version 1.1.4322.2300
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.

c:\inetpub\wwwroot\PurchaseOrders\ssfconvert.aspx( 18) : error BC30518:
Overload resolution failed because no accessible 'ToString' can be
called with these arguments:
'Public Shared Function ToString(value As String) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Date) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Decimal) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Double) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Single) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As System.UInt64) As
String': Expression does not produce a value.
'Public Shared Function ToString(value As Long) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As System.UInt32) As
String': Expression does not produce a value.
'Public Shared Function ToString(value As Integer) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As System.UInt16) As
String': Expression does not produce a value.
'Public Shared Function ToString(value As Short) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Byte) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As System.SByte) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Char) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Boolean) As String':
Expression does not produce a value.
'Public Shared Function ToString(value As Object) As String':
Expression does not produce a value.

target.SetDataBoundString(0,
System.Convert.ToString(Response.Redirect("Purchas eSummarySSF.aspx?GetPurchase="&
SSF2Pinky.FieldValue("PurchaseID",Container))))

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

May 24 '06 #1
0 2304

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Eph0nk | last post by:
Hi, I get an overload resolution failed error (Overload resolution failed because no accessible 'New' can be called without a narrowing conversion), and I can't seem to find a lot of relevant...
5
by: Gang Zhang | last post by:
Hi, I have 2 overloaded functions as below: myfunc(byval val as Decimal) as string myfunc(byval val as String) as string When calling the function with a single like: dim num1 as single...
1
by: steve | last post by:
I am trying to create an XSLT Transform but keep getting the same problem. Overload resolution failed because no accessible 'Transform' can be called with these arguments. I create a reference...
6
by: multisync | last post by:
I'm getting the following error: Overload resolution failed because no accessible 'Add' can be called with these arguments: 'Public Sub Add(item As System.Web.UI.WebControls.ListItem)': Value of...
4
by: Kevin Burton | last post by:
I have a base (MustInherit/abstact) class that looks like: Public MustInherit Class BaseClass End Class Then I have three derived classes: Public Class DerivedA Inherits BaseClass End...
2
by: jason | last post by:
Since going to framework 2.0 from 1.1, I'm getting error: Overload resolution failed because no accessible 'New' can be called without a narrowing conversion: On line: Dim LogInfo As New...
0
by: ccante3070 | last post by:
What does this error message mean? program is vb.net 2003 Overload resolutionj failed because no accessible "Run" can be called with these arguments. 'Public Shared Sub Run (context As System....
1
by: =?Utf-8?B?QU1lcmNlcg==?= | last post by:
I have a strange situation with vb 2005 regarding option strict that looks like a compiler bug to me. Consider: Dim f1 As New Font("Arial", 8.25) Dim f2 As New Font("Arial", 8.25,...
2
by: Bart | last post by:
Hi, i get the error "BC30518:Overload resolution failed because no accessible 'Join' can be called with these arguments" at line: hvd = Join(hvertp, ",") Any idea what's wrong here? Thanks...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.