.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

Web site hangs after publish

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :.NET Framework

Developing a website in ASP.net. 

On the development site all is working fine.

We decide to publish the site using visual studio 2008’s publish mechanism.

The publish goes flawless.

When we go to the live site, it hangs anywhere from 2 minutes to 30 minutes before it starts serving pages.

All other sites on the same server seem to work fine.

If we reboot the server it starts serving pages right away.

It is not a programming issue, as once the site kicks in all seems to work fine.

Any Ideas?

View Complete Post

More Related Resource Links

When I use 'publish', site doesn't work when i post data


Arrgghh, I am so tired of dealing with stuff like this

I've got a project, when I put up on another server I point two sites in IIS6 to it

i have

http://www.main.com  pointing to the folder the files are in


http://www.anotherofoursites.com/main pointing to that same folder in it's own "Virtual Application" or whatever IIS calls it when you put a folder into it's own 

If I just "Build" and push all the files up.. both work without issue and as expected...  but when I use "Publish" to precompile, the site works until I post, and then i get nailed with:

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

How do I publish public facing SharePoint site(on internet)?

I developed public facing SharePoint 2010 portal publishing website using Window Server 2008 R2 and SharePoint 2010 Server and SPD 2010 on my computer. I have custom master page, page layout, css…. I want to publish it(on the internet).  I want to know cheap host and domain name service provider Company and steps to do it. I’ appreciate any advice in advance.

Publish sharepoint site on the internet?


Hi Folks, after reading a few other Q&A's on here thought i'd just have to write one myself and see what sort of responses i got.

I have created an intranet and internet website on a Server2008r2 box with sharepoint 2010. What i want to do is now publish both these on the internet. The intranet one so that people i work with can log in to it and use it for controlling documents and calendars etc, and the internet one so that I have a public accesible website for anyone to look at.

The sites have been created. The server is connected to the internet with a dedicated line. I just wan to get them out there now and start using them.

Noted on one of the other posts i may need an connector licence. Which is fair enough, but really what i want to do just now before i get things out in the open area of the net is just be able to connect to the sites myself for testing from any other internet connection.

So far im having no luck.

Whats the quickest and best route to making sure i can at least access the sites from the internet?

Any help would be great but this is however my first time working with Sharepoint and IIS properly so help IN DETAIL would be even more appreciated.

Im used to just using online hosts and not hosting myself.

Processing screen hangs when I am trying to create a new site collection



I am trying to create a new site collection in Sharepoint 2010 (installed on Windows Server 2008 Standard). I followed the below steps:

Central Administration -> Application Management -> Create site collections

I created a new path and entered all the required details.

When I say OK at the end, it takes me to the processing screen and that's it from there it hangs without giving me any error.

Please let me know if anyone had faced this error before.

We never had any issues before. I created couple of site collections before and had no issues.

Please let me know if you need additional information.










Publish and test a WebMatrix web site using a Local Windows Server 2008


I am new to ASP.NET as well as to WebMatrix Beta Razor language.

I am trying to publish and test a Web Site from WebMatrix Beta IDE to a local Virtual Windows Server 2008 IIS Server.

I did install SQL Server Express 2008 R2 at my local Virtual Windows Server 2008 (using Web Matrix Microsoft Web Platform).

Everything works fine till I add a database table to my WebMatrix site.

When I add a database table and Publish to local Virtual Windows Server 2008 IIS Server my WebMatrix IDE

closes unexpectedlly without any error message.

Running my Web Site using WebMatrix IISExpress works fine.

Any help will be very appreciated... 

Losing my mind, trying to publish a site with a .ashx handler


Happy Saturday everyone -


I am trying to work on a bit of a new idea to me, using .ashx files.  I understand that .ashx files need to be registered in the web.config, but I am not understanding how that works.

My .ashx file is 'album.ashx'.  My issue is that my site runs properly locally when I test it, I am just unable to publish it (locally or otherwise) - I receive the following error:

There is no build provider registered for the extension '.ashx'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.   


Inside of system.web I realize that I need to register this file, and using a template I found online this is what I have so far:




How to consume api webservice of another site and publish content on my own page?



I would really appriciate if someone could show me example of how to use api webservice of another site and retreive content (or whatever data is returned) and publish that content localy on omy own site. Api webservice I´m planning to use has support for HTTP GET & POST and SOAP 1.1 and 1.2.

I created my site with webmatrix and razor.I tryed searching on the net but I'm having hard time finding relevant content. Perhaps you can advise me what words to search for?

I hope you can help me.

Many thanks!







How to publish all the draft documents in SharePoint site Collection




I have filtered all the draft documents using the “All Draft Documents” view in our site collection. It gives me a good list of draft documents in site collection.


Unfortunately, I’ am not able to publish all Draft documents at one shot as the “Approve” option is greyed out.


Is there any way to approve all the documents at one time instead of one at a time?


Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor

Take a tour of your SharePoint site

What is a SharePoint site for?
A SharePoint site is a Web site that provides a central storage and collaboration space for documents, information, and ideas. A SharePoint site is a tool for collaboration, just like a telephone is a tool for communication, or a meeting is a tool for decision making. A SharePoint site helps groups of people (whether work teams or social groups) share information and work together. For example, a SharePoint site can help you:

Coordinate projects, calendars, and schedules.
Discuss ideas and review documents or proposals.
Share information and keep in touch with other people.

Six easy ways to customize your site using Web Parts in SharePoint

Becoming familiar with Web Part customization techniques gives you a range of page-customization choices. For example, you can customize your site's home page so that it displays the specific information that your team needs. You can rearrange the list items on the home page, add lists, and even change the images on the home page. As you become more familiar with Web Part Page customization techniques, you can build interactive Web Part Pages that makes the data in lists more dynamic and useful, and you can add new Web Parts that provide access to external data and Web services.

Tips to Improve Your ASP.NET Web site performance

ASP.NET has been developed with lots of features which makes developer life easy. Start from ViewState, PostBack, Server Controls , User Controls and etc. All of them can make your web development experience fun and easy, but improper use of them can cause your site performance slowdown. Most of the controls generate overhead to the client and server. Therefore in this article, I I will list out about things you can do and don't to improve your ASP.NET website performance.

SharePoint Application and Site Pages - Part 1 of 2

In this first part of the two part series, Steven covers the differences between Site and Application pages in SharePoint 2007, why each may be used in various circumstances, and prepares for the construction of a menu located application page. After a brief introduction he examines the concept of Site Pages and Application Pages separately in detail with supported screenshots.

SharePoint Application and Site Pages - Part 2 of 2

As the second article in a two part series, Steven examines the attributes and details of a SharePoint 2007 application page, including the construction and feature deployment of the same page based project. Since this is a WSS level objective, as opposed to MOSS, you will not need MOSS to work with the code included in this project. Windows Server 2003, WSS, and Visual Studio 2005 are all that is needed, with no additional add-ons. He provides a detailed analysis of each step involved in the creation and deployment of the project.

The best site i ever seen

See this site and enjoy the feature and designs which as i think you never seen ...

Thanks !!!!

Asp.net web site security database


Hello all, I'm new to asp.net and I'm currently practising some few stuffs. I'm creating a hotel reservation system using ASP.net Web site in visual studio 2008 and I currently don't have an App_Data in my solution explorer unlike visual web developer.

1. I have planned to make users of the website login before making their reservations.

2. I have also planned to develop the website such that I will be able to know all reservations made by each user.

First and formost, I will like to know how I can access/View the security database?

Secondly, how do I link my custom made reservation database and the security database in order to achieve my second plan above.?

Someone help me.

Thank you.

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?

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