473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Problems Deploying Data Access Application Block

Hi,

I am using the data access application block successfully in our development
environment, however when I deploy to our testing server as Private
Assemblies I keep getting the following

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: Required permissions cannot be acquired.

Source Error:
[No relevant source lines]
Source File: machine.config Line: 199

I do not have access to the machine.config file everything should be
accessed from the web.config and the databaseconfiguration.config
I am deploying to the /bin folder.
The server is on Windows 2003 Server/IIS 6
The development box is on XP Pro
It is not a web service

Nov 19 '05 #1
3 1701
What makes you think its the Data Access Application block? Sounds like
something else is causing the issue.

--
- Paul Glavich
MVP ASP.NET
http://weblogs.asp.net/pglavich
ASPInsiders member - http://www.aspinsiders.com
"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
Hi,

I am using the data access application block successfully in our
development
environment, however when I deploy to our testing server as Private
Assemblies I keep getting the following

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: Required permissions cannot be acquired.

Source Error:
[No relevant source lines]
Source File: machine.config Line: 199

I do not have access to the machine.config file everything should be
accessed from the web.config and the databaseconfiguration.config
I am deploying to the /bin folder.
The server is on Windows 2003 Server/IIS 6
The development box is on XP Pro
It is not a web service

Nov 19 '05 #2
Hi,

It is the only variable. I have a live working system where I am using
System.Data.SQLClient which works perfectly.

As soon as I change any code to use the DAAB and upload to the live server
it fails.

My guess was that there must be some security access needed that my live
server does not allow.

Thanks in advance
Rachel

"Paul Glavich [MVP ASP.NET]" wrote:
What makes you think its the Data Access Application block? Sounds like
something else is causing the issue.

--
- Paul Glavich
MVP ASP.NET
http://weblogs.asp.net/pglavich
ASPInsiders member - http://www.aspinsiders.com
"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
Hi,

I am using the data access application block successfully in our
development
environment, however when I deploy to our testing server as Private
Assemblies I keep getting the following

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: Required permissions cannot be acquired.

Source Error:
[No relevant source lines]
Source File: machine.config Line: 199

I do not have access to the machine.config file everything should be
accessed from the web.config and the databaseconfiguration.config
I am deploying to the /bin folder.
The server is on Windows 2003 Server/IIS 6
The development box is on XP Pro
It is not a web service


Nov 19 '05 #3
The DAAB is simply a wrapper around the SQLClient. Have you done any strong
naming of that library and installed in the GAC or simply used the library
as is? You could try running 'fuslogvw' to see what other assemblies its
trying to bind to and see where it fails.

--
- Paul Glavich
MVP ASP.NET
http://weblogs.asp.net/pglavich
ASPInsiders member - http://www.aspinsiders.com
"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
Hi,

It is the only variable. I have a live working system where I am using
System.Data.SQLClient which works perfectly.

As soon as I change any code to use the DAAB and upload to the live server
it fails.

My guess was that there must be some security access needed that my live
server does not allow.

Thanks in advance
Rachel

"Paul Glavich [MVP ASP.NET]" wrote:
What makes you think its the Data Access Application block? Sounds like
something else is causing the issue.

--
- Paul Glavich
MVP ASP.NET
http://weblogs.asp.net/pglavich
ASPInsiders member - http://www.aspinsiders.com
"Rachel" <Ra****@discussions.microsoft.com> wrote in message
news:2A**********************************@microsof t.com...
> Hi,
>
> I am using the data access application block successfully in our
> development
> environment, however when I deploy to our testing server as Private
> Assemblies I keep getting the following
>
> 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: Required permissions cannot be acquired.
>
> Source Error:
>
>
> [No relevant source lines]
>
>
> Source File: machine.config Line: 199
>
> I do not have access to the machine.config file everything should be
> accessed from the web.config and the databaseconfiguration.config
>
>
> I am deploying to the /bin folder.
> The server is on Windows 2003 Server/IIS 6
> The development box is on XP Pro
> It is not a web service
>
>
>


Nov 19 '05 #4

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

Similar topics

0
by: ad | last post by:
I have used Data Application Access Block2 in my web application. Now I download the Library Data Access Application Block. and read the document. May be I am stupid, I can't migrate it to...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
5
by: | last post by:
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database. The application works fine on the machine with the development...
0
by: Devlei | last post by:
I have developed an application using Visual Studio 2003 and Win XP. All works 100% on Win XP, but on deploying to Win 98 I am getting the following problems: 1. The installer creates shortcuts...
4
by: JM | last post by:
Hi, I am an old programmer who is only just getting back into it after about 10 years, and for the life of me I can not work out what I am doing wrong. Firstly, I've recently downloaded and...
7
by: galico | last post by:
Hi All, We are having a very strange problem with the above. We have designed an application in ASP.NET 2.0 that uses the enterprise library data application blocks amongst others. We seem to be...
9
by: Geoffrey Callaghan | last post by:
I am trying to create a web application using VB.NET. I will be deploying multiple instances of this application on the same server, each with it's own Access database. Unfortunately, every example...
6
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...
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.