Invalid object name 'umbracoUser'. Options
marlun78
Posted: Thursday, January 11, 2007 3:03:37 PM
Rank: Newbie

Joined: 1/11/2007
Posts: 2
Hi,

I get this error while trying to install (http://localhost/umbraco/default.aspx)

Server Error in '/umbraco' Application.
Invalid object name 'umbracoUser'.




Code:
Trace Information
Category Message From First(s) From Last(s)
aspx.page Begin PreInit   
aspx.page End PreInit 4,05540533221117E-05 0,000041
aspx.page Begin Init 5,56282368038398E-05 0,000015
umbracoInit creating umbraco.content 0,00390797456804423 0,003852
Unhandled Execution Error
Invalid object name 'umbracoUser'.
  at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
  at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
  at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
  at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
  at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
  at System.Data.SqlClient.SqlDataReader.get_MetaData()
  at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
  at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
  at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
  at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
  at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
  at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
  at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership)
  at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
  at umbraco.BusinessLogic.User.setupUser(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:line 55
  at umbraco.BusinessLogic.User..ctor(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:line 38
  at umbraco.library.RePublishNodesDotNet(Int32 nodeID) in C:\data\umbraco\umbraco2.1\umbraco\presentation\library.cs:line 317
  at umbraco.content.reloadContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:line 49
  at umbraco.content.get_xmlContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:line 27
  at umbraco.WebForm1.OnInit(EventArgs e) in C:\data\umbraco\umbraco2.1\umbraco\presentation\default.aspx.cs:line 79
  at System.Web.UI.Control.InitRecursive(Control namingContainer)
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 0,0147994658622658 0,010891


// Martin

matt.whitby
Posted: Thursday, January 11, 2007 3:16:40 PM
Rank: Enthusiast

Joined: 1/11/2007
Posts: 27
I get the same error.

I've searched the website for half an hour and I can't find any documentation on how to install this CMS so i'm just guessing at the moment.

The company is considering three different open-source CMS packages in addition to Sharepoint 2007. On the face of it this one looked to the be the best, but the documentation is just non-existent.
drobar
Posted: Thursday, January 11, 2007 3:54:53 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,698
Location: KY, USA
Hi, guys,

This error is generally easy to correct, but the exact solution depends on your setup (virtual dir, version of ASP.NET, etc.)

The Umbraco Community Search is your best way to find everything people have written about Umbraco, from issues to solutions to add-ons. Simply type 'umbracoUser' into the search and you'll find a number of articles and posts that discuss why this can happen and what to do about it.

The Umbraco Community Search is found here: http://www.google.com/coop/cse?cx=006828407427845235189%3Au1fygyy_s54

Here you can find out more about the Umbraco Community Search.


If you can't find a solution, please post with details about your environment and what you've tried. The great thing about the Umbraco community is that you're never alone.

cheers,
doug.



MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
marlun78
Posted: Thursday, January 11, 2007 4:40:03 PM
Rank: Newbie

Joined: 1/11/2007
Posts: 2

I can't find the answer ...
Here is what I did:
- I copied the files to the web server and followed the steps in this guide http://en.wikibooks.org/wiki/Umbraco/Installation/Installing_Umbraco_on_Windows_XP_Professional
- Opened my IE and requested http://127.0.0.1/umbraco/

Web.config
Code:
  <appSettings>
    <add key="umbracoReservedUrls" value=",/umbracoTextGen.aspx," />
    <add key="umbracoReservedPaths" value="/umbraco/,/install" />
    <add key="umbracoContentXML" value="/data/umbraco.xml" />
    <add key="umbracoStorageDirectory" value="/data" />
    <add key="umbracoPath" value="/umbraco" />
    <add key="umbracoDbDSN"
         value="Server=.\SQLEXPRESS;Database=umbraco;User ID=UmbracoAdmin;Password=pass;Trusted_Connection=False" />
    <add key="umbracoSmtpServer" value="127.0.0.1" />

    <add key="umbracoHideTopLevelNodeFromPath" value="true" />
    <add key="umbracoEditXhtmlMode" value="true" />
    <add key="umbracoUseDirectoryUrls" value="false" />

    <add key="umbracoDebugMode" value="false" />
    <add key="umbracoTimeOutInMinutes" value="20" />
    <add key="umbracoDisableVersionCheck" value="true" />
    <add key="umbracoDisableXsltExtensions" value="true" />
    <add key="umbracoDefaultUILanguage" value="en" />

    <add key="umbracoProfileUrl" value="profiles" />
    <add key="umbracoConfigurationDone" value="" />

      <!-- optional connection string for stat data
    - if empty and stat is enabled the default connection string will be used (umbracoDbDSN above) -->
      <add key="umbracoStatDbDSN" value="" />
      <add key="umbracoEnableStat" value="false" />
  </appSettings>


Output
Code:
Server Error in '/umbraco' Application.
--------------------------------------------------------------------------------

Invalid object name 'umbracoUser'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'umbracoUser'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[SqlException (0x80131904): Invalid object name 'umbracoUser'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857466
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735078
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
   System.Data.SqlClient.SqlDataReader.get_MetaData() +62
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) +82
   Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +88
   umbraco.BusinessLogic.User.setupUser(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:55
   umbraco.BusinessLogic.User..ctor(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:38
   umbraco.library.RePublishNodesDotNet(Int32 nodeID) in C:\data\umbraco\umbraco2.1\umbraco\presentation\library.cs:317
   umbraco.content.reloadContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:49
   umbraco.content.get_xmlContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:27
   umbraco.WebForm1.OnInit(EventArgs e) in C:\data\umbraco\umbraco2.1\umbraco\presentation\default.aspx.cs:79
   System.Web.UI.Control.InitRecursive(Control namingContainer) +321
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +692




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Request Details
Session Id: b3dxso55kpkijrnjmg2n3pri Request Type: GET
Time of Request: 2007-01-11 16:19:59 Status Code: 500
Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8)
Trace Information
Category Message From First(s) From Last(s)
aspx.page Begin PreInit   
aspx.page End PreInit 2,2498781316012E-05 0,000022
aspx.page Begin Init 3,62492864969814E-05 0,000014
umbracoInit creating umbraco.content 4,96210621924646E-05 0,000013
Unhandled Execution Error
Invalid object name 'umbracoUser'.
  at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
  at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
  at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
  at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
  at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
  at System.Data.SqlClient.SqlDataReader.get_MetaData()
  at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
  at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
  at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
  at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
  at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
  at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
  at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership)
  at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
  at umbraco.BusinessLogic.User.setupUser(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:line 55
  at umbraco.BusinessLogic.User..ctor(Int32 ID) in C:\data\umbraco\umbraco2.1\umbraco\businesslogic\User.cs:line 38
  at umbraco.library.RePublishNodesDotNet(Int32 nodeID) in C:\data\umbraco\umbraco2.1\umbraco\presentation\library.cs:line 317
  at umbraco.content.reloadContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:line 49
  at umbraco.content.get_xmlContent() in C:\data\umbraco\umbraco2.1\umbraco\presentation\content.cs:line 27
  at umbraco.WebForm1.OnInit(EventArgs e) in C:\data\umbraco\umbraco2.1\umbraco\presentation\default.aspx.cs:line 79
  at System.Web.UI.Control.InitRecursive(Control namingContainer)
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 0,00158988763108665 0,001540
Control Tree
Control UniqueID Type Render Size Bytes (including children) ViewState Size Bytes (excluding children) ControlState Size Bytes (excluding children)
__Page ASP.default_aspx 0 0 0
    PanelDebug System.Web.UI.WebControls.Panel 0 0 0
    umbPageHolder umbraco.layoutControls.umbracoPageHolder 0 0 0
    ctl00 System.Web.UI.LiteralControl 0 0 0
Session State
Session Key Type Value
Application State
Application Key Type Value
umbracoNeedConfiguration System.String true
Request Cookies Collection
Name Value Size
Response Cookies Collection
Name Value Size
Headers Collection
Name Value
Connection Keep-Alive
Accept */*
Accept-Encoding gzip, deflate
Accept-Language sv
Host 127.0.0.1
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Response Headers Collection
Name Value
X-AspNet-Version 2.0.50727
Cache-Control private
Content-Type text/html
Form Collection
Name Value
Querystring Collection
Name Value
Server Variables
Name Value
ALL_HTTP HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:*/* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:sv HTTP_HOST:127.0.0.1 HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) 
ALL_RAW Connection: Keep-Alive Accept: */* Accept-Encoding: gzip, deflate Accept-Language: sv Host: 127.0.0.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) 
APPL_MD_PATH /LM/W3SVC/1/Root/umbraco
APPL_PHYSICAL_PATH c:\inetpub\wwwroot\umbraco\
AUTH_TYPE   
AUTH_USER   
AUTH_PASSWORD   
LOGON_USER   
REMOTE_USER   
CERT_COOKIE   
CERT_FLAGS   
CERT_ISSUER   
CERT_KEYSIZE   
CERT_SECRETKEYSIZE   
CERT_SERIALNUMBER   
CERT_SERVER_ISSUER   
CERT_SERVER_SUBJECT   
CERT_SUBJECT   
CONTENT_LENGTH 0
CONTENT_TYPE   
GATEWAY_INTERFACE CGI/1.1
HTTPS off
HTTPS_KEYSIZE   
HTTPS_SECRETKEYSIZE   
HTTPS_SERVER_ISSUER   
HTTPS_SERVER_SUBJECT   
INSTANCE_ID 1
INSTANCE_META_PATH /LM/W3SVC/1
LOCAL_ADDR 127.0.0.1
PATH_INFO /umbraco/default.aspx
PATH_TRANSLATED c:\inetpub\wwwroot\umbraco\default.aspx
QUERY_STRING   
REMOTE_ADDR 127.0.0.1
REMOTE_HOST 127.0.0.1
REMOTE_PORT 1949
REQUEST_METHOD GET
SCRIPT_NAME /umbraco/default.aspx
SERVER_NAME 127.0.0.1
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/5.1
URL /umbraco/default.aspx
HTTP_CONNECTION Keep-Alive
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE sv
HTTP_HOST 127.0.0.1
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

--------------------------------------------------------------------------------
Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
jason
Posted: Tuesday, January 30, 2007 5:00:58 PM
Rank: Aficionado

Joined: 7/19/2006
Posts: 179
Location: Pittsburgh, Pennsylvania, USA
I'm getting the same error. Did you find a solution?

Jason
hoehler
Posted: Saturday, February 03, 2007 8:59:57 AM

Rank: Addict

Joined: 7/19/2006
Posts: 597
Location: Bad Homburg, Germany
Had the same behaviour in a testinstall as I haven't run the installwizard. The message means that you try to load the website but there is no "umbracoUser" table in the database. After setting umbracoConfigurationDone to "" and recopying the installfolder to the website root and after running the websitewizard all was ok.

So be sure that you have run the install-wizard, described in the installationguide.

Thomas

• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
sweeperq
Posted: Monday, July 21, 2008 1:52:58 AM
Rank: Enthusiast

Joined: 7/14/2007
Posts: 15
Take out the version number from the web.config file. I just had the same thing happen to me tonight when I copied my base umbraco files from another website. It assumes that if there is a version number that it is already installed.
swaters86
Posted: Monday, July 21, 2008 9:39:40 PM
Rank: Newbie

Joined: 7/21/2008
Posts: 2
Location: Tampa, Florida
I'm getting the same error that the OP is getting. Can someone scan through my web web.config code and let me know if it looks right or wrong? also, I'm running IIS 6.0 on XP and I'm using Umbraco v. 3.0.3

Code:
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

    <configSections>
        <section name="urlrewritingnet" restartOnExternalChanges="true" requirePermission="false"

type="UrlRewritingNet.Configuration.UrlRewriteSection, UrlRewritingNet.UrlRewriter" />
        <!-- ASPNETAJAX -->
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <section name="scriptResourceHandler"

type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0,

Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices"

type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0,

Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="jsonSerialization"

type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0,

Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
                    <section name="profileService"

type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,

PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <section name="authenticationService"

type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0,

Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>

    <urlrewritingnet configSource="config\UrlRewriting.config" />
    
    <appSettings>
  <add key="umbracoDbDSN" value="Server=B2395;Database=umbracoCMS;User

ID=umbracoUser;Password=publix07;Trusted_Connection=False" />
  <add key="umbracoConfigurationStatus" />
  <add key="umbracoReservedUrls" value=",/config/splashes/booting.aspx,/config/splashes/noNodes.aspx," />
  <add key="umbracoReservedPaths" value="/UmbracoCMS/,/install/" />
  <add key="umbracoContentXML" value="/data/umbraco.config" />
  <add key="umbracoStorageDirectory" value="/data" />
  <add key="umbracoPath" value="/UmbracoCMS" />
  <add key="umbracoSmtpServer" value="127.0.0.1" />
  <add key="umbracoEnableStat" value="false" />
  <add key="umbracoHideTopLevelNodeFromPath" value="true" />
  <add key="umbracoEditXhtmlMode" value="true" />
  <add key="umbracoUseDirectoryUrls" value="false" />
  <add key="umbracoDebugMode" value="true" />
  <add key="umbracoTimeOutInMinutes" value="20" />
  <add key="umbracoDisableVersionCheck" value="true" />
  <add key="umbracoDisableXsltExtensions" value="true" />
  <add key="umbracoDefaultUILanguage" value="en" />
  <add key="umbracoProfileUrl" value="profiler" />
  <add key="umbracoConfigurationDone" value="" />
</appSettings>

    <system.web>
        <browserCaps configSource="config\BrowserCaps.config" />
        
        <customErrors mode="RemoteOnly"/>
        <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
        <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data

source=127.0.0.1;" cookieless="false" timeout="20"/>
        <globalization requestEncoding="UTF-8" responseEncoding="UTF-8"/>
        <xhtmlConformance mode="Strict"/>
        
        <pages enableEventValidation="false"><!-- ASPNETAJAX -->
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions,

Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </controls>
        </pages>
        
        <httpModules>
            <!-- URL REWRTIER -->
            <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule,

UrlRewritingNet.UrlRewriter" />
            <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" />
            <!-- UMBRACO -->
            <add name="viewstateMoverModule" type="umbraco.presentation.viewstateMoverModule" />
            <add name="umbracoBaseRequestModule" type="umbraco.presentation.umbracobase.requestModule" />
            <!-- ASPNETAJAX -->
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions,

Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> <!-- ASPNETAJAX -->
        </httpModules>
        
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <!-- ASPNETAJAX -->
            <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <!-- UMBRACO CHANNELS -->
            <add verb="*" path="umbraco/channels.aspx" type="umbraco.presentation.channels.api, umbraco" />
            <add verb="*" path="umbraco/channels/word.aspx" type="umbraco.presentation.channels.wordApi,

umbraco" />
        </httpHandlers>
        
        <compilation defaultLanguage="c#" debug="true">
            <assemblies>
                <!-- ASPNETAJAX -->
                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,

PublicKeyToken=31BF3856AD364E35"/>
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral,

PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral,

PublicKeyToken=31BF3856AD364E35"/>
            </assemblies>
        </compilation>
        
        <authentication mode="Forms">
            <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/"/>
        </authentication>
        
        <authorization>
            <allow users="?"/>
        </authorization>
    </system.web>

    <!-- ASPNETAJAX -->
    <system.web.extensions>
        <scripting>
     <scriptResourceHandler enableCompression="true" enableCaching="true" />
        </scripting>
    </system.web.extensions>

</configuration>
drobar
Posted: Monday, July 21, 2008 10:58:50 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,698
Location: KY, USA
Your web.config seems okay (though I didn't look too closely at the non-umbraco items). The only thing is that this line:
Code:
  <add key="umbracoConfigurationStatus" />


Should include either the version number of your umbraco installation if you've completed the installation, or else an empty string. Such as...
Code:
  <add key="umbracoConfigurationStatus" value="" />

-or-
  <add key="umbracoConfigurationStatus" value="3.0.3" />


cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
swaters86
Posted: Tuesday, July 22, 2008 12:13:23 AM
Rank: Newbie

Joined: 7/21/2008
Posts: 2
Location: Tampa, Florida
Thank you Drobar for your quick response. I applied what you suggested, but I'm still getting the same error. Hopefully my web config file (which you can see below) is right for now. I changed the server name since I reinstalled my SQL management software. Do you have any more ideas? also, just-in-time debugger is picking this up: An unhandled exception ('system.Data.SqlClient.SqlException') occurred in aspnet.wp.exe[4972]



Code:
    
<appSettings>
  <add key="umbracoDbDSN" value="Server=B2395\SQLEXPRESS;Database=umbracoCMS;Trusted_Connection=False;User
ID=umbracoUser;Password=pass;" />
  <add key="umbracoConfigurationStatus" value="3.0.3" />
  <add key="umbracoReservedUrls" value=",/config/splashes/booting.aspx,/config/splashes/noNodes.aspx," />
  <add key="umbracoReservedPaths" value="/UmbracoCMS/,/install/" />
  <add key="umbracoContentXML" value="/data/umbraco.config" />
  <add key="umbracoStorageDirectory" value="/data" />
  <add key="umbracoPath" value="/UmbracoCMS" />
  <add key="umbracoSmtpServer" value="127.0.0.1" />
  <add key="umbracoEnableStat" value="false" />
  <add key="umbracoHideTopLevelNodeFromPath" value="true" />
  <add key="umbracoEditXhtmlMode" value="true" />
  <add key="umbracoUseDirectoryUrls" value="false" />
  <add key="umbracoDebugMode" value="true" />
  <add key="umbracoTimeOutInMinutes" value="20" />
  <add key="umbracoDisableVersionCheck" value="true" />
  <add key="umbracoDisableXsltExtensions" value="true" />
  <add key="umbracoDefaultUILanguage" value="en" />
  <add key="umbracoProfileUrl" value="profiler" />
  <add key="umbracoConfigurationDone" value="3.0.3" />
</appSettings>


blindthief
Posted: Wednesday, August 20, 2008 10:12:21 PM
Rank: Newbie

Joined: 8/20/2008
Posts: 5
Location: Toronto
The issue is due to the fact that there is no default.aspx.cs file supplied. If you look at the top of the Default.aspx, you see
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="True" Inherits="umbraco.WebForm1" trace="true" %>

I do not see that file anywhere, nor do I see the Global.asax.cs file
Dirk
Posted: Wednesday, August 20, 2008 10:32:54 PM

Rank: Addict

Joined: 9/27/2007
Posts: 977
Location: Belgium
Hi blindthief:

Just to make things clear: You really don't need any code behind files do start working with umbraco. Source code is nice if you want to know better how things work or if you really want to debug through some of the source files.

Answering swater86's problem: Might try to change

Code:

Server=B2395\SQLEXPRESS;Database=umbracoCMS


in umbracoDbDSN key to

Code:

Server=.\SQLEXPRESS;Database=umbracoCMS


I've had issues with this before, and also found the answer here in the forum. Don't know the exact thread, but a quick search should get you some pointers.

Regards,
/Dirk


level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
blindthief
Posted: Wednesday, August 20, 2008 11:06:02 PM
Rank: Newbie

Joined: 8/20/2008
Posts: 5
Location: Toronto
Dirk wrote:
You really don't need any code behind files do start working with umbraco


Actually you do if you open the website within Visual Studio. It generates errors because VS cannot find those .cs files for one and will not compile to preview. If umbraco does not need any code behind to work, there should be no "Codefile=default.aspx.cs" tag in the page header.

For whatever reason, I still cannot resolve the "Invalid abject umbracoUser" issue.
blindthief
Posted: Wednesday, August 20, 2008 11:07:58 PM
Rank: Newbie

Joined: 8/20/2008
Posts: 5
Location: Toronto
and wouldn't you know it... I tried to edit my last post to correct the "abject" spelling mistake, and I get a Server Application error on this site.
Dirk
Posted: Wednesday, August 20, 2008 11:33:10 PM

Rank: Addict

Joined: 9/27/2007
Posts: 977
Location: Belgium
Hi,

Opening the website in vs.net means you want to have a look at the code, right?

In that case, you should download the latest change set from Codeplex. Opening the solution in vs.net will give access to all source, including code behind files for the aspx files.

Any idea why you'd want to open the distribution version in vs.net?

Regards,
/Dirk


level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
boggyboy
Posted: Sunday, August 24, 2008 8:41:14 PM
Rank: Enthusiast

Joined: 7/3/2008
Posts: 25
Location: Florida, USA
I had the same issue. I resolved it by attaching an empty umbraco database to my SQL Server prior to launching default.aspx. Its not enough to create a blank database with no tables or views. If your database has no tables, views, etc, that would be your problem.
Stephan
Posted: Wednesday, October 22, 2008 4:50:55 PM
Rank: Newbie

Joined: 10/20/2008
Posts: 1
Location: NL
I think umbraco is thinking it has installed it's tables and changes the 'umbracoConfigurationStatus' setting to some value. I cleared this value (like ""), restarted umbraco and it went ahead and installed it's tables.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.