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:
00866580
Vues:
19
Hi Cathi,

Well that makes two of us! :) (and I don't want to be an expert in Oracle)

Yes, Oracle is on a dedicated server in our network. I have created a user named "ASPNET" and gave it DBA rights which should be plenty but I still have the same resulting error from my ASP.NET page.

However, that was just me creating a local user account named "ASPNET" on the Oracle server...it's not actually "the" ASPNET account from my development machine. If that's the problem then I guess I'll try creating a domain ASPNET account and try to use that as my develpment account and also grant it access on the Oracle server.

Thanks,
Clay


>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
--------------------------
Clay Angelly
cangelly@ie-inc.com
Never argue with an idiot. They drag you down to their level and beat you with experience.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform