Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASPNET user
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00866414
Message ID:
00866506
Vues:
20
Hi Clay,

I'm not an expert in Oracle but you need to grant writes to ASPNET to access the database. Is Oracle on a different server? If so, then the ASPNET account will need to have access rights to get to the server. The other option is to use impersonation of another user that has the appropriate rights.

>Perhaps I should be posting this in the "ASP.NET in general" category...
>
>I have a Windows Form that connects to an Oracle database and everything works great. I also have an ASP.NET page that calls the same business object that my Windows Form does but I get the following error when I click on the button on my aspx page that fires the call to my business object:
>
>"Oracle client and networking components were not found. These components..."
>
>I since found some MS Knowledge Base articles (Q306158 in particluar) that mention different approaches of impersonation. I've tried both adding...
>
>  <system.web>
>	<identity impersonate="true" />
>  </system.web>
>
>and
>
>  <system.web>
>	<identity impersonate="false" userName="ASPNET" password="password"/>
>  </system.web>
>
>...to my web.config file (its element contains exactly what I have from my app.config file's element) and I continue to get the same Oracle related error message.
>
>I made changes to my ASPNET user account based on this thread as well thinking that might be the problem:
>http://p2p.wrox.com/archive/aspx_beginners/2002-09/4.asp
>
>Same resulting error message.
>
>I'm sure that the problem lies somewhere with my ASPNET user account since everything works just fine from within my Windows Forms.
>
>Thanks for any help!
>Clay
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform