473,382 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 2343

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.