Home All Groups Group Topic Archive Search About
Author
4 Mar 2006 2:08 PM
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

Author
4 Mar 2006 2:37 PM
vbnetdev
Visit my site and contact me. It is not you its them.

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Show quoteHide quote
"philip" <p***@philippe.com> wrote in message
news:44099f48$0$21280$8fcfb975@news.wanadoo.fr...
>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
>
>