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

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

installing webparts in asp.net 4.0

Posted By:      Posted Date: August 29, 2010    Points: 0   Category :ASP.Net
what lines must I add in the web.config file to activate the webparts fonctionality in asp.net 4.0?   cheers  

View Complete Post

More Related Resource Links

Installing and Uninstalling Services

Installing and Uninstalling Services.Unlike most projects you create in Visual Studio .NET, Windows Service projects cannot be run directly from the development environment by pressing F5. This is because the service in the project must be installed before the project can run.

You can quickly install your service application by using a command line utility called InstallUtil.exe.

Write Custom WebParts for SharePoint 2007

The popularity of SharePoint Portal Server 2003 led Microsoft to tightly integrate the next SharePoint version, Microsoft Office SharePoint Server (MOSS) 2007, with its ASP.NET 2.0 WebPart framework. This tight integration enables the ASP.NET and SharePoint developer to do a number of things that previously weren't possible

Installing and configuring SharePoint 2010

The following steps show how to install SharePoint 2010 on VMware workstation 7.0. Host computer used during the preparation of this walk-through was a Vista (32-bit) machine and guest machine used was VMware workstation 7.0 with Windows Server 2008 Service Pack 2 (64-bit).

Help me with webParts


I added WebPartManager to my default.aspx and i get   teh following Message :

Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.

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.

SQLExpress database file auto-creation error:

The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:

  1. If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory

error in installing portal starter kit



