473,734 Members | 2,789 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Recruitme nt.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 1251
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 "processMod el" section from "machine" to read "system"
Peter

"R. Ian Lee" <an*******@disc ussions.microso ft.com> wrote in message
news:D1******** *************** ***********@mic rosoft.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.Recruitme nt.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*******@disc ussions.microso ft.com> wrote in message
news:D1******** *************** ***********@mic rosoft.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.Recruitme nt.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
2523
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 bugs, I like to execute the dlls in debug so I can see what is going on. (Some folks in my org seem to have this kinda wacky bias against debugging, as if *real* programmers should not need a debugger. Whatever, it is the fastest way for me to get...
10
5495
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, depending on whether they are using the form designer, or in "run mode". The custom control includes a slider control that is supposed to be active in our form designer (designmode=true) and inactive in our run mode (designmode=false). The problem...
2
4078
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 project in debug mode. "Error while trying to run the project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server. Would you...
1
1782
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 members. It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it stops with a runtime error on any Windows 4.0 Workstation. The error is: System.Runtime.InteropServices.COMException 0x800500F. at...
0
281
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 was expecting my app to start. It didn’t happen†The screen blinked, became black and after a few seconds returned “normal” picture whole VS IDE become frozen and looked that is still in design mod with the hourglass as cursor icon. After...
5
4088
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 both projects. Both controls(dlls) have been signed using SN.exe and I've set up the appropriate .Net assembly permissions using those Strong Names The DLL's have been copied to the /bin directory in both web virtual directories.
3
1478
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. Every time I click on the textBox a System.Security.SecurityException is raised.
0
2060
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 have done the suggestion that is provided by modifying the security settings. From the stack trace, I would assume that the code throws exception when it
4
1593
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 I ran the program. Everything went all right, and I got the exact result, and two files are successfully created at \ssps\debug, where the executable file ssps.exe located. when I finished debugging , I made the release version, so I got the...
2
3267
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 QtGui, QtCore import sys
0
8946
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, 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...
0
8776
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,...
0
9449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9310
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9182
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
6031
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
4550
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...
1
3261
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
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.