Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralRe: Download Pin
Eduard Keilholz25-Mar-08 2:54
Eduard Keilholz25-Mar-08 2:54 
GeneralRe: Download Pin
Pete O'Hanlon25-Mar-08 3:09
mvePete O'Hanlon25-Mar-08 3:09 
GeneralRe: Download Pin
Eduard Keilholz25-Mar-08 3:20
Eduard Keilholz25-Mar-08 3:20 
GeneralRe: Download Pin
Pete O'Hanlon25-Mar-08 3:28
mvePete O'Hanlon25-Mar-08 3:28 
GeneralRe: Download Pin
ellllllllie25-Mar-08 5:08
ellllllllie25-Mar-08 5:08 
GeneralRe: Download Pin
Pete O'Hanlon25-Mar-08 5:17
mvePete O'Hanlon25-Mar-08 5:17 
GeneralRe: Download Pin
ellllllllie25-Mar-08 5:37
ellllllllie25-Mar-08 5:37 
QuestionWhat is this problem? Pin
wsamuel24-Mar-08 22:51
wsamuel24-Mar-08 22:51 
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.

Source Error:


Line 21: static MemberPhotoConfiguration()
Line 22: {
Line 23: dbConnectionString = ConfigurationManager.ConnectionStrings["MemberPhotoConnection"].ConnectionString;
Line 24: dbProviderName = ConfigurationManager.ConnectionStrings["MemberPhotoConnection"].ProviderName;
Line 25: productsPerPage = Int32.Parse(ConfigurationManager.AppSettings["ProductsPerPage"]);


Source File: c:\Inetpub\wwwroot\MemberPhoto\App_Code\MemberPhotoConfiguration.cs Line: 23

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
MemberPhotoConfiguration..cctor() in c:\Inetpub\wwwroot\MemberPhoto\App_Code\MemberPhotoConfiguration.cs:23

[TypeInitializationException: The type initializer for 'MemberPhotoConfiguration' threw an exception.]
MemberPhotoConfiguration.get_DbProviderName() in c:\Inetpub\wwwroot\MemberPhoto\App_Code\MemberPhotoConfiguration.cs:45
GenericDataAccess.CreateCommand() in c:\Inetpub\wwwroot\MemberPhoto\App_Code\GenericDataAccess.cs:111
CatalogAccess.GetDepartments() in c:\Inetpub\wwwroot\MemberPhoto\App_Code\CatalogAccess.cs:54
DepartmentsList.Page_Load(Object sender, EventArgs e) in c:\Inetpub\wwwroot\MemberPhoto\UserControls\DepartmentsList.ascx.cs:22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
AnswerRe: What is this problem?Urgent!!Please Help!! Pin
Gareth H25-Mar-08 0:01
Gareth H25-Mar-08 0:01 
GeneralRe: What is this problem?Urgent!!Please Help!! Pin
wsamuel25-Mar-08 1:55
wsamuel25-Mar-08 1:55 
GeneralRedirect standard input and output from C# to batch file Pin
Member 212296324-Mar-08 22:46
Member 212296324-Mar-08 22:46 
GeneralRe: Redirect standard input and output from C# to batch file Pin
Gareth H25-Mar-08 0:10
Gareth H25-Mar-08 0:10 
GeneralRe: Redirect standard input and output from C# to batch file Pin
m@u25-Mar-08 0:15
m@u25-Mar-08 0:15 
Generalcheck box inside the gridview Pin
chithra.r24-Mar-08 21:27
chithra.r24-Mar-08 21:27 
GeneralRe: check box inside the gridview Pin
That's Aragon24-Mar-08 23:16
That's Aragon24-Mar-08 23:16 
GeneralRe: check box inside the gridview Pin
chithra.r24-Mar-08 23:57
chithra.r24-Mar-08 23:57 
JokeRe: check box inside the gridview Pin
Nouman Bhatti24-Mar-08 23:49
Nouman Bhatti24-Mar-08 23:49 
GeneralLazy Insert Query Pin
Syed Shahid Hussain24-Mar-08 21:20
Syed Shahid Hussain24-Mar-08 21:20 
GeneralRe: Lazy Insert Query Pin
Gareth H24-Mar-08 22:22
Gareth H24-Mar-08 22:22 
GeneralRe: Lazy Insert Query Pin
Abdul Rahman Hamidy25-Mar-08 0:34
Abdul Rahman Hamidy25-Mar-08 0:34 
GeneralRe: Lazy Insert Query Pin
sarvesh.upadhyay25-Mar-08 1:23
professionalsarvesh.upadhyay25-Mar-08 1:23 
GeneralMyNeoReport Pin
Abdul Rahman Hamidy24-Mar-08 20:25
Abdul Rahman Hamidy24-Mar-08 20:25 
GeneralRe: MyNeoReport Pin
Christian Graus24-Mar-08 20:56
protectorChristian Graus24-Mar-08 20:56 
GeneralRe: MyNeoReport Pin
Pete O'Hanlon25-Mar-08 4:35
mvePete O'Hanlon25-Mar-08 4:35 
QuestionHow to Handle this Pin
Krazy Programmer24-Mar-08 20:01
Krazy Programmer24-Mar-08 20:01 

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.