On Apr 8, 2:00 pm, sillz <beth.sto...@gm ail.comwrote:
In trying to help a developer get his code working, some of our .NET
apps stopped working.
We were trying to get the .NET Application to open pdf files on a
remote .NET server. The aspnet account kept getting locked out on
the remote IIS 6.0 server. I read about impersonation, so I reset the
aspnet user account on both the application server and the remote
server hosting the pdf files so they matched. We added the
impersonation code to the web.config for that application.
<identity impersonate="tr ue" userName="aspne t" password="mypas sword"/
The aspnet user account kept getting locked out on the remote box, so
I ran asp_regiis -i, and I created a new user account with all of the
privleges, and that worked fine. We added the username and password
to the web.config file for that application.
Now, for the other applications on the server are getting the error
below. It looks like the aspnet user account is still having problems
although it's not getting locked out.
How can I get the aspnet user account to work for the other web apps?
I don't think I want to use impersonation for all applications. Do
all of the security settings need to be redone for the aspnet account
after running asp_regiis -i? If so, then what are they?
Any help is appreciated.
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 4/8/2008
Time: 1:55:47 PM
User: N/A
Computer: IMEM1
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/8/2008 1:55:47 PM
Event time (UTC): 4/8/2008 8:55:47 PM
Event ID: 9343d553050841f abb3cdd4706ef44 df
Event sequence: 105
Event occurrence: 18
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/
claims_test-38-128520780871827 405
Trust level: Full
Application Virtual Path: /claims_test
Application Path: C:\Inetpub\wwwr oot\Claims_test \
Machine name: IMEM1
Process information:
Process ID: 604
Process name: aspnet_wp.exe
Account name: IMEM1\ASPNET
Exception information:
Exception type: OracleException
Exception message: ORA-28001: the password has expired
Request information:
Request URL:http://localhost/claims_test/Claims/HRSA/HRSA.aspx
Request path: /claims_test/Claims/HRSA/HRSA.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: IMEM1\ASPNET
Thread information:
Thread ID: 6
Thread account name: IMEM1\ASPNET
Is impersonating: False
Stack trace: at
System.Data.Ora cleClient.Oracl eException.Chec k(OciErrorHandl e
errorHandle, Int32 rc)
at
System.Data.Ora cleClient.Oracl eInternalConnec tion.OpenOnLoca lTransaction(St ring
userName, String password, String serverName, Boolean
integratedSecur ity, Boolean unicode, Boolean omitOracleConne ctionName)
at
System.Data.Ora cleClient.Oracl eInternalConnec tion..ctor(Orac leConnectionStr ing
connectionOptio ns)
at
System.Data.Ora cleClient.Oracl eConnectionFact ory.CreateConne ction(DbConnect ionOptions
options, Object poolGroupProvid erInfo, DbConnectionPoo l pool,
DbConnection owningObject)
at
System.Data.Pro viderBase.DbCon nectionFactory. CreatePooledCon nection(DbConne ction
owningConnectio n, DbConnectionPoo l pool, DbConnectionOpt ions options)
at
System.Data.Pro viderBase.DbCon nectionPool.Cre ateObject(DbCon nection
owningObject)
at
System.Data.Pro viderBase.DbCon nectionPool.Use rCreateRequest( DbConnection
owningObject)
at
System.Data.Pro viderBase.DbCon nectionPool.Get Connection(DbCo nnection
owningObject)
at
System.Data.Pro viderBase.DbCon nectionFactory. GetConnection(D bConnection
owningConnectio n)
at
System.Data.Pro viderBase.DbCon nectionClosed.O penConnection(D bConnection
outerConnection , DbConnectionFac tory connectionFacto ry)
at System.Data.Ora cleClient.Oracl eConnection.Ope n()
at Claims_HRSA_HRS A.Page_Load(Obj ect sender, EventArgs e)
at System.Web.Util .CalliHelper.Ev entArgFunctionC aller(IntPtr fp,
Object o, Object t, EventArgs e)
at System.Web.Util .CalliEventHand lerDelegateProx y.Callback(Obje ct
sender, EventArgs e)
at System.Web.UI.C ontrol.OnLoad(E ventArgs e)
at System.Web.UI.C ontrol.LoadRecu rsive()
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
Custom event details:
For more information, see Help and Support Center athttp://go.microsoft.co m/fwlink/events.asp.
I never could get this to work. The oracle account tested fine. I
ended up creating a new account in Windows with the right permissions
and this solved the problem. 0 2578 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Robby Dermody |
last post by:
Hey guys (thus begins a book of a post :),
I'm in the process of writing a commercial VoIP call monitoring and
recording application suite in python and pyrex. Basically, this
software sits in a VoIP callcenter-type environment (complete with agent
phones and VoIP servers), sniffs voice data off of the network, and
allows users to listen into calls. It can record calls as well. The
project is about a year and 3 months in the making and...
|
by: jjmraz |
last post by:
Hi,
I have a need to create an app that will check on my pc what apps are
running and if one is found that shouldn't be running, shut it down.
How can I do this in c# or what areas should I be looking at in the
framework? Code samples or snips appreciated.
Thanks,
JJ
|
by: Martyn Fewtrell |
last post by:
Dear All
I have a Windows 2003 Server with IIS6 where the validation controls on
ASP.Net pages no longer work.
I believe it to be specific to the server as if I create an ASP.Net page on
the IIS Server of my Workstation (Win XP) with a text box, button and
required field validator, this works fine. If I create the same page on the
IIS6 Windows 2003 Server the validation control doesn't stop the post. I've
tried different browsers and...
|
by: Sarah Smith |
last post by:
Hello,
I am a bit of a newbie to VB.NET, but not totally new. I took the
plunge recently and decided (along with my colleagues), to try to
convert/port a VB6 client/server app to .Net.
(I'm not using any upgrade tools, I'm just re-writing).
I have be learning/testing .net with SDI type forms and now I'm
actually working on the conversion, I'm starting to worry that VB.net
|
by: Jim |
last post by:
With .net having been around for a while now, does anyone know what the
uptake of major software houses is in using .net for Windows Application
development? e.g. have the likes of Adobe, MS, Corel, etc actually released
any applications that use the framework?
Jim
| |
by: morangolds |
last post by:
Hi,
I've been having a problem with C++ Windows Forms apps not "ending"
when you close the form window. I've searched about this problem all
over the place and most searches have lead me to believe that this has
to do with unreleased form component events or event handlers.
I'm comparatively new to .net and windows forms, in the sense that
though I've been using them for over 2 years now, it's been rather
sporadic. I work with...
|
by: Frank Rizzo |
last post by:
I have a set of apps that require .net 1.1 framework. I've installed
them on Windows 2003 Server (x64) with the .net 2.0 (x64) framework. I
can't seem to find the x64 1.1 framework and the x86 .net 1.1 framework
refuses to install on win2003 x64. Is there such a thing as x64 1.1
framework? If not, is there a way to fool the apps into thinking that
the 1.1 framework is installed?
Regards
|
by: lds |
last post by:
On our server we have both applications that have been migrated to use
v2.0 of the framework as well as apps that have not yet been migrated
and still use 1.1. When I tried to deploy my v2.0 app earlier today
it would not work. We restarted IIS and evenutally it started
working, but not right after it restarted. Once it finally started
working, the other v1.1 apps stopped working and we got the "Server
Application is not available"...
|
by: GaryDean |
last post by:
(this was also posted on the MSDN WCF forum but the answers over there are
not so good)
I have a WCF Library hosted by IIS 6 and it all works fine. However I need
to step through the code in the service. But when I hit F5 in VS2008 I get
the following error message. . .
A binding instance has already been associated to listen URI
'http://localhost:8877/VtaxDataService'. If two endpoints want to share the
same ListenUri, they must also...
|
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: 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...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |