Data Access Block - Pattern & Practice

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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\Microsoft.NET\Framework\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\wwwroot\MyWebApp1\bin\

Run the InstallUtil.exe against the Enterprise Library dll's in that \bin\
directory. For example:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\InstallUtil.exe
D:\Inetpub\wwwroot\MyWebApp1\bin\Microsoft.Practices.EnterpriseLibrary.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=site:msdn.microsoft.com+InstallUtil.e
xe
Hope that would solve your problem
** This did the trick on some PC's
Patrick
 
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,

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.
 
Back
Top