Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 14:53
    Moshe
    0

    d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs message

    Hi,

    I installed umbraco today from Microsoft Web Platform Installer 2.0 locally.

    I thin that version is 4.0.4.2

    When I try to debug my local web site umbraco with VS 2008,I get message about file d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\content.cs

    that can't find.

    And so I can't debug site.

    Thanks for any help.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 14:56
    Stefan Kip
    0

    Can you at least copy paste the exact message or provide a screenshot?

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 14:58
    Moshe
    0

    {"Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader"}

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 15:01
    Stefan Kip
    0

    Then your connectionString is incorrect. At least, Umbraco is not able to connect to the SQL Server/Database provided in the connectionString.

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 15:12
    Moshe
    0

    Inner Exception is Invalid object name 'umbracoUser'.

    <

     

    add key="umbracoDbDSN" value="datalayer=SqlServer;server=moshe\sqlexpress;database=umbraco;user id=umbracouser;password=xxxxx"/>

    And I have 2 users: admin for access to SQL Server and umbracouser for database umbraco with the same password.

    What is wrong?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 15:26
    Stefan Kip
    0

    Than you do not have enough permissions for the user account.

    Check that the user is 'public', 'db_owner', 'db_executor', 'db_datareader' and 'db_datareader' for the specified database.

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 16:08
    Moshe
    0

    umbracouser has 'public', 'db_owner',

    'db_ddladmin'

    'db_datawriter',

     

    , 'db_datareader' ,

    'db_securityadmin'

    What is 'db_executor'?

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 16:11
    Stefan Kip
    0

    Hmm, is the DB installed correctly? Can you check if the table umbracoUser exists in the 'umbraco' DB?

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 16:33
    Moshe
    0

    Yes,exactly.

    I checked that DB exists,but doesn't contain tables and store procs.

    I want to install tables but odn't know from what place I can take it.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 16:34
    Stefan Kip
    0

    Try to remove and reinstall Umbraco?

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 16:37
    Moshe
    0

    I want to find script in internet that installs DB.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 16:44
  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 17:05
    Moshe
    0

    Ok,thanks,

    I tried to reinstall umbraco CMS and installed script.

    But now I got :

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /install/default.aspx

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 17:14
    Stefan Kip
    0

    Okay, this is getting ugly.

    Your installation is really corrupted. Only solution is completely remove and reinstall Umbraco, I guess...

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 17:15
    Moshe
    0

    Do you know,there exists version with full sources for VS 2008?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Aug 19, 2010 @ 17:17
  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 17:17
    Moshe
    0

    I comletely reomoved and reinstalled umbraco CMS with its database.

  • Moshe 11 posts 31 karma points
    Aug 19, 2010 @ 17:21
    Moshe
    0

    I'll try to install version vith full sources

    umbraco.codeplex.com/SourceControl/list/changesets

  • Sascha Wolter 615 posts 1101 karma points
    Aug 21, 2010 @ 01:23
    Sascha Wolter
    0

    Hi Moshe,

    it sounds to me like you have installed Umbraco on your local machine, have then created a new project in VS2008 from the existing web site and you are now trying to debug the site in Umbraco?

    To me that sounds pretty much like you are trying to build the code again as VS is asking for a .cs code file. If you have the web site in your VS2008 you should remove the build setting for that project in the solution. The web installer will only install the binaries, no cs files are provide and you don't need them to debug your site, there is also no need to compile the Umbraco source code if you are not going to modify the core code.

    Do debug an Umbraco installation set up with the web installer you would just need to attach the debugger to the iis process. I think there is a video in the Umbraco.tv section that shows you how to do that.

    Hope that helps,
    Sascha

  • Moshe 11 posts 31 karma points
    Aug 22, 2010 @ 16:36
    Moshe
    0

    Hi kipusoep /Sascha,

    I successfully installed umbraco 4.5 with full sources in VS 2010,but I don't know what username/password I need to use in first screen:

    http://localhost:3067/umbraco/login.aspx

    Thanks,

    Moshe

     

Please Sign in or register to post replies

Write your reply to:

Draft