Publishing web site

P

philip

I tried to publish on my address 'philippewarein.com' a minimal site.
There is only one page, with some words : "This is my first site"
This is the HTML code of this page, code created by Visual Studio 2005 :

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
This is my first site...</div>
</form>
</body>
</html>

I publish using 'Build/Publish Website' and after : 'Remote Site' on
'philippewarein.com'.
After publishing, I try to read site on 'philippewarein.com'
Try this url : "Server Error in '/' Application"

I contacted technic assistance of '1&1'. They say that all is good if I cut
'inherits="_Default, App_Web_1rxgpckv" on the aspx page.
Why ? A site cannot function as VisualStudio build it ?
Must I change someteing in 'Config.web' file, or change an option before
publishing ?
Or is it '1&1 Internet SARL' which do not do his job ?

Here is my 'web.config' file :

<?xml version="1.0"?>
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation debug="false" strict="false" explicit="true" />
<pages>
<namespaces>
<clear />
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.WebControls.WebParts" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
</pages>
<authentication mode="Windows" />
</system.web>
</configuration>

Thanks for your attention

Philip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top