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


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

Web Developer is not loading my web pages

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
 
Hi All,   In urgent need of some help. I have been using Visual Web Developer without any problems until yesterday, when it decided that it is no longer going to load any of my web pages.  I have tried creating a very simple project with a single hyperlink on the page, but the page does not load. If I  Change the "use dynamic ports" to false and select a port number i get the following message "unable to launch the ASP.Net development Server. Port 'xxxx' is in use". Does anybody have any ideas as to what could possibly have happened to my Web Developer to cause this?   Any help is appreciated.   ThanksEddieB


View Complete Post


More Related Resource Links

Problems loading pages that require to be logged in.

  

So the problem is that when a user logs on the website and he tries to load a pages that requires someone to be logged in. For example to edit his profile or add a record to the database. So when I log in and try to load profile.aspx he gives me the following error.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

Line 58:     Public Overridable Property Voornaam() As String
Line 59:         Get
Line 60:             Return CType(Me.GetPropertyValue("Voornaam"),String)
Line 61:         End Get
Line 62:         Set

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\flanders_website\925da723\20319e75\App_Code.45wzfix6.19.vb    Line: 60


However if I try to do this on my local machine for testing everything works fine. (on the same da

Response.Redirect Holds Other Pages from Loading

  

Here's the scenario.

I've got a form with a button on it. You have to be logged in to see this form. I use this code to check if the user is logged in and act appropriatley.

Dim isLoggedIn As Boolean = CType(Session("LoggedIn"), Boolean)
       

        If isLoggedIn = False Then
            Response.Redirect("Login.aspx")
        End If

The button runs a report that takes anywhere from 0.5 to 20 seconds. For testing it just sleeps for 10 seconds.

Threading.Thread.Sleep(10000)


The problem is this. Say User1 comes to the form, logs in and runs the report. If User2 comes to the form, the page will not load until User1's report is done.

Now, the bonus is if I comment out the response.redirect line, everything works fine. But if that line is in there I will get this problem.

My quesiton is why is this happening? What's going on in the background that's causing this? Any way around it?


Problem on loading sharepoint pages in Iframe.

  

Hi All,

 

I am using WSS 3.0.

I have 2 sharepoint application pages. ie, the pages A(http://site1.com/A.aspx) and B(http://site2.com/B.aspx).During the page load of A, we create an iframe and load the page B on it.  But it does not work, the login page shows in my iframe. These two pages may be in same domain. Is there any problem on loading sharepoint pages on iframe?

 

Please help me.

 

Thanks in Advance...

 


Loading pages content with jquery

  

Hi people

I would like to know, based on your experience, if loading every page content into a div with jquery is a good practice.

 

Regards

Jonathan

 


Pages not loading the styles when directly accessed

  

I have been trying very hard to identify the issue that I am facing and am facing a brick wall now. Any help will be great!

My application uses Windows Live ID for authentication. Everything works fine but for one issue. There are few pages that do not load styels/css/graphics when accessed directly. However, if I access the home page (that works fine always) and then access these error-prone pages, then they also work fine. After this, the all error-prone pages always work fine unless the browser is re-opened.

When this error pages are acessed directly, it shows place holder for images but does not show the images. Now when i access this image directly on the browser,for example - http://....logo.png it appends '?wa=wsignin1.0&ppud=4' and shows an error page 'HTTP Error 405.0 - Method Not Allowed'. Soon after If I refresh or type the image path, it loads up the image.

I am not sure what the problem is. I tried adding web.condig with authorization tags to allow all users in these CSS/images folder but nothing works. Somehow, few of the pages work absolutely fine.

Any help is heighly appreciated.


High Performance ASP.NET - Speeding Up ASP.NET Pages

  
have been writing a series of blog posts, which I have named High Performance ASP.NET Websites Made Easy! There is no rhyme or reason to the order of these posts and certainly can be read in any order:

Developing High Performance and Scalable ASP.NET Websites
Avoid Chatty Interfaces Between the Tiers in Your ASP.NET Web Application
ASP.NET Page Profiling - Page Tracing - High Performance and Scalable ASP.NET Websites Made Easy
Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs
Query Analyzer - Sql Server Database Indexes and Execution Plans

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.

Application Vs. Content Pages in SharePoint

  
SharePoint has two types of ASPX pages. One type is the application page, also known as a _layout page. The other type of ASPX page is a content page, also known as a site page. Each of these page types is stored in a different location in SharePoint. When developers create custom ASPX pages, they must decide on the page type.

Microsoft SharePoint Online Standard Developer Guide

  
Developers Guide for SharePoint Online (Standard Offer). Microsoft® Office SharePoint® Online is a collection of Web-based tools and technologies built on Microsoft Office SharePoint Server 2007 that help you store, share, and manage digital information within your company. This white paper describes the customization (or extensibility) capabilities that are supported with the Standard offering of SharePoint Online

Master Pages in MOSS 2007

  
'MasterPages' feature in sharepoint 2007 makes the entire customization job easy.In 2003 we used to face lot of issues to get the same look and feel and the standard behaviour for overall site. In 2007, customizing the look and feel for the entire site can be done in a simple way by using 'MasterPage' feature.

How to Pass Values Between Web Pages ASP.NET

  
You can pass information between pages in various ways, some of which depend on how the redirection occurs. The following options are available even if the source page is in a different ASP.NET Web application from the target page, or if the source page is not an ASP.NET Web page:

Use a query string.

Get HTTP POST information from the source page.

The following options are available only when the source and target pages are in the same ASP.NET Web application.

Use session state.

Create public properties in the source page and access the property values in the target page.

Get control information in the target page from controls in the source page.

How to Pass Values Between ASP.NET Web Pages

  
You can pass information between pages in various ways, some of which depend on how the redirection occurs. The following options are available even if the source page is in a different ASP.NET Web application from the target page, or if the source page is not an ASP.NET Web page:

Use a query string.

Get HTTP POST information from the source page.

The following options are available only when the source and target pages are in the same ASP.NET Web application.

Use session state.

Create public properties in the source page and access the property values in the target page.

Get control information in the target page from controls in the source page.

Combine, minify and compress JavaScript files to load ASP.NET pages faster

  
Websites are getting more interactive these days and most of this interactivity comes from JavaScript. People are using different JavaScript libraries and frameworks to make their websites more interactive and user friendly.

Creating and Using an ASP.NET Web Service in Visual Web Developer

  
In addition to letting you create Web pages, Microsoft Visual Studio also lets you create Web services that use ASP.NET XML. Creating a Web service in Visual Studio is similar to creating a Web page. You can also use the Microsoft Visual Web Developer Web development tool to reference and use Web services that are in a Visual Web Developer solution, on your local computer or in a local or external UDDI directory. In this walkthrough, you will create the Web service in one solution and use it in another.

Tasks illustrated in this walkthrough include:

Creating a simple XML Web service in Visual Web Developer.

Creating a separate Web site that uses the Web service.

JQGrid Loading deleted values

  

Hi,

This is quite strange. here is the issue:

Some Info:

1. I'm using a multi-select jqgrid.

2. I have my own delete button to delete multiple orders

The problem:

When i press the delete button on the pager of my jqgrid, the records are deleted from the database but JqGrid shows some records (4-5). On refreshing the grid, correct numbers of records are shown.


Here is the code:


function delorder() {
        var amg = $("#horder").getGridParam('selarrrow');
        var cont = amg.length;
        if (amg.length > 0) {

Visual Web Developer 2008

  

I'm getting th error "unable to connect to the asp.net development server 2008"

It's been working fine for months and all the sudden.I'm fairly new at this so if you have a fix I will need details.

Thanks,

Regards


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