473,948 Members | 11,806 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Acess aplication block

Hi

I have Microsoft Enterprise Library 2005 installed on my local system.
I m also using ASp.net 1.1 And C3 as coding language , I have MS Sql
Server 2000.

I am developing a web application in which i am using data Access
Application Block for data access.

I have a remote web n data server with asp.net 1.1 support

the application is working fine here on the local server(web & data).

when i change the data server path to the remote server it also working
fine but
When I uploaded the application on the remote server n tested there it
gives me the following err
ex.message was

>>>>>The type initializer for
>"Microsoft .Practices.Ente rpriseLibrary.D ata.Instrumenta tion.DataConnec tionFailedEvent "
>threw an exception.
ex.Source was

.............Mi crosoft.Practic es.EnterpriseLi brary.Data

ex.trace was

at
Microsoft.Pract ices.Enterprise Library.Data.In strumentation.D ataConnectionFa iledEvent.Fire( String
connectionStrin g) at
Microsoft.Pract ices.Enterprise Library.Data.In strumentation.D ataInstrumentat ionFacade.Conne ctionFailed(Str ing
connectionStrin g) at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection() at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand Wrapper
command) at property.m4.But ton2_Click(Obje ct sender, EventArgs e)
Plz help me why this is happening...... .....

Mukesh Kumar agarwal
Delhi
India


Sep 9 '06 #1
1 1309
You have a problem with your connection string
or
You do not have proper network protocols installed for SQL Server
connections
or
You have not given proper access rights for the account (goes back to
improper conn string)

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside the box!
*************** *************** *************** ****
"Mukesh" <ef*****@newsgr oups.nospamwrot e in message
news:OQ******** ******@TK2MSFTN GP05.phx.gbl...
Hi

I have Microsoft Enterprise Library 2005 installed on my local system.
I m also using ASp.net 1.1 And C3 as coding language , I have MS Sql
Server 2000.

I am developing a web application in which i am using data Access
Application Block for data access.

I have a remote web n data server with asp.net 1.1 support

the application is working fine here on the local server(web & data).

when i change the data server path to the remote server it also working
fine but
When I uploaded the application on the remote server n tested there it
gives me the following err
ex.message was

>>>>The type initializer for
"Microsoft. Practices.Enter priseLibrary.Da ta.Instrumentat ion.DataConnect ionFailedEvent"
threw an exception.

ex.Source was

............Mic rosoft.Practice s.EnterpriseLib rary.Data

ex.trace was

at
Microsoft.Pract ices.Enterprise Library.Data.In strumentation.D ataConnectionFa iledEvent.Fire( String
connectionStrin g) at
Microsoft.Pract ices.Enterprise Library.Data.In strumentation.D ataInstrumentat ionFacade.Conne ctionFailed(Str ing
connectionStrin g) at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.OpenConn ection() at
Microsoft.Pract ices.Enterprise Library.Data.Da tabase.ExecuteR eader(DBCommand Wrapper
command) at property.m4.But ton2_Click(Obje ct sender, EventArgs e)
Plz help me why this is happening...... .....

Mukesh Kumar agarwal
Delhi
India


Sep 9 '06 #2

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

Similar topics

2
278
by: suzy | last post by:
hi, can anyone explain to me how application blocks differ to references. from my understanding an application block is a reference to a pre-compiles bit of code, (which is what a reference is). thanks in advance.
2
2515
by: vidya | last post by:
Hi, I wrote a stored procdure in SQL Server which calculates some metrics. This procedure always returns only one row with 11 columns of integer values. I ran it in SQL Server Query Analyzer thru a remote machine and it executes the procedure in 5 to 6 seconds. I wrote some ADO.Net SqlDataReader code and it takes 25 seconds to get the data back from the same remote machine.
0
5433
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access Application Block (DAAB) in our .Net projects. We use SqlHelper in SQL based projects, and OracleHelper in Oracle based ones. OracleHelper was not published officially by Microsoft as part of the DAAB but it was given as a helper code in a sample .Net...
6
4164
by: Mukesh | last post by:
Hi I have Microsoft Enterprise Library 2005 installed on my local system. I m also using ASp.net 1.1 And C3 as coding language , I have MS Sql Server 2000. I am developing a web application in which i am using data Access Application Block for data access. I have a remote web n data server with asp.net 1.1 support
3
1827
by: Mukesh | last post by:
Hi all As per my earlier conversation with Ciaran (thx for reply) I have installed the MS APplication block on the server , when i ran Build Enterprise Library file and Install Services from (batch files ) programme files menu it was asking for visual studio 2003 , I have only .net framework on the server how can i use the MS application block data access library on my server plz help... Mukesh Agarwal
3
1593
by: ivanerz | last post by:
I am at a loss How do i load a vb data grid that is on a web form with data from an MS Acess table? Please forgive me if this is posted to the wrong forum.
1
1476
by: qwer | last post by:
hi im actually doing on a SMS application using Visual Basic.Net whereby the objective is to allow the user to send a SMS to the visual basic programme and i should decode out the hp no, car plate, time in,time out and date.And finally import the data(hp number, car plate number....as stated earlier) into Miscrosoft Access.I have already successfully decoded the data and May I know how i can import the decoded information/data into Microsoft...
0
1217
parshupooja
by: parshupooja | last post by:
Hey All, I am trying to create utility to check data inconsistency in ASP.net 2.0 C# means I want to compare two databases in two different sources i.e MS Access and SQL Server. I want to create application where I should provide two data connection strings one for Acess and one for SQL server and then I want to compare for ex: if I am comparing master DB and somebody has added table "xyz" in MS Acess master DB, then I want to generate a...
1
1455
by: KF4fun | last post by:
Recently i am being given a windows aplication which was made using VB.net . I was asked to remake the windows aplication but i found it quite hard to do so because i am new to VB.net . The codes were strangers to me . heres the aplication so can someone please explain to me how this aplication can be made . Thanks a bunch if u could do it . THE DOWNLOAD:DOwnload The CODES ARE AS FOLLOWS ..
1
1918
by: lokeshreddy16 | last post by:
'this is my code plz guys help how to save data from vb 2005 and other this that i am able to view the data from acess but i am not able save to acess i dont whether my code for save is correct of not ( iam using vb2005 as front end and MS acess as by back end) Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the...
1
11352
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
10694
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
9896
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7431
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6118
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
6337
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4948
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
3
3544
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.