Thanks for your replies. The page is working fine when executed(in run-time).

The problem is only when using VS and the error only appears within
the visual studio as a message box error with "OK" button.

I cannot open the page in the Web Forms designer

Regards,
Karthik Nataraaj




On Mon, 21 Mar 2005 16:42:07 -0000, Kumar, Karthick
<[EMAIL PROTECTED]> wrote:
>  Seems to be very basic problem regarding Web Forms designer.
>  Just close all the pages in the project and then open again; you will be
> alright.
>  
>  If the "Object reference not set to an instance of an object" occurs while
> run-time then you need to look into the code...
>  
>  Hth,
>  Karthick
> 
>  
>  
>  -----Original Message-----
>  From: Karthik Nataraaj [mailto:[EMAIL PROTECTED]
>  Sent: Monday, March 21, 2005 3:57 PM
>  To: [email protected];
>  [EMAIL PROTECTED]
>  Subject: [AspNetAnyQuestionIsOk] Visual Studio .net 2003 Base class
>  problem
>  
>  
>  
>  
>  I'm little new to visual studio. I created some base classes within
>  the project and inherited some pages from it in the same project.
>  
>  But whenever I open the inherited child class (.aspx) pages in VS, its
>  giving me an error
>  
>  --------------------------------------------------------
>  "The files could not be loaded into the Web Forms designer. Please
>  correct the following and then try loading it again:
>  
>  An exception occured while trying to create an instance of
>  BizProj.BizCommon.contactDetails. "Object reference not set to an
>  instance of an object".
>  
>  Make sure all of the classes used in the page are built or referenced
>  in the project. Click Help for more information.
>  ------------------------------------------------------------
>  
>  My base classes and all the pages are built and referenced in the
>  project. I dont know how to solve this problem. I searched google and
>  almost everywhere but still can't fix this problem.
>  
>  As mentioned in some webpages I cleared the VSWebCache and Re-Compiled
>  the whole solution, but the same error comes again.
>  
>  Please anybody facing this kind of problem....? please help me
>  
>  thanks in advance
>  
>  Regards,
>  Karthik Nataraaj
>  
>  
>  
>  
>  
>  
>  Yahoo! Groups Links
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  Yahoo! Groups Sponsor 
>  
>  ADVERTISEMENT
>  
>  
>  ________________________________
>  Yahoo! Groups Links
>  
>  
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to