Hi.
I am trying to use Data Access Application block provided by Microfost in
Enterprise Library June 2005. The application I am devleoping is in ASP.NET.
When I run my application and load up the aspx page first time, the
application works fine. Howeve, When I try to run it second time the aspx
page doesn't load and hangs up. I stepped through the code while running the
application second time and found that the code in the Page load event runs
from start to finish howerver the page wouldn't load.
Any suggestions as to how to resolve this issue will be greatly appreciated.
tshah. 3 1558
Tshah try this:-
InstallUtil.exe against the Enterprise Library dll's in my project \bin\
directory.
The InstallUtil.exe is located in the Windows/Microsoft.NET framework
directory. Usually, this is located in:
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322
where the version is your latest version.
Open a DOS prompt, and navigate to the application's \bin\ directory, for
example:
C:\Inetpub\wwwr oot\MyWebApp1\b in\
Run the InstallUtil.exe against the Enterprise Library dll's in that \bin\
directory. For example:
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ InstallUtil.exe
D:\Inetpub\wwwr oot\MyWebApp1\b in\Microsoft.Pr actices.Enterpr iseLibrary.Data .
dll
NOTE: It might be possible that the InstallUtil only needs to be run against
one of the dll's. Afterall, the problem is that the app can't write to the
registry, not that it can't find the dll's. But I don't know this for sure,
because I ran it for all three of my Enterprise Library dll's right off the
bat.
For more information on the InstallUtil.exe , obviously, MSDN has many
articles about it: http://www.google.com/search?hl=en&q...+InstallUtil.e
xe
Hope that would solve your problem
** This did the trick on some PC's
Patrick
"tshah" <ts***@discussi ons.microsoft.c om> wrote in message
news:68******** *************** ***********@mic rosoft.com... Hi. I am trying to use Data Access Application block provided by Microfost in Enterprise Library June 2005. The application I am devleoping is in
ASP.NET. When I run my application and load up the aspx page first time, the application works fine. Howeve, When I try to run it second time the aspx page doesn't load and hangs up. I stepped through the code while running
the application second time and found that the code in the Page load event
runs from start to finish howerver the page wouldn't load.
Any suggestions as to how to resolve this issue will be greatly
appreciated. tshah.
Patrick,
Thanks for your response.
I tried on two different machines what you said but it still doesn't work.
Second time when I load the aspx page, I have kill the aspnet_wp.exe process
in order to load up the page.
tshah.
"Patrick.O. Ige" wrote: Tshah try this:- InstallUtil.exe against the Enterprise Library dll's in my project \bin\ directory.
The InstallUtil.exe is located in the Windows/Microsoft.NET framework directory. Usually, this is located in: C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322 where the version is your latest version.
Open a DOS prompt, and navigate to the application's \bin\ directory, for example: C:\Inetpub\wwwr oot\MyWebApp1\b in\
Run the InstallUtil.exe against the Enterprise Library dll's in that \bin\ directory. For example: C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ InstallUtil.exe D:\Inetpub\wwwr oot\MyWebApp1\b in\Microsoft.Pr actices.Enterpr iseLibrary.Data . dll
NOTE: It might be possible that the InstallUtil only needs to be run against one of the dll's. Afterall, the problem is that the app can't write to the registry, not that it can't find the dll's. But I don't know this for sure, because I ran it for all three of my Enterprise Library dll's right off the bat.
For more information on the InstallUtil.exe , obviously, MSDN has many articles about it: http://www.google.com/search?hl=en&q...+InstallUtil.e xe Hope that would solve your problem ** This did the trick on some PC's Patrick
"tshah" <ts***@discussi ons.microsoft.c om> wrote in message news:68******** *************** ***********@mic rosoft.com... Hi. I am trying to use Data Access Application block provided by Microfost in Enterprise Library June 2005. The application I am devleoping is in ASP.NET. When I run my application and load up the aspx page first time, the application works fine. Howeve, When I try to run it second time the aspx page doesn't load and hangs up. I stepped through the code while running the application second time and found that the code in the Page load event runs from start to finish howerver the page wouldn't load.
Any suggestions as to how to resolve this issue will be greatly appreciated. tshah.
Patrick,
Thanks for your reply.
I tried on two different machines what you said but the aspx page still
hangs. I responded to your respones before also but it is not showing up in
the thread pane. I am new to the newsgroup so please forgive my ignorance as
to how to use this newsgroup.
Thanks again for your time.
tshah.
"Patrick.O. Ige" wrote: Tshah try this:- InstallUtil.exe against the Enterprise Library dll's in my project \bin\ directory.
The InstallUtil.exe is located in the Windows/Microsoft.NET framework directory. Usually, this is located in: C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322 where the version is your latest version.
Open a DOS prompt, and navigate to the application's \bin\ directory, for example: C:\Inetpub\wwwr oot\MyWebApp1\b in\
Run the InstallUtil.exe against the Enterprise Library dll's in that \bin\ directory. For example: C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ InstallUtil.exe D:\Inetpub\wwwr oot\MyWebApp1\b in\Microsoft.Pr actices.Enterpr iseLibrary.Data . dll
NOTE: It might be possible that the InstallUtil only needs to be run against one of the dll's. Afterall, the problem is that the app can't write to the registry, not that it can't find the dll's. But I don't know this for sure, because I ran it for all three of my Enterprise Library dll's right off the bat.
For more information on the InstallUtil.exe , obviously, MSDN has many articles about it: http://www.google.com/search?hl=en&q...+InstallUtil.e xe Hope that would solve your problem ** This did the trick on some PC's Patrick
"tshah" <ts***@discussi ons.microsoft.c om> wrote in message news:68******** *************** ***********@mic rosoft.com... Hi. I am trying to use Data Access Application block provided by Microfost in Enterprise Library June 2005. The application I am devleoping is in ASP.NET. When I run my application and load up the aspx page first time, the application works fine. Howeve, When I try to run it second time the aspx page doesn't load and hangs up. I stepped through the code while running the application second time and found that the code in the Page load event runs from start to finish howerver the page wouldn't load.
Any suggestions as to how to resolve this issue will be greatly appreciated. tshah.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: cksj |
last post by:
I'm working on a VB.Net DLL project. It has 6 classes. One of the classes
has the properties for the database path, database name and server name. The
purpose of this class is so that the DLL can be tested on different servers.
Without using the keyword "Shared", how can I share these data to the other
5 classes?
Thanks for any ideas!
Cesar
|
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...
|
by: Joe Bloggs |
last post by:
I have a general question on best practice regarding data access. I have
the code below, a static method defined in a class that I use in a data
layer dll. The method takes a string as its parameter, connects to the
database , executes the string (in this case SQL) in the form of a
SqlDataReader and then returns the SqlDataReader.
Here's the method...
public static SqlDataReader SQLServerExecuteSQL(string SQLstr)
{
|
by: headware |
last post by:
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design
question regarding the use of web services and APS.NET applications.
Right now we have an application that uses web services to access the
database layer. However, the code works in a pretty cumbersome and
ungeneric way. Basically every query, update, and insert has its own
function. So you see a lot of functions like
webService.InsertCustomer(name, age, phone);
or...
|
by: Art |
last post by:
Hi folks,
I'm writing a traditional desktop app using VB.NET and am stumbling
over what seems like a very basic question:
My app does not need to be connected to a server or another computer.
It just runs locally. So what is the best way to store user-entered
data? The app is like an address book, where users can enter contacts
and save the data.
| |
by: Dave |
last post by:
I trying to determine the best pattern for designing my business and data
layers...
Can the instance of the business object eventually cause memory leaks in
Example 1? If your business class doesn't implement IDisposable and falls
out scope, does it eventually get cleaned up by the GC or should it be set to
NULL?
If it can cause leaks, should the IDisposable always be implemented at a
base class level as a best practice?
|
by: Charles Law |
last post by:
Here's one that should probably have the sub-heading "I'm sure I asked this
once before, but ...".
Two users are both looking at the same data, from a database. One user
changes the data and commits it. How does the other user get the updated
view without polling for changes? Is there some sort of callback mechanism
that can be set up on the dataset or connection?
TIA
|
by: TarTar |
last post by:
Hello,
I need to feed UI controls (DataList, GridView etc) using XML or SQL Server.
What would be a "good practice" to access these two types of data sources?
Is ObjectDataSource a good choice?
I would appreciate any links to websites describing a Data Access Layer
suitable for various types of data sources.
Thanks,
|
by: Sh4wn |
last post by:
Hi,
first, python is one of my fav languages, and i'll definitely keep
developing with it. But, there's 1 one thing what I -really- miss:
data hiding. I know member vars are private when you prefix them with
2 underscores, but I hate prefixing my vars, I'd rather add a keyword
before it.
Python advertises himself as a full OOP language, but why does it miss
one of the basic principles of OOP? Will it ever be added to python?
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |