ASP error..


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: ASP error..

  1. #1
    Join Date
    Dec 2003
    Location
    Italy
    Posts
    250

    ASP error..

    Hello guys,
    I have an application that worked fine until yesterday when I started getting this error message :

    Method not found: Void System.Web.UI.WebControls.WebControl.set_BackColor(System.Drawing.Color).
    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.MissingMethodException: Method not found: Void System.Web.UI.WebControls.WebControl.set_BackColor(System.Drawing.Color).

    Does anybody know why is this happening ?, how can I solve this problem ?

    thank you all

  2. #2
    Join Date
    May 2005
    Location
    UK
    Posts
    278
    Michael

    Are you running .Net 1.1 or 2.0 ? and another thing does this server have both the frameworks by anychance installed
    Sri

  3. #3
    Join Date
    Dec 2003
    Location
    Italy
    Posts
    250

    ASP error..

    The application was developed using .Net 2000 and it uses Framework 1.0 but I think it's installed Framework 1.1 too.

  4. #4
    Join Date
    May 2005
    Location
    UK
    Posts
    278
    Hi

    Can you tell me if the webcontrol on which this exception is being thrown is a custom sever control? Or is it a standard webcontrol , if so can you tell me what control it is?.. Can you paste the trace information here? Lastly
    I checked System.Web.UI.WebControls.WebControl.Backcolor property using reflector and nothing seemed wrong in the .Net 1.1 dll i had ? Can you use reflector and see if all is well with the System.Web.dll.
    I dont know about side by side installation of 1.1 and 1.0 and its side effects, why dont you try removing the 1.1 if it is not required?
    Sri

  5. #5
    Join Date
    Dec 2003
    Location
    Italy
    Posts
    250

    ASP error..

    Hi Sri,
    Just a few lines to tell you we solved the problem just installing Framework 1.1.
    I apologize because I didn't answer before.

    Thank you for your kindness and help.


    Michael

Similar Threads

  1. ASP .dll error
    By Acceris in forum VB Classic
    Replies: 1
    Last Post: 08-29-2005, 08:43 AM
  2. Replies: 1
    Last Post: 07-01-2005, 02:40 AM
  3. ASP 0177: Server.CreateObject Failed error
    By Becky in forum ASP.NET
    Replies: 1
    Last Post: 07-17-2001, 07:55 AM
  4. COM from ASP: Data Typing and Error Handling
    By Paul Klanderud in forum Enterprise
    Replies: 1
    Last Post: 02-05-2001, 12:28 PM
  5. ASP Database Access Error
    By Lorand in forum ASP.NET
    Replies: 6
    Last Post: 06-28-2000, 03:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center