I tried to install portal starter kit (http://www.asp.net/downloads/archived-v11) , but I found error code (2869) in installing. Windows of my computer is VISTA.

Error is like below:

Id_token is not a valid Windows NT name. Give the complete name: <domain\username>.

User or role "id_token" does not exit in this database.

Error code 2869.

Thanks in advanced.

Installing both VS Pro 2008 and VWD2008


I work at an educational institution and in our computing labs we have Visual Studio Professional 2008 installed already. One of our academics has requested me to install Visual Web Developer 2008 Express Edition as they think it's easier for their beginner students to learn, but I've noticed it wants to install it in the same folder as our Visual Studio Professional install.

Can both be installed without the limited VWD interfering with the Professional version?

Installing a httpModule on IIS6



I am trying to install a httpModule on an IIS 6 web server. I have the same module working on an IIS 7 test box, but we still have a couple of IIS 6 boxes to support.

The module is:

  • c# .NET 2.0
  • registered in the GAC
  • added to the system level web.config (as we want this for all applications on the box). I followed the instructions from http://msdn.microsoft.com/en-us/library/ms227673.aspx. I tried it with both short name (as in the web page) and the full strong name (like the other entries in the <httpModules> section.

So, I am at a loss as it does not appear to even being called and any suggestions would be appreciated.

Thanks in advance,


infopath form stuck with installing or deleting



I am deploying an infopath form in central admin and it stuck with the message "installing" and if i try to remove it stuck with message 'deleting". I restarted timer as well admin jobs in all servers (front end and app) but it is still showing the same. I also renamed my form and tried..no result. Can any one suggest me how to resolve this? I am wondering how it s happening just from one week.there are no changes in servers as well in environment. It works well before.



Problem when installing Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint


I have configured the SharePoint Production Server(Standalone) with WS 2008 64 bit version, SQL Server 2005 with SP3 , Visual Studio 2008 and MOSS 2007(SP3). I have configured SSRS 2005 in SharePoint integration mode. Everything works fine till the last step. Now, i am trying to install Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies feature and failed. I am getting below error message.

Product: Microsoft SQL Server 2005 Reporting Services Add-in for Microsoft SharePoint Technologies -- You must first install SharePoint Server before installing SQL Server 2005 Reporting Services Add-in for SharePoint Technologies

Any help will be very appreciated!


Error installing SharePointRS (Reporting Services AddIn)



I trying to install the SharePointRS AddIn on the SharePoint-Maschine. The installation runs and after the setup does something, it rollback the installation and informs me with just a message, that it was not successful. After searching for the installation log, I've found it in my temp folder. The error was:
"Install error: The 'Mapping' start tag on line 83 does not match the end tag of 'ByExtension'. Line 139, position 7.".
What means this error? How can I solve it?

Greetings, Anatoli.

The whole log file:

User: usrFarmAdmin
Installing Report Server feature.
Calling copyappbincontents command.


copyappbincontents command completed successfully.
Adding Report Server feature to farm.
Installed Report Server feature.
Activating Report Server feature to root level site collections.
Activating feature in web app 'SharePoint - 22222'
Web app 'SharePoint - 22222' does not have a root site collection.
Activating feature in web app 'SharePoint - 80'
Activating feature to root site collection: http://computername
Feature already activated in site collection http://computername
Activating feature in web app 'SharePoint - 8080'
Web app 'SharePoint - 8080' does not have a

pre populating webparts




i m wanting to know if it is possible to pre populate content within a webpart so the user only has to add the web part to the page, and not make any configurations changes.

What i am trying to achieve is with the image web part and pre loading this with an image which is hyper linked to another of our systems

Could you let me know if this is possible and if so how i go about doing this.


Status "Installing" keeps stuck

Hi All..

I have a problem about status that is stucked.. I've read many forums that related to my problem, but still can't solved it yet :(

Here is my problem...

After 3 months I keep on uploading, removing, and uploading form, I have no problem.. Until today, when I want to upload my form, the status keeps on "Installing", instead of "Ready".
Then I removed my form using Timer Job Definitions, and I delete form.wsp. It works.
Afterwards, I try to upload form again, I have the same problem with stuck status. And then I delete again using same way.
I've tried more than 10 times, and the result still the same one.

Things that I've tried are:
- Reset IIS.
- Reset Application Pool.
- Check the services (e.g: Windows Sharepoint Services Administration, Search, Timer, Tracing) -- all are already started.
- Use "stsadm -o execadmsvcjobs"
- Reset Infopath Form ID
- Publish and change Infopath Form Name
- Command "net start SPTimerV3" and "net start SPAdmin"

Tried all things above, but still can't work. Status is still stuck.

Then, I try to upload other forms, but still have the same problem.

Please help me. I'm stuck already... :((

Is there anything I can do again?


Absence and vacation days webparts calculation



does any1 know if there is a webpart that can calculate an employee's vacation days. and when the employee request some vacation days it show the days that are left.

or is there a tutorial to create such a webpart?


user control derived from System.Web.UI.WebControls.WebParts only fires its OnPreRender and CreateCh


 I have a application which uses webparts.

So my user controls are derived from System.Web.UI.WebControls.WebParts which makes them webparts.

I have everything setup and working fine as far as the personalization and webpart goes... every thing displays and works fine.

Except that 1 of my control needs to do a bit of work in the OnPreRender event and it turns out that event only gets fired when a user is loged in the application.

So lets imagine that an administrator while logged in switched to 'Sharedscope' within the webpartmanager and then has added the usercontrol/webpart 'calendar' to the top webpart zone. This then makes the 'calendar' control viewable by all and any user who visits the page wheter logged in or anonymous.

And this works fine and very well as it is supposed to. However in the 'Calendar' user control which is derived from System.Web.UI.WebControls.WebParts I have an overiden 'OnPreRender' event like this:

Protected Overrides Sub OnPreRender(ByVal e As EventArgs)

If Not Me.DesignMode Then

Me.isloaded = True

' Test for ScriptManager and register if it exists

sm = ScriptManager.GetCurrent(Page)

If sm Is Nothing Then _

Throw New HttpException("A ScriptManager control must exist on the current page.")

Error 2908 while installing sql server 2005 management objects collection on Win 7

I have SQL Server native client 2005 installed on Win 7 64-bit machine. While installing SQL Server XMO 2005 it gives error 2908 and aborts installation. Any suggestion on the error?

Having problems installing/setting up SQL Server 2008 Express/R2 for ASP.NET user management on deve

I'm a bit new to installing and configuring, well, just about anything regarding databases, so please bear with me. I'm currently building a couple of ASP.NET MVC 2 sites.  I'm following along with the MVCMusicStore tutorial, and am trying to set up user management using ASP.NET's configuration tool.  The problem is that ASP.NET can't 'see' the database. I have SQL Server 2008 installed on my laptop.  It's the version which is available on the Web Platform Installer (I believe it's Express).  When I try running the aspnet_sqlreg.exe program to set up my user management database, it can't tell that I'm running any version of SQL Server at all.  I get an exception about 'named pipes', and some other things I don't understand at the moment. Obviously, this is all a bit over my head.  Is there an idiot proof guide or tutorial available that describes, step-by-step, how to: 1. Install SQL Server 2008 on a development PC 2. How to configure it to be used by Visual Studio 2010 Professional 3. How to properly upload/modify the db on the production server with what's on the development PC Essentially, all the things that the ASP.NET tutorials gloss over.  Any suggestions, links to documentation, or other nudges in the right direction would be immensely 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