Click here to Skip to main content
15,881,172 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUser can circumvent the Security Pin
kjosh16-Feb-07 8:35
kjosh16-Feb-07 8:35 
AnswerRe: User can circumvent the Security Pin
Michael Sync16-Feb-07 21:36
Michael Sync16-Feb-07 21:36 
Questionweb developer server to IIS Pin
arunkamath16-Feb-07 7:22
arunkamath16-Feb-07 7:22 
AnswerRe: web developer server to IIS Pin
Marcus J. Smith16-Feb-07 7:59
professionalMarcus J. Smith16-Feb-07 7:59 
QuestionRegular Expression Problem Pin
adnanrafiq16-Feb-07 7:20
adnanrafiq16-Feb-07 7:20 
AnswerRe: Regular Expression Problem Pin
ednrgc16-Feb-07 9:20
ednrgc16-Feb-07 9:20 
GeneralRe: Regular Expression Problem Pin
adnanrafiq16-Feb-07 9:40
adnanrafiq16-Feb-07 9:40 
Questionasp.net & Oracle Pin
aransiola16-Feb-07 6:14
aransiola16-Feb-07 6:14 
im trying to access data from Oracle 9i from asp.net page. I am tring to read the ConnectionString property from my web.config file with the code below

Imports System.Data
Imports System.Data.OleDb
Imports System.Configuration

Partial Class AddLocations
Inherits System.Web.UI.Page

'Dim connString As String = ConfigurationManager.ConnectionStrings.ToString
Dim connString As String = ConfigurationManager.AppSettings.Item("ORAConnectionString").ToString
Dim oCnn As New OleDbConnection(connString)
Dim oCmd As OleDbCommand

on running the page i got this error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

see my web.config file below

webconfig
---------------
<configuration>
<appsettings>
<connectionstrings>
<add name="ORAConnectionString" connectionstring="Data Source=dcs;User ID=scott;Password=tiger;Unicode=True" providername="System.Data.OracleClient">


t.aransiola
AnswerRe: asp.net & Oracle Pin
sathesh pandian19-Feb-07 23:25
sathesh pandian19-Feb-07 23:25 
QuestionApplication settings in constructor Pin
mail57235216-Feb-07 5:31
mail57235216-Feb-07 5:31 
AnswerRe: Application settings in constructor Pin
kubben16-Feb-07 6:00
kubben16-Feb-07 6:00 
AnswerRe: Application settings in constructor Pin
badgrs16-Feb-07 6:01
badgrs16-Feb-07 6:01 
AnswerRe: Application settings in constructor Pin
thowra16-Feb-07 7:52
thowra16-Feb-07 7:52 
Questionhow to create a link in a grid view's each row to navigate to some other page Pin
theprofound16-Feb-07 4:25
theprofound16-Feb-07 4:25 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 4:49
badgrs16-Feb-07 4:49 
AnswerRe: how to create a link in a grid view's each row to navigate to some other page Pin
-Dr_X-16-Feb-07 5:04
-Dr_X-16-Feb-07 5:04 
GeneralRe: how to create a link in a grid view's each row to navigate to some other page Pin
badgrs16-Feb-07 5:30
badgrs16-Feb-07 5:30 
QuestionDisplay excel files in web browser Pin
venkatasivaramaprasad15-Feb-07 23:41
venkatasivaramaprasad15-Feb-07 23:41 
AnswerRe: Display excel files in web browser Pin
Michael Sync15-Feb-07 23:50
Michael Sync15-Feb-07 23:50 
AnswerRe: Display excel files in web browser Pin
Sylvester george15-Feb-07 23:59
Sylvester george15-Feb-07 23:59 
GeneralRe: Display excel files in web browser Pin
venkatasivaramaprasad16-Feb-07 1:37
venkatasivaramaprasad16-Feb-07 1:37 
GeneralRe: Display excel files in web browser Pin
venkatasivaramaprasad16-Feb-07 1:41
venkatasivaramaprasad16-Feb-07 1:41 
GeneralRe: Display excel files in web browser Pin
Sylvester george16-Feb-07 1:46
Sylvester george16-Feb-07 1:46 
QuestionVisual Studio 2003 - setup and deployment project Pin
micutzu15-Feb-07 22:46
micutzu15-Feb-07 22:46 
Questionpublish Pin
Shriya Kapoor15-Feb-07 22:30
Shriya Kapoor15-Feb-07 22:30 

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.