Click here to Skip to main content
15,892,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need help to create custom control Pin
Goalie352-Jun-09 19:44
Goalie352-Jun-09 19:44 
GeneralRe: Need help to create custom control Pin
Jain Vijay2-Jun-09 20:11
Jain Vijay2-Jun-09 20:11 
GeneralRe: Need help to create custom control Pin
Goalie353-Jun-09 3:38
Goalie353-Jun-09 3:38 
GeneralRe: Need help to create custom control Pin
Jain Vijay3-Jun-09 17:48
Jain Vijay3-Jun-09 17:48 
GeneralRe: Need help to create custom control Pin
Goalie353-Jun-09 18:25
Goalie353-Jun-09 18:25 
Question[Message Deleted] Pin
R_L_H1-Jun-09 15:01
R_L_H1-Jun-09 15:01 
AnswerRe: BUG?- Username randomly appearing in Text Form Control (Only in Firefox) Pin
RajeevKumarSharma1-Jun-09 23:12
RajeevKumarSharma1-Jun-09 23:12 
QuestionQuestion about connection strings to an Oracle DB Pin
Nostrom01-Jun-09 12:32
Nostrom01-Jun-09 12:32 
Hello,

This question straddles the Oracle and ASP.NET worlds -- I hope this is the right place for it:

I'm trying to understand a legacy ASP.NET 2.0 website that uses an old Oracle database on the back-end. There is also an admin console wepapp which services the main website, but is a separate application, not an Admin subfolder.

The Oracle database has two "schemas", named WEBSITEADMIN and WEBSITEUSER, which have identical tables and stored procedures. Oracle seems to use the word "schema" to refer to groups of tables within a database - i.e. the two schemas seem to actually be distinct and seperate, as when I add columns to a table in the WEBSITEADMIN schema, the additions do not appear in the same table under the WEBSITEUSER schema.

The main webapp has an <appSettings> key pointing only towards the WEBSITEADMIN schema in the Oracle database, and indeed it appear to read and write only to that schema.

The admin console website, however, has the following in its web.config folder:

<appSettings>
    <add key="connectionString" value="user id=websiteadmin;data source=DATABASE;password=xxxxxx"/>
    <add key="DataConnection" value="user id=websiteadmin;data source=DATABASE;password=xxxxxx"/>
    <add key="domainName" value="adminsite.company.com"/>
    <add key="MachineName" value="mbd01235pd"/>
    <add key="Administrator" value="COMPANY\myemail"/>
    <add key="AdminAddress" value="myemail@company.com"/>
    <add key="ServerSideViewState" value="true"/>
</appSettings>
<connectionStrings>
    <add
        name="ConnectionString"
        connectionString="Data Source=DATABASE;User ID=WEBSITEUSER;Password=xxxxxxx;Unicode=True"
        providerName="System.Data.OracleClient"/>
</connectionStrings>


...so, the admin console webapp has an "appsettings" key referring to the WEBSITEADMIN schema, but the <connectionstrings> tag refers to the WEBSITEUSER scheme... erm... why?

Any idea why this app would have connections to both schemas if the main website appears to be only displaying data from one of those schemas?

Thanks for any advice.
AnswerRe: Question about connection strings to an Oracle DB Pin
Colin Angus Mackay1-Jun-09 20:59
Colin Angus Mackay1-Jun-09 20:59 
QuestionAuthenticate users Pin
hahii1-Jun-09 11:05
hahii1-Jun-09 11:05 
AnswerRe: Authenticate users Pin
Christian Graus1-Jun-09 11:29
protectorChristian Graus1-Jun-09 11:29 
AnswerRe: Authenticate users Pin
Colin Angus Mackay1-Jun-09 13:36
Colin Angus Mackay1-Jun-09 13:36 
QuestionInsert statement (please read again.) Pin
hahii1-Jun-09 10:57
hahii1-Jun-09 10:57 
AnswerRe: Insert statement (please read again.) Pin
Christian Graus1-Jun-09 11:30
protectorChristian Graus1-Jun-09 11:30 
AnswerRe: Insert statement (please read again.) Pin
Colin Angus Mackay1-Jun-09 13:32
Colin Angus Mackay1-Jun-09 13:32 
AnswerRe: Insert statement (please read again.) Pin
Colin Angus Mackay1-Jun-09 13:38
Colin Angus Mackay1-Jun-09 13:38 
Questionlogin controls Pin
hahii1-Jun-09 10:50
hahii1-Jun-09 10:50 
AnswerRe: login controls Pin
Christian Graus1-Jun-09 11:30
protectorChristian Graus1-Jun-09 11:30 
QuestionSending values of GridView, Datatable in asp.net in session Pin
ashutosh_karna1-Jun-09 10:29
ashutosh_karna1-Jun-09 10:29 
AnswerRe: Sending values of GridView, Datatable in asp.net in session Pin
Christian Graus1-Jun-09 11:31
protectorChristian Graus1-Jun-09 11:31 
QuestionGridView Editing Pin
MacIntyre1-Jun-09 10:18
MacIntyre1-Jun-09 10:18 
AnswerRe: GridView Editing Pin
ToddHileHoffer1-Jun-09 10:26
ToddHileHoffer1-Jun-09 10:26 
QuestionHow to create HyperLink for field in Crystal CrossTab report ? Pin
David Mujica1-Jun-09 10:14
David Mujica1-Jun-09 10:14 
AnswerRe: How to create HyperLink for field in Crystal CrossTab report ? Pin
Member 204565326-Feb-11 9:22
Member 204565326-Feb-11 9:22 
QuestionInsert into table Pin
hahii1-Jun-09 10:14
hahii1-Jun-09 10:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.