.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

The type of page you have requested is not served

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :ASP.Net

I am trying to do maintenance on an existing web site.  I have loaded Visual Studio 2005 on a machine that already has IIS version 6 installed.


The site uses  only classic ASP pages (no aspx).


When I attempt to run the site from within VS, the browser opens to "http://localhost:1647/yourDev/yourpage.asp" rather than the expected "http://localhost/yourDev/yourpage.asp".  This error message displays:

Server Error in '/yourDev' Application.

View Complete Post

More Related Resource Links

SharePoint 2007 - Consolidating everything as feature into WSP [Content Type, Page Layout, Pages, Ma


Hello –


Overview – We are building a Mobile Web Site using SharePoint 2007. The big screen site has been already built and we need to integrate the mobile site into same site collection of big screen –


·         The Mobile site will use the existing content types of existing big screen site

·         We will build a new custom Master page

Create buttons for "new item" which create a new page of a specific content type

We have a Pages library (wiki) which supports a few content types (and page layout associated). We want to enable users to click a button for example of "new custom enterprise wiki page" - so a new page of content type article will be open in edit mode. Can someone help how to develop? (it has to mimic the behavior that happens when user creates new page from the Ribbon or Site actions and has to choose the content type, it also has to keep the new page in edit mode and not just create it).  

Unable to enter the product key in the Convert License Type page (textbox is read-only)

We installed both WSS and MOSS SP2 and had planned to follow the manual fix for the known issue that the patch unexpectedly activates a trial expiration.  However, the textbox to enter the product key is read-only.  We have tried accessing this page using the normal administrator credentials as well as the farm account; no success.The SP2 issue and manual fix is detailed here, http://support.microsoft.com/default.aspx/kb/971620We were able to experience this problem on a farm running the Feb 2007 cummulative patch (version so it's not related to the SP.  But running the SP increasing the need to find the fix.Any help is appreciated,J. Aqui

Field type Choice is not installed properly. Go to the list settings page to delete this field.

Has anyone received this error message and know how to deal with it? Field type  Choice  is not installed properly. Go to the list settings page to delete this field. I have received this error three times now, once when trying to add a 'List Definition From Content Type' in Visual Studio twice when trying to add from existing site columns in Sharepoint in the list settings and library settings from the ribbon from a list and a document library.

Form opening in infopath client despite Content Type settings "Display as a Web Page"

Hi all,   I have a strange behavior with my forms. The infopath template is defined as Content Type for my Form library, in the advanced settings I have checked "Display as a Web page" for the "Opening browser-enabled documents" setting. Despite that when the client is availble on the computer which is browsing the Form Library, I'm asked to "Open", "Save" or "Cancel" instead of opening the form in the browser.   Any idea why this is happening ?

Add a "Shared Documents" type documents browser onto an aspx Application Page?


I have an aspx page for a user to fire off a mail merge. I'd like them to choose a .html file from a document library in Sharepoint, then choose a contact list, and then have it fire off the mail merge.

The mail merge part is done and works from a console application with the .html file location hardcoded, and the contact list hard coded.
What I need is a way to add a documents browser onto the .aspx page. I can't see any obvious control I can drop on to achieve this though.

Ideally I would drop on a <Sharepoint:DocumentsBrowser> control, point it at a given ListId in sharepoint, and at runtime Sharepoint would display a nice shared documents type documents browser. Is this possible?

I wrote a book :) http://www.amazon.com/Microsoft-Visual-Studio-2008-Programming/dp/0071604081

spmetal generated class and content type (for page layout) retrieve problem


I'm working with a console application to generate my sites and subsites (hierarchy). And i've got a problem with a generated spmetal class.


this doesn't work:


static void Main(string[] args)


            string SITE = string.Concat("http://"Environment.MachineName);         



The connection type is not compatible with any other web parts on the page


Is there anyway to determine which interface a webpart uses for connection?

I have a custom web part, implementing the ICellConsumer interface, and I am trying to send values to the SPVisibilityFilter webpart, available here http://spvisibilitywebpart.codeplex.com, which seems to be implementing the ICellConsumer interface as well.

Yet, I still keep getting "the connection type '' is not compatible with any other web parts on the page", when trying to connect the web parts on the page. What am I missing?

Inherited Page class type confusion


I have a single top-level window that holds a single object--a Page. I want the main window to resize based on the client area size (i.e., the Page size). I am doing this by having the main window resize property SizeToContent="WidthAndHeight".

My Page definitions:
    public class PageHelper {
        static public PageWelcome oPageWelcome = new PageWelcome();
        static public PageHelp1 oPageHelp1 = new PageHelp1();
        static public PageHelp2 oPageHelp2 = new PageHelp2();

If the user resizes the window, it should be easy enough adjust the size of the content Page (I haven't written the code yet). But what do I do when the user goes to a new page after resizing the window? It seems that I can either (1) resize all the pages when the user resizes the window, even the ones that are not active :(, or (2) I can make sure the new page is the right size when the user tries to go to it. :)  But I am having trouble with the latter approach.

I made my own Navigate function I call ACNavigateToPage which I want to call instead of calling Navigate when the user wants to go to a different page.

    public partial class WindowMain : NavigationWindow {

Sharepoint 2007 publishing site home page displays unknown file type security message


I am using sharepoint 2007 sp2, it has been workig fine for the past 8 months but since one of the developers installed .net 4.0 framework, every time we create a new sharepoit publishng site or extend and existing application the home url displays an "Unknown File Type" security warning message and asks users to download the file.  If i manually tupe in the full url http://www.mysite.com/pages/default.aspx it is displayed correctly. I have uninstalled .net 4 from the server but i still have the same  error. I have tried to replicate this error on a development server but sharepoitn works fine on that even with .net 4.0 installed.

Has anyone had the same issue ? I would appreciate  any suggestios or help with troubleshootig this issue.


Cannot Display Application Page as Custom Form for Content Type



I've created a custom content type in VS. In "Elements.xml" file of my content type, I added my custom application page as new form and deployed as feature.

   <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
    <FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">

What doc type is used in .Net page to make it W3C compatible


 Can any one help what document type & HTML should be used in .Net page to make it W3C compatible so that it can pass the W3C validator check ???

Can single CMS (.Net) can be used for multiple domain names ???

How can we do without sub domain ???



Article page content type



I created a new document library called "Article". I added "Article Page" content type to this document library and also make it a default content type. But after I created a new page, the new page created in "Pages" document library.

What I am missing here?

Thanks in advance,



Specify content type of page in site definition



I wanted to ask. I want deploy my site definition, but I am not able (and I can't find any solution) to make my pages "wiki". I have page default.aspx in my site definition. But If I create new site from this definition, I can't edit default.aspx. I don't know, how define this. I think site definition must create "wiki-lists", but I don't know how. And I think I must create somewhere in default.aspx some Formated content. But I don't know how.

Can someone help me with little push. Or reference on existing answer or solution?


Use the Convert License Type page to convert this installation to a licensed version.


I just rebuilt my entire farm and used the software I downloaded from MSDN.   When I try and type in my License key I can't type in the key box.  The OK button is greyed out and I am not able to type in my key into the Key field.  

I am using SharePoint 2007 SP2 on Windows 2008 64bit.  Why can't I change my key?

Facebook type of a page!


I am working on my college's computer science website. Every student is supposed to get his own page. I want the students to update their statuses as is done in Facebook. Like when a student updates his status, his previous statuses shown on the same page will get displaced down the page and the new status comes right on the top of the page, above all older posts. How could that be accomplished via asp.net, when programming in VB, particularly? What things, pertaining to asp.net, should I use to make it happen?

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