|
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
shs
|
|
|
|
|
|
Colin Angus Mackay wrote: This Microsoft Knowledge Base article might help[^]
Good find! I had no idea anyone wrote that up on MSDN. I'll have to save that one in the bookmarks.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Good find. I've bookmarked it.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
If you are asking how to handle it then just catch OleDbException exception in your code and it should work for you !!!
To debug the exception past the exception message here !!!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Can you tell what is your question?
|
|
|
|
|
i think it is a sql query syntax error
or the using of some argument was not valid in our case.
etretyertyery
|
|
|
|
|
tantoun wrote: i think it is a sql query syntax error
Not necessarily.
|
|
|
|
|
hi all
i'm trying to create a class diagram in VS 2005, but i can't find the option to create or even view the class diagram as its not in my solutions explorer.
can anyone please tell me hoe i can add the class diagram controll to my project. by the way i'm working on a window based application.
thanks for the time
awaiting all replies
Sair
|
|
|
|
|
Please stop this cross posting.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi, i'm having problems with the App.config file and the settings contained in it.
The purpose of the App.Config is to enable users to change values that the program loads with, without re-compiling the app.
I am however having a problem with this in DLL's -
This is a setting in the config file:
<br />
<br />
<connectionStrings><br />
<add name="TTMPSObjectLayer.My.MySettings.TTMPSConnectionString"<br />
connectionString="/* Connection */"<br />
providerName="System.Data.SqlClient" /><br />
</connectionStrings><br />
<br />
If i change the connection string, it should point to a different database, however, the setting value - stored in the My.Settings object, has the following entry, which completely ignores it.
<br />
<Global.System.Configuration.ApplicationScopedSettingAttribute(), _<br />
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _<br />
Global.System.Configuration.SpecialSettingAttribute(Global.System.Configuration.SpecialSetting.ConnectionString), _<br />
Global.System.Configuration.DefaultSettingValueAttribute("/* Connection */")> _<br />
Public ReadOnly Property TTMPSConnectionString() As String<br />
Get<br />
Return CType(Me("TTMPSConnectionString"),String)<br />
End Get<br />
End Property<br />
The DLL is for a WebProject, and i need to be able to configure the Querystring. What do i need to do to do this?
Cheers
Tris
Edit: The reason i need the connection string, is that i have a library for each database containing all the relevant DataTables / Data Table Adapters, and i need to be able to change the database they point to without recompiling.
-- modified at 7:32 Monday 16th April, 2007
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
It seems that all libraries defer their configuration values to the master app.config / web.config in the invoking application.
Just add the relevant settings to the main one and it will override any other settings.
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
.DLL libraries don't get their own app.config files. Like then name suggests, it's an Application Configuration file, not a library or .DLL config.
.DLL's are loaded into the process space on the application that's using them. They become part of the application, not different than if the .DLL code was written directly into the app itself. That's why they use the app's config file.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
If you are writing a class library then class library wraps the app.config file into Settings.Designer.cs which keeps all your information. So if you change the connection string in app.config then you need to synchronize this with setting file. This in turns updates and generates new Settings.Designer.cs then you should compile it. After this only you should referenced this in your project else older connections string will be taken.
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Hey,
I want to generate password which takes a string( 8 digit hexadecimal with system date as input to password) and this string to be passed to Rijndael ecryption to get the output(encrypted string) of fixed length(15 characters maximum).
Is it possible to generate the encrypted string of fixed length in Rijndael encryption?
If anybody knows pls let me know.
Thanks
Kusuma
|
|
|
|
|
Hi all,
I want to load a dropdownlist box with the data in a dataset using ajax/asp.net.Someone help in this regard..
Regards,
Balagurunathan S
Balaguru
|
|
|
|
|
This is a somewhat canonical example, and AJAX book or website is bound to have an example. Or, you can use ATLAS, which wraps it all for you. It's not efficient, but it IS easy.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for ur idea..But i need specific example with code...Can anyone help me in this regard..?
Cheers...
Balaguru
|
|
|
|
|
The amount of code you need, is too much for a forum post. Read some articles that give code, there are plenty. Or buy a book, "AJAX in Action" is a great book, and it has code for this.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
can anyone suggest me the steps to run a cobol/fortran program using dot net framework.
if anyone has any idea please feel free to share it with me.
if you any microsoft forum where i can post my question then plz let me know as well.
Thanks and Regards,
Sudipta
|
|
|
|
|
There is cobol.net and fortran.net. Both are very expensive.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
does it mean i need to buy these products.
can you please explain the situation in detail.
Thanks and Regards,
Sudipta
|
|
|
|
|
There are .NET versions of FORTRAN and COBOL. How well they run existing code, I don't know. I do know they are more expensive than VS.NET, you'd really need them, we're talking thousands of dollars. At least, the last time I saw an ad. Did you try google ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
using DotNET Framework i.e asp.net , iwant to built application such a way that it must be able
to run live video in my website(like cricket or CNN news channel,but it is live telecast).
Can any one suggest me,how to implement this project...........
what are the technologies & tools required,
please help me.;)
Suave shiva
|
|
|
|
|
First thing you need, is legal rights to the broadcast.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|