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


Top 5 Contributors of the Month
Kaviya Balasubramanian
Imran Ghani
Post New Web Links

Unable to create lists in upgraded web application

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :SharePoint
 

I can no longer create lists, sub webs or document libraries in a web application that I have upgraded from sharepoint 2007 to 2010. I dont think its directly related to the upgrade since it did work at some point.


When trying to create the list using addgallery.aspx the silverlight application will simply say that an unhandled exception has occurred with no further info.

 

In the log I have the following related log messages:

 

1)

Entering monitored scope (Request (POST:http://sharepoint2010:80/profil/_layouts/AddGallery.aspx))

 

2)

Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:   

 at Microsoft.SharePoint.SPWeb.get_ListTemplates()    

 at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.GetListTemplates(XmlWriter myXML, SPSite site, SPWeb web)    

 at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.GenerateItemXML(XmlWriter myXML)    

 at Microsoft.SharePoint.Solutions.AddGallery.AddGalleryWebPart.RenderControl(HtmlTextWriter writer)    

 at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter


View Complete Post


More Related Resource Links

Unable to create new web application in sharepoint foundation 2010

  

I installed and successfully setup development environment in win 7 ultimate through PowerShell. When I tried to create new web application in “Manage web application” option of central admin, I found “New” button greyed out. I applied all the solution while browsing internet:

1.       I run internet explorer as administrator

2.       I run central admin as administrator

3.      

Unable to create a web application- website http 404 not found

  

I am trying to create a sharepoint web application and site collection. But when a site collection is created, it says the site is successfully created but when I navigate to that site its giving me this error: http 404 not found.

When I see in the IIS, the virtual directory structure is not created properly. It just contains 4 folders, (control temp, layouts, _vti_bin, _wpresources). Dono why its not creating all the folders!

Does anyone know why this is happening? I am using the farm administrator account for creating the web app. Is it something related to the IIS settings?

Advanced thanks for the help.


How to create 3 tier application using LINQ

  
As you know that in 3 tier architecture there are three layers

User interface layer. (Is our Form in Windows application and .aspx page in Web application)
Data Access layer. (Which provides interface between Business logic layer and Database)
Business Logic layer.(Which stores your application logic)

Create Web Site vs Web Application

  

I follow the tutorial and creted a web site for my company sales system. One of my collegue mention we use the wrong templet, we should use Web application for company application.


Should i continue using web site or change to web application? We are creating application for company sales, inventory, hr ,etc where possible more than 1000++ user. And during month end, it will be high traffic and transaction. can Web Site Template with BLL and DAL handle it? or i just need a powerful server?



Create a placeholder for drop down lists

  

First time post here, if i'm in the wrong area please move as necessary. Thanks

I'm using VWD with a database back end. I have a list of teams which are marked off by league, level, division, teamid and then using gridview for the list of players per teams.


I've got the drop downs working correctly but running into a little snag and that is on the auto postback.

When I only have one option come up in a list, i obviously don't change that list and thus it doesn't change the next drop down because there is no post back. is there a way to use a "header" value?

Example of my data

League Level Division Team

NHL 1 West Vancouver
NHL 1 West Calgary
NHL 1 West Edmonton
NHL 1 Central Chicago

OHL 2 West London
OHL 2 West Guelph

NBA 1 Central Chicago
NBA 1 Central Detroit
NBA 1 Central Milwaukee

So my drop downs choose by league, then level then division and then team then shows the player roster for that selected team.

The problem I run into is when only one value exists based on the previous choices I've made. If I choose NHL then Central only Chicago shows up in the example above. Because I'm not choosing between it and another value, the drop down does not put in a post back and thus I don't get a list of the team and then the players

Quick Note: Create Lists with Custom Content Types in SharePoint 2010

  
Learn how to create a list in SharePoint Server 2010 and associate it with a new content type. Next, you disassociate the list from the content type and then delete the list.

Unable to read beyond the end of the stream in asp.net 2.0/C# web application

  

Hi All,

Thank you for advance.

I got the forllowing error in my asp.net 2.0/c# web application,


Message: Unable to read beyond the end of the stream.

Source: mscorlib

TargetSite: Void EndOfFile()

StackTrace:    at System.IO.__Error.EndOfFile()
   at System.IO.BinaryReader.ReadByte()
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
   at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
 

unable to find a version of the runtime to run this application

  
I have an application written using Visual studio 2005 (in VB.Net). When I run it on any machine I get "unable to find a version of the runtime to run this application” and this same application successfully some other PCs   And these following processes I have already done: Repair and reinstall .net framework2.0 I also rebuild my application setup. Scan my PC with antivirus and install new updated antivirus I have format my pc and reinstall dotnet framwork2.0 and my project. And also download .net framework cleanup tool install it.     So if any one has solution excluding the above then plz give me as soon as possible.      

How to create modile application with small DB?

  
Hi Friends, I am going to create my first Windows mobile application, I know Windows Form development. I want to know how to create mobile application with small DB. How I can use SQLlight DB or Shall I use text file to store that values? Which is the best way, I don't want to use SQL server..! Because I want to save few values that's all.   Thanks, Naga Harish .

WPAsign application service unable to succesfuly pass the BVT tool

  
Hello, I'm getting a bunch these messages every two hours in my Windows 2003 application log. The server in question does not have outbound internet access where by the server is configured as a web server for the WPAsign application. Message: Failed auto update retrieval of third-party root list sequence number from: <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootseq.txt> with error: The specified server cannot perform the requested operation. and when I run the BVT tool form the comand window I am getting unknown error and the output has some partial files but not the whole list expected at succesful sign. What does this mean? How can I manually update this? Any help or insight would be appreciated.

unable to create new table in sql server 2000 enterprise manager on windows7(Operating system)

  
i have successfuly installed sql server 2000 on windows7 and i am able to browse all the tables and edit aswell(on enterprise manager) but i have a problem while creating new tables it says ' MMC has detected an error in a snap-in' and provides options to either continue with the error or send a report to microsoft ,   Please help regarding this compatibility issue   Thanks in advance !

how do i create a windows form application login for to validate username and password from sql serv

  
 I would like to know how I can create a login form for my windows form application. The login form must be linked to a SQL server 2005 express edition database (in which the username and passwords are stored). The login form must validate the user using the database and allow them to access the program. 

Unable to Create a New SSP

  
HI Team,      I was creating a New SSP, its taking a long time so i stopped the SSP in creation by clicking the browser back button. Now i am  not able to create the new SSPs and unable to delte the SSP  I stopped in the middle It says "provisioning in progress" I am not able to delete the ssp which I stopped in the middle while creation We are using Share point 2007 I am new to share point Please advise how to fix this issue Thanks Kumar

Unable to create Web Folders in Windows Server 2008 R2

  
Hi, We are unable to create web folder from a Windows Server 2008 R2 system as we do in Windows XP. The web url cannot be identified. The web url is an oracle repository application built in 32-bit OS and now we need this to be added in Windows Server 2008 R2 machine. Kindly help.  

Unable to connect Oracle UCM Secured site with .NET Application

  
Hi, I am working on an integration of a .NET application which calls Oracle UCM web services which does Search, checkin of files to Oracle UCM( Stellent). Here i have an option to connect to a secured Oracle UCM server with credentials which retrieves the result. Here i am facing a problem. When we send a (https://) request we are getting an error as shown below: The underlying connection was closed: An unexpected error occured on a send. We are unable to do any code change on web services code as we have only the wsdl files. Tried Timeout related procedures which didnt work out. One more thing noticed is the .NET program connect to a http:// web url but not to https://. Is this a https:// issue with .NET application?   Kindly help with any inputs      

Unable to Create a New SSP

  
HI Team,      I was creating a New SSP, its taking a long time so i stopped the SSP in creation by clicking the browser back button. Now i am  not able to create the new SSPs and unable to delte the SSP  I stopped in the middle It says "provisioning in progress" I am not able to delete the ssp which I stopped in the middle while creation We are using Share point 2007 I am new to share point Please advise how to fix this issue Thanks Kumar

Unable to create columns in document library after applying custom master page to site

  
Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?
Categories: 
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