.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

problem with castle IoC and Pro ASP MVC Framework tutorial

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :ASP.Net

At first i was getting a null exception with the following statement: return (IController) container.Resolve(controllerType);

I think it was because i was using deprecated code:

            foreach (Type t in controllerTypes)
                container.AddComponentWithLifestyle(t.FullName, t, LifestyleType.Transient);

I changed that to :

            foreach (Type t in controllerTypes)

Now i get this error and can't figure out what it means.  I'm also not sure if i should use component.For<Type>..  

ComponentNotFoundException:  No component for supporting the service WebUI.Controllers.ProductsController was found

View Complete Post

More Related Resource Links

Problem with .net framework ! PLZ HELP !


This is how my Add / Remove Window looks like...

Recently i installed Visual Studio 2008 where

all these components got installed automatically...

Now the problem i face is...



.net 4 framework install problem on xp pro sp3 .net 3.5

Hello,  have xp pro sp 3 .net 3.5.  want to install c# express 2010.  This is a problem so installing .net 4 first.  However this is still a problem.  Downloaded collection tool and have logs collected.  Where to send them?   Thanks

Microsoft .net framework 1.1 installation problem

Well I know there is numerous posts about .net framework 1.1 installation failure,I have searched through a lot of them.I failed to resolve my  problem so I am posting this.when I try to install .net framework 1.1 redistributable package which I downloaded from here it installs  .net framework version 1.0.3705 then when I want to install .net framework 1.1 service pack 1 downloaded from here which has the file NDP1.1sp1-KB867460-X86.exe  it doesnt install showing the message  ''The upgrade patch can't be installed by the windows installer service because the program to be upgraded may be missing,or the upgrade patch may update a different version of the program.Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.'' I have tried a lot of way to solve this including:using the stebner cleanup tool to erase all versions of framework then restarting  machine and reinstalling again but this way can't solve the problem,modifying registry etc.Other versions(1.0,2.0,3.0,3.5) are installing smoothly they are not creating problems only this fw 1.1.How can I resolve this issue.Please anyone help

.net framework update problem

I've looked everywhere on MS support for other answers and ideas to resolve this over the past several weeks and nothing has helped.  In fact, I have more problems now than I did before I started.  My initial problem came to light when I attempted to install TurboTax 2009 on my Toshiba laptop running Vista Home Basic 32 bit.  The TurboTax installation aborted with a message that my .net framework was not properly installed and the included program to correct this also failed.  As I worked through the various suggestions on the Microsoft support site - KB923100 being the most applicable - I eventually succeeded in removing all versions of the .net framework.  However, when I attempted to reinstall them I could not.  The .net 1.1 reinstalled just fine but the .net 3.0 says I need to use the add/remove Windows components feature instead.  When I do, it fails to both install the .net features not installed, AND it fails to remove the one that is installed.  The .net 3.5 (dotNetFx35setup.exe) installation simply aborts.  Additionally, I get the exact same results no matter in which order I attempt to reinstall the .net framework versions.  All this hassle leaves me with the apparently related and business crippling problems of my Outlook Business Contact Manager failing "to init

i have a problem about the framework launcher.exe

this is the pROBLEM. FRAMEWORK.LAUNCHER.EXE-COMMON LANGUAGE RUNTIME DEBUGGING  SERVICES Application has generated an exception that counld be handled. process id=0x1754 (5972), thread id=0xe14 (3604) click ok to terminate the application click cancel to debug the application I would be grateful if someone helps me to fix the problem.Thanks 

Problem with ASP.NET Ajax, Framework version 4.0 and the SeaMonkey browser...

I have a site that I'm upgrading to the 4.0 framework and I've come across an issue with asp.net ajax and the SeaMonkey browser. It seems like the script manager is not registering the scripts on the page in seamonkey (but it works fine in IE, Firefox, Chrome, Opera, and Safari). Now, if I change the user agent string in SeaMonkey to use the user agent string from any of those other browsers, it works fine. So I guess my question is does ASP.NET Ajax check the browser's user agent to determine what scripts to register and, if so, is it possible that SeaMonkey is not included in the list in the 4.0 framework (I should add that it's working fine in the 3.5 framework so it seems to me like this is a difference between the two framework versions).

Problem with .Net framework 4.0 on IIS 7 on Windows Server v2008 64 bit machine

Hi, I have installed .Net framework 4.0, i have added one application in default website, now when i brows the login page, it take some time and at the end displays nothing, in the event viewer in system log it says myApplicationName crashed.And also i get folllowing in event viewer Application LogLog Name:      ApplicationSource:        Application ErrorDate:          7/29/2010 11:39:31 AMEvent ID:      1000Task Category: (100)Level:         ErrorKeywords:      ClassicUser:          N/AComputer:      dev-appDescription:Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bd0ebFaulting module name: clr.dll, version: 4.0.30319.1, time stamp: 0x4ba21eebException code: 0xc00000fdFault offset: 0x000000000000400cFaulting process id: 0xad8Faulting application start time: 0x01cb2ef990316804Faulting application path: c:\windows\system32\inetsrv\w3wp.exeFaulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dllReport Id: ce52c718-9aec-11df-8551-00155d701c03Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">  <System>  

Problem Install of Microsoft .net Framework 3.5 for over a month.

I have looked at all suggested solutions and had tried all the I found.  No success. I had .net running using Roxio Creator 2009 until the update came out in Feb. 2010. I am using Vista Home premium sp2. I have created the Cab for the files.  Where do I send it? Microsoft .NET Framework 3.5 Service Pack 1 and .NET Framework 3.5 Family Update (KB951847) x64 Installation date: ‎3/‎20/‎2010 5:33 PM Installation status: Failed Error details: Code 643 Update type: Important This update is applicable to Windows Vista Service Pack 2 and Windows Server 2008 Service Pack 2. The Microsoft .NET Framework 3.5 Service Pack 1 is a full cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes cumulative servicing updates to the .NET Framework 2.0 and the .NET Framework 3.0 subcomponents. The .NET Framework 3.5 Family Update provides important application compatibility updates. This update is provided to you and licensed under the Windows Vista and Windows Server 2008 License Terms. More information: http://go.microsoft.com/fwlink/?LinkId=133335 Help and Support: http://support.microsoft.com

.net framework set up problem

Hi, I have been trying to install to microsoft .NET framework 3.5 since evening but every time is showing some run time error, can anyone tell me how to solve this issue?burn the fat feed the muscle.

Solution Deployment Problem (Administrative Framework Object Dependencies)

I'm having a problem with the deployment of a SharePoint workflow solution - hopefully someone can help me out.Here is the sequence of STSADM commands and their output from the console:C:\Workflows>stsadm -o deactivatefeature -name IL.SharePoint.Workflows -url http://localhost/ -forceOperation completed successfully.C:\Workflows>stsadm -o uninstallfeature -name IL.SharePoint.Workflows -forceOperation completed successfully.C:\Workflows>stsadm -o retractsolution -name IL.SharePoint.Workflows.wsp -localDeploymentSucceeded : server : The solution was successfully deployed.il.sharepoint.workflows.wsp: Operation completed with errors.C:\Workflows>stsadm -o deletesolution -name IL.SharePoint.Workflows.wspOperation completed successfully.C:\Workflows>stsadm -o addsolution -filename IL.SharePoint.Workflows.wspAn object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=il.sharepoint.workflows.wsp", depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation.IL.SharePoint.Workflows.wsp: The Solution installation failed.Here is the related log info from the SharePoint logs:error-redacted.txtAs far as I can see, SP is attempting to insert a "SPSolutionLanguagePack" object into the configuration database, with an invalid foreign key reference

Problem Installing .Net Framework Version 4.0

I am trying to install .net 4 on my Vista business machine SP2. It however continually fails with "class not registered" error. No matter what i try and do i cannot get it to install. Has anyone come across this error before, was there a resolution? I need this to be able to install VS2010 on my machine.   Thankyou

Problem with Microsoft.NET Framework

i had my PC format recently, and installed windows Vista home premium, the moment i turned on my PC i had this

Unhandled exception has occurred in your application, If you click Continue, the application will ignore this error and attempt to continue.
if you click Quit, the application will close immediately.

Argument 'Year' is not valid value.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Argument 'Year' is not a valid value.
   at Microsoft.VisualBasic.DateAndTime.DateSerial(Int32 Year, Int32 Month, Int32 Day)
   at EULALauncher.NET.Form1.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Contain

Deployment Problem of Analysis Service Tutorial

Hi all
 I am new in SSAS. I have install SQL server 2008 standard edition. Then i install Adventure Work Database. I have also read the tutorial from MSDN. I have also found the tutorial Lesson 4 start at 100 samples. But when i deploy the lesson 4 start The following error will occur.

Error    29    Internal error: The operation terminated unsuccessfully.        0    0   
Error    30    Internal error: The operation terminated unsuccessfully.        0    0   
Error    31    Internal error: The operation terminated unsuccessfully.        0    0   
Error    32    Internal error: The operation terminated unsuccessfully.        0    0   
Error    33    Internal error: The operation terminated unsuccessfully.        0    0   
Error    34    OLE DB error: OLE DB or ODBC error: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.; 28000.    &nbs

Problem signature with Other Framework


My Application build in .net framework 3.5.


when I am trying to run it into a server 2008 system,  The following error comes



  Stopped working

Problem signature:
  Problem Event Name: CLR20r3
  Problem Signature 01: MyApp.exe
  Problem Signature 02:
  Problem Signature 03: 4c6fc832
  Problem Signature 04: FusionRetail
  Problem Signature 05:
  Problem Signature 06: 4c6fc832
  Problem Signature 07: 7f
  Problem Signature 08: c6
  Problem Signature 09: System.InvalidOperationException
  OS Version: 6.0.6002.
  Locale ID: 1033

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409 [^]


I uninstall the existing framework and then again install framework 3.5. but the problem still remaining.

What's the acrual problem ?

.NET Framework 2.0 Problem on Windows 7


Hi, I recently have installed a program called Ebi Book Reader (http://www.ebookjapan.jp/ebj/reader/windows/), compatible with windows 7. This is a japanese ebook reader program, which needs some graphics handling to display the books.


My PC configuration is:

Windows Edition: Windows 7 Starter Edition

Model: HP Mini 210-1000

Processor: Intel Atom CPU N450 @1.66GHz 1.67GHz

Installed RAM: 1GB

System Type: 32-bit Operating System


The program opens fine, but when I click on the book to display, it crashes, showing the following message:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: The operation completed successfully
   at System.Drawing.BufferedGraphicsContext.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal, Int32 ulWidth, Int32 ulHeight, IntPtr& ppvBits)
   at System.Drawing.BufferedGraphicsContext.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height)
   at System.Drawing.BufferedGraphicsContext.AllocBuffer(Graphics targetGraphics, IntPtr targetDC, Rectangle targetRectangle)
   at System.Drawing.BufferedGraphicsContext.AllocBufferInTempManage

.net framework 3.0 installation problem


My notebook runs windows xp professional sp2. In order to use the New York Times reader I need to install .net framework 3.0. The installation however is aborted and all installed are rolled back.

This is the error report:

[09/25/06,16:55:11] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[11/23/06,15:13:47] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[11/23/06,15:26:37] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[11/23/06,15:26:56] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[11/23/06,15:26:56] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
[11/24/06,13:03:53] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[11/24/06,13:04:14] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[11/24/06,13:04:14] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.

What is wrong and what do I need to do in order to

Dot Net Framework 3.5 SP1 install problem

I am trying to install dot net 3.5 SP1, the installation progress bar gets to the end but the install never finishes. I think that this is related to a process PerformanceCounterInstaller.exe, if I terminate this process then the install completes.

The PerformanceCounterInstaller.exe appears to be part of Dot Net 3 so I have tried just running that, this pops up an 'open file security' box to run regedit. I can resolve this by using the command "set SEE_MASK_NOZONECHECKS=1" but this does not work for the Dot Net 3.5 SP1 install.

The computers in question are Windows XP SP3 in a workgroup and so have no Group Policies attached. 

The dd_NET_Framework30_Setup*.txt file has this as the last line if I do not kill the PerformanceCounterInstaller.exe process:

08/25/09 16:40:01 DDSet_Status: CustomActionData: "C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\PerformanceCounterInstaller.exe" install

I do not know where to go next to get this install to work and any help would be greatly appreciated.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend