473,394 Members | 1,902 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,394 software developers and data experts.

Problem Debugging Web App

Hello,

When trying to run my C# web app (either direct or through VS.NET), I get the following error:

Server Error in '/JSEMS.Recruitment.WebClient' 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: Required permissions cannot be acquired.

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

Any help would be greatly appreciated.

Thanks!

Ian
Nov 15 '05 #1
3 1233
Most likely your app is attempting to do some action for which it does not
have sufficient permission under the identity it runs under.
An easy workaround (although you should be aware of the security issues
involved in a deployment scenario) is to change the userName in the
machine.config "processModel" section from "machine" to read "system"
Peter

"R. Ian Lee" <an*******@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...
Hello,

When trying to run my C# web app (either direct or through VS.NET), I get the following error:
Server Error in '/JSEMS.Recruitment.WebClient' 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: Required permissions cannot be acquired.

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

Any help would be greatly appreciated.

Thanks!

Ian

Nov 15 '05 #2
another option to consider: your app cannot find or cannot read the
web.config file itself. Make sure that your permissions are set so that
this file can be read by the running identity.

"R. Ian Lee" <an*******@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...
Hello,

When trying to run my C# web app (either direct or through VS.NET), I get the following error:
Server Error in '/JSEMS.Recruitment.WebClient' 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: Required permissions cannot be acquired.

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

Any help would be greatly appreciated.

Thanks!

Ian

Nov 15 '05 #3
Peter & Nick

I tried both of your suggestions and I'm still getting the same error. When I deploy this application to the server using an .msi I do not get this problem and other developers are not getting it. I've given the ASPNET & IUSR_ accounts access. Are there any others that need to be granted? Any more pieces of wisdom?

Thanks

Ian
Nov 15 '05 #4

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

Similar topics

3
by: Stephanie | last post by:
I have a problem that I am trying to solve. We have a huge product with a whole lot of ASP and VB code. VB code is all ActiveX dlls which are used by ASP app. When I attempt to add features or fix...
10
by: Matt Fielder | last post by:
I have developed a custom control to be used in my application. My application includes a form designer, so the control can be hosted while designmode for the control is either true or false,...
2
by: PJ | last post by:
I'm at the end of my rope, I've tried everything I can think of and, while the problem is all over google, no answer has worked for me. I'm getting the following error while trying to start my web...
1
by: Günther Rühmann | last post by:
Hi, I´m not sure if i´m right int this group... My problem: I made a vb .net application that reads from AD via System.Directoryservices.Directoryentry. The appliocation enumerates group...
0
by: Tequila | last post by:
Here’s the description I’d launched Visual Studio and started to write an application After some time of coding, I wanted to test it. I pressed F5 hopin to run application for debugging. I...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
3
by: Lambuz | last post by:
Hi all, I've got this problem. I've to implemente a solution like the example in http://support.microsoft.com/default.aspx?scid=kb;EN-US;313891, but I can't configure correctly the example. ...
0
by: Budhi Saputra Prasetya | last post by:
Hi, I still have the same problem with embedding Windows Control. I'll just requote what I posted last time: I managed to create a Windows Form Control and put it on my ASP .NET page. I...
4
by: Vivienne | last post by:
I am using vs 2005 on windows xp. I created a project, named ssps.And when debugging, I set project property->debugging->command argument the way I wanted,like this: -b f: \files f:\files. Then...
2
by: jiang.haiyun | last post by:
Hi, I am having some serious problems with PyQT4, when i run pyqt script, I always get 'Segmentation fault'. the script is simple: ====================== %less qttest.py from PyQt4 import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...

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.