473,569 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sorry to be such a pain

I am building an ASP.NET form called default.aspx on an intranet
server. It worked fine until I added a reference to ADO under the COM
tab.

When I did, I get this error referencing the web.config file in the
application directory:

Server Error in '/testing2' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly
'Microsoft.Visu alStudio.Tools. Applications.Ru ntime, Version=8.0.0.0 ,
Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' or one of its
dependencies. The system cannot find the file specified.

Source Error:
Line 37: </customErrors>
Line 38: -->
Line 39: <compilation debug="true" urlLinePragmas= "true">
Line 40: <assemblies>
Line 41: <add
assembly="Micro soft.VisualStud io.Tools.Applic ations.Runtime,
Version=8.0.0.0 , Culture=neutral ,
PublicKeyToken= B03F5F7F11D50A3 A"/></assemblies></compilation></system.web>
Source File: c:\inetpub\wwwr oot\testing2\we b.config Line: 39

Assembly Load Trace: The following information can be helpful to
determine why the assembly
'Microsoft.Visu alStudio.Tools. Applications.Ru ntime, Version=8.0.0.0 ,
Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog].


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.502 15.44;
ASP.NET Version:2.0.502 15.44





I need the ADO to fill a combo box on the form.

Nov 19 '05 #1
5 1257
Can you use ADO.NET instead of ADO?
Just reference the System.Data namespace in your project and you're off
to a better start I think.

Nov 19 '05 #2
"Brent White" <bw****@badgers portswear.com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
I am building an ASP.NET form called default.aspx on an intranet
server. It worked fine until I added a reference to ADO under the COM
tab.


Why on earth would you want to use ADO/COM in ASP.NET?????
Nov 19 '05 #3
"Mark Rae" wrote:
"Brent White" <bw****@badgers portswear.com> wrote in message
news:11******* *************** @g43g2000cwa.go oglegroups.com. ..
I am building an ASP.NET form called default.aspx on an intranet
server. It worked fine until I added a reference to ADO under the COM tab.


Why on earth would you want to use ADO/COM in ASP.NET?????


I'm a long-standing VB6 Programmer, so I know ADO very well. I don't
know ASP.NET very well, but I'm learning.

Let me try the system.data thing and see how that works.

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 19 '05 #4
"xhead" wrote:
Can you use ADO.NET instead of ADO?
Just reference the System.Data namespace in your project and you're off
to a better start I think.


I have tried that and was glad to know I could use the familiar ADODB
commands as I had before.

That seemed to work. I want to use .NET but it's had a learning curve
to it.

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Nov 19 '05 #5
re:
I want to use .NET but it's had a learning curve to it.
heh, heh...

Welcome to the club, Brent!

;-)

It's the best club in the world...

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espańol : http://asp.net.do/foros/
=============== =============== ========
"Brent" <bw****@badgers portswear.com> wrote in message
news:ew******** ******@TK2MSFTN GP10.phx.gbl... "xhead" wrote:
Can you use ADO.NET instead of ADO?
Just reference the System.Data namespace in your project and you're off
to a better start I think.


I have tried that and was glad to know I could use the familiar ADODB
commands as I had before.

That seemed to work. I want to use .NET but it's had a learning curve
to it.

Nov 19 '05 #6

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

Similar topics

4
3057
by: Christine McGavran | last post by:
To continue a previous thread, sort of... I have defined a schema for describing a windows-style user interface. My application correctly parses and uses that schema. I'm now trying to get that schema to be legal, so that if I threw my UI.xml and UISchema.xml at a validator it would succeed. I have just learned that the order of elements...
3
1226
by: Wizard | last post by:
Hi All, Sorry for been a pain in the ass, but im looking everywhere and can't seem to find the answers. I would like to build a small ASP based site. I have 4 departments, and what i would like to do is have a list of usernames and password. I would like the department heads to have a logon and be able to see only there departments...
8
1025
by: MadCrazyNewbie | last post by:
Hey Group, Sorry but i`ve been searching everywhere for this even went out and bought a ADO book and still carn`t find what im looking for:( I have the following code for my postion changed: Private Sub objdsAccess_PositionChanged() If Me.BindingContext(objdsAccess, "Users").Position <> -1 Then Me.ComboBox1.SelectedValue =
4
1107
by: Bob | last post by:
I found it a real pain working with the datasets and table adapters and bound records. Here's why. During development I find I occasionally have to change some part of a table definition. Say I forgot to make the primary key an identity column ,yeah I'm human ;-). Typically I will find this out once the controls using the erroneous table have...
1
1628
by: YesGoGoGo | last post by:
hello! I use asp+vb before and new to ASP.NET. And I have to write a new function with C# I draw a prototype and the picture is here--- http://0rz.net/af1hy let me explain this process in detail User use this function to create a document. First,he must upload a main file. When he uploads his file,our component in backend can process this...
0
1182
by: Paul | last post by:
Cures for Cancer–AIDS–Chronic Fatigue–Chronic Pain–Diabetes… …and the list could go on. There is a Medical/Pharmaceutical Cartel in America that is more evil than the Arms Dealers and Terrorists of this world. These cures exist and have been suppressed and run out of the country. Doctors making these discoveries have had their research...
6
1961
by: JohnQ | last post by:
I like, non-copyable, non-assignable and, most often, non-default-constructable also, as a starting point for class design: class SomeClass { SomeClass(); // disallow default construction SomeClass(const SomeClass&); // disallow copy construction SomeClass& operator=(const SomeClass&); // disallow assignment public:
7
1294
by: Beorn | last post by:
Consider this example: ... for i in range(5): ... def g(): return x + i ... yield g I would expect the value of x used in g to be that at the function declaration time, as if you've pass g a (x=x) argument, especially after reading this post: http://lua-users.org/wiki/LuaScopingDiscussion
0
7697
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...
0
7612
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...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
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...
0
7968
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...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.