473,796 Members | 2,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error:Value of type 'String' can't be converted to 1-dim aray of L

Hi,

I am getting the error: Value of type 'String' cannot be converted to
'1-dimensional array of Long'.

in the following line for TextBox2.Text field :

doc.LoadXml(EDP .ExportPosition s(TextBox1.Text ,
cmbStartDateand Time.SelectedTe xt,
cmbEndDateandTi me.SelectedText , TextBox2.Text)) )

Actually, I have a webReference to ExportData.asmx file. Here, Assets
column has datatype as Long. Since the textbox I
created for Assets label has datatype string, this
is causing the problem.

I tried all conversion types but it doesn't work. I appreciate your quick
help and thanku in advance.

Feb 21 '06 #1
0 1335

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

Similar topics

0
1951
by: The Plankmeister | last post by:
Hi (again) I'm purposely generating an SQL error to test my aforementioned custom error handling function, but I encounter a strange problem. The error string generated by my forced error is: SQL error: Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect Which is exactly what I expect. However, even if in my function I have no
1
2834
by: toufik toufik | last post by:
I'm using the errorHandler function (http://www.zend.com/zend/spotlight/error.php) to manage error handling in my code, the problem is that in all the tests that I did the error type is always E_WARNING, I've tested the div by 0, database error,.... how can I have an E_ERROR, because I need that the execution stops in teh case of E_ERROR errors. Thanks.
1
1771
by: Elie B. | last post by:
Hi, I'm new to Python. I'm trying to embbed Python in my Windows application having some success with redirecting the stdin/out to my windows application using: In my C++ code I use PyRun_SimpleString to execute this code: import sys import mymodule class LOGwriter :
2
3691
by: Iona | last post by:
Does anyone know this type of error means? Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Could not use ''(unknown)''; file already in use. /asp/PPLMain/memberpage.asp, line 10 and in my line 1o is RsMember.ActiveConnection = MM_connPPL2_STRING This works before but then it went like this. Anyone can help?
1
2443
by: Iona | last post by:
Thanks for the reply it helped me but then I get this Error Type: Provider (0x80004005) Unspecified error /asp/PPLMain/memberpage.asp, line 10 and my line 10 is still RsMember.ActiveConnection = MM_connPPL2_STRING
1
6847
by: Chuck | last post by:
Hi! I have a ASP page that generates an excel report. It works fine if there are records found, however, if no records are found I would like to call the below listed function instead of getting the following error that I am presently receiving: Error Type: ADODB.Recordset (0x800A0BCD) Either BOF or EOF is True, or the current record has been deleted. Requested
1
1926
by: Mr. x | last post by:
Hello, If I did : try ... do something catch ... do something end try ....
2
7118
by: Kevin G. | last post by:
I am trying to instantiate an in-house DLL within my ASP application and I'm getting the following error: Error Type: Server object, ASP 0177 (0x800AEA5F) 800aea5f I have tried re-registering the DLL, restarting IIS, etc., but no luck. Any suggestions?
9
11376
by: fscked | last post by:
Anyone have an idea of what I might do to fix this? I have googled adn can only find some random conversations about it that doesn't make sense to me. I am basically reading in a csv file to create an xml and get this error. I don't see any empty values in any fields or anything...
1
1948
by: sandeepthachan | last post by:
We have created one web site. Here if one person loggined and try to access a particular page then it goes to the error page with the message that the page cannot be dispalyed. and also it displays the error as: Error Type: Server object, ASP 0177 (0x800AEA5F) 800aea5f We created one dll file to access the emp_details from the database Error displays when it comes to the below mentioned line set ddata = server.CreateObject...
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.