Click here to Skip to main content
15,923,789 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsource code formatter Pin
softramesh25-Jan-12 7:00
softramesh25-Jan-12 7:00 
AnswerRe: source code formatter Pin
thatraja26-Jan-12 2:13
professionalthatraja26-Jan-12 2:13 
QuestionAttempted to read or write protected memory Pin
abbd25-Jan-12 4:50
abbd25-Jan-12 4:50 
AnswerRe: Attempted to read or write protected memory Pin
R. Giskard Reventlov25-Jan-12 5:08
R. Giskard Reventlov25-Jan-12 5:08 
GeneralRe: Attempted to read or write protected memory Pin
abbd25-Jan-12 5:26
abbd25-Jan-12 5:26 
AnswerRe: Attempted to read or write protected memory Pin
Ankit Maini31-Jan-12 1:05
Ankit Maini31-Jan-12 1:05 
QuestionOption Strict On disallows late binding Pin
Seema Bawa24-Jan-12 6:49
Seema Bawa24-Jan-12 6:49 
AnswerRe: Option Strict On disallows late binding Pin
jesarg25-Jan-12 6:19
jesarg25-Jan-12 6:19 
That error occurs when you are trying to access a method or property that does not exist on the type you are using but might exist on a type that inherits from the type you are using.

Since no one else will answer the question, here's my analysis:

The ConfigurationSettings.GetConfig("IntranetSettings") will return a System.Object. You then try to access an array element ("ConnectionAsset") from it, and System.Objects aren't necessarily arrays. This is a likely cause of the error.

You should probably resort to explicitly casting the results of the GetConfig() method to whatever type it ends up being. After that, make sure that the SqlConnection() method is taking in a string rather than an object.
AnswerRe: Option Strict On disallows late binding Pin
jkirkerx25-Jan-12 13:00
professionaljkirkerx25-Jan-12 13:00 
Question'Sys' is Undefined Error Pin
vishnukamath23-Jan-12 22:53
vishnukamath23-Jan-12 22:53 
AnswerRe: 'Sys' is Undefined Error Pin
Bryian Tan24-Jan-12 16:57
professionalBryian Tan24-Jan-12 16:57 
AnswerRe: 'Sys' is Undefined Error Pin
jkirkerx25-Jan-12 12:54
professionaljkirkerx25-Jan-12 12:54 
QuestionIE issue with canceling the onBeforeUnload function Pin
ccrook23-Jan-12 7:36
ccrook23-Jan-12 7:36 
QuestionIssue with AppleMAC-Safari Pin
vanikanc23-Jan-12 7:03
vanikanc23-Jan-12 7:03 
AnswerRe: Issue with AppleMAC-Safari Pin
jkirkerx23-Jan-12 12:24
professionaljkirkerx23-Jan-12 12:24 
QuestionModify webpage controls in a contentplaceholder from a class.vb file Pin
Member 840806423-Jan-12 5:01
Member 840806423-Jan-12 5:01 
AnswerRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
manognya kota23-Jan-12 6:49
manognya kota23-Jan-12 6:49 
GeneralRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
Member 840806423-Jan-12 11:17
Member 840806423-Jan-12 11:17 
GeneralRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
manognya kota23-Jan-12 19:23
manognya kota23-Jan-12 19:23 
NewsRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
Member 840806424-Jan-12 10:44
Member 840806424-Jan-12 10:44 
GeneralRe: Modify webpage controls in a contentplaceholder from a class.vb file Pin
manognya kota24-Jan-12 22:49
manognya kota24-Jan-12 22:49 
QuestionMaking multiple teams coexist Pin
_Zorro_23-Jan-12 4:21
professional_Zorro_23-Jan-12 4:21 
QuestionHTTPS implmentation issue in asp.net Pin
afsal qureshi23-Jan-12 3:47
afsal qureshi23-Jan-12 3:47 
AnswerRe: HTTPS implmentation issue in asp.net Pin
jkirkerx25-Jan-12 13:14
professionaljkirkerx25-Jan-12 13:14 
QuestionAsp.net rdlc reports hanging in production (Ajax application) Pin
nikam.chetan23-Jan-12 1:56
nikam.chetan23-Jan-12 1:56 

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.