Copied to clipboard

Flag this post as spam?

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


  • m 20 posts 43 karma points
    Sep 08, 2011 @ 12:02
    m
    0

    Security Exception

    Hello guys,

    My website http://cubosystems.com/ is been offline for last 4-5 days with below error.

    System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    I need some help guys, the SP tells me they have done no changes on the server. It was sudden it was perfectly working 4.7 site (Business StarterKit with RobotsTXT and cultive form package).

    I got the below verified from the SP (Shared)

    1. "Network Service" full control to the root folder of the website

    2. They confirmed they only allow medium trust apps in their servers, so didn't try the "Full Trust" entry in web.config - Not sure if this is nesseccary in my case because I only run RobotTXT and Cultive form nothing special.

    3. Network Services has access to App pool of my application (Shared + Integrated) and the user has Read/Execute set

    4. "Network Service" has full control to ASP .Net files directory in %TEMP% folder   

    When I hit http://cubosystems.com/umbraco/ ; the login screen shows up but the user name password doesnt work.

    Guys what am I missing, Im worried about my SE indexing. Urgent Urgent help, Im even considering changing my Hosting service to Discount ASP because I have no idea if my current SP are beign honest.

    Any tips would help.

     

  • Paul Blair 466 posts 731 karma points
    Sep 25, 2011 @ 04:44
    Paul Blair
    0

    Before doing anything else back up your database

    What version of Umbraco is it?

    Check that your app pool is using .NET 4.0.

    usually if it is a permissions issue the login screen doesn't format properly so i think your permissions are probably OK.

    I think you have removed the install directory? Try re-copying that and step through /install/default.aspx to see if that works.

  • m 20 posts 43 karma points
    Oct 02, 2011 @ 06:07
    m
    0

    Hi Paul, Thanks for your reply. Sorry I didnt know you replied. (Crazy! I didnt get notified on my email)

    Anyways I actually got really frustrated with the hosting company and moved to Discount ASP.NET

    I copied the FTP files and Restored the db to the DA.N server successfully.

    However the issue now is the new default database name and user name are different to the old hosted db so the site now gives a different error message http://cubosystems.com/

    Old db name yyy_umbraco   |    Old db Login (user in ConnectionString) : yyy_admin  |    Schema :  yyy_admin     |   Default user : yyy_admin 

    New db name xxx_umbraco1212   |    New db Login (user in ConnectionString) :xxx_1212  |    Schema :  yyy_admin     |   Default user : yyy_admin 

    I am using Umbraco V4.7 with SQL 2008 R2  .Net 4

    Pls help!

    Thanks

  • Paul Blair 466 posts 731 karma points
    Oct 02, 2011 @ 22:25
    Paul Blair
    0

    Have you deleted the install directory? Try re-copying and running through the install process at /install/default.aspx

  • m 20 posts 43 karma points
    Oct 03, 2011 @ 06:22
    m
    0

    Hi Paul, Thanks for the reply.

    I actually did try that. I copied the install folder from the orginal umbraco directory. When I /install/default.aspx it takes me to the admin login screen. [If I enter the user name password the text fields vibrate as if I entered the wrong details. (sure this is the case as it doesnt connect to the db)]

     

  • wolulcmit 357 posts 693 karma points
    Oct 03, 2011 @ 06:44
    wolulcmit
    0

    Hi m,

    Give this a whirl
    http://www.prolificnotion.co.uk/invalid-object-name-umbracouser/

    it sounds like you need to manually change what the Umbraco User is now called since you've now moved to a new provider and your database Username has changed so the original tables need to be renamed to reflect that change.

    - Tim

  • m 20 posts 43 karma points
    Oct 03, 2011 @ 07:21
    m
    0

    man wolulcmit! i came across this same url few days back and when I manually went through the tables it had the owner.table, as in yyy_admin.table1 so decided "it was all fine!". I guess I overlooked the schema.

    So today I thought I'd give it a try and it WORKED and my site works fine now. Guys who read this thread, go through the thread from the top carefully. This thread has 2 Solutions.

    1. Make sure the check list I had provided are really truly checked (the previous hosting company lied to me about permission - guess the best thing I did was changing the hosting company.)

    2. The second solution in this thread is about moving the Umbraco database to totally a new database, e.g. someone who is deploying the local umbraco setup to live environment with different db details or like myself moving from one host to another

    Moral of the story

    • Never waste time with a hosting company that doesn't lend a good support and who totally inflexible
    • Alway ask for help Thanks Paul and wolulcmit
    • Be patient! but be proactive! (even debugging didn't help me initially, because I almost believed the ex-hosting company)

     

  • m 20 posts 43 karma points
    Oct 03, 2011 @ 07:23
    m
    0

    man wolulcmit! i came across this very url few days back and when I manually went through the tables it had the owner.table, as in yyy_admin.table1 so decided "it was all fine!". I guess I overlooked the schema.

    So today I thought I'd give it a try and it WORKED and my site works fine now. Guys who read this thread, go through the thread from the top carefully. This thread has 2 Solutions.

    1. Make sure the check list I had provided are really truly checked (the previous hosting company lied to me about permission - guess the best thing I did was changing the hosting company.)

    2. The second solution in this thread is about moving the Umbraco database to totally a new database, e.g. someone who is deploying the local umbraco setup to live environment with different db details or like myself moving from one host to another

    Moral of the story

    • Never waste time with a hosting company that doesn't lend a good support and who are totally inflexible
    • Always ask for help Thanks Paul and wolulcmit
    • Be patient! but be proactive! (even debugging didn't help me initially, because I almost believed the ex-hosting company)

    Happy Days :)

  • wolulcmit 357 posts 693 karma points
    Oct 03, 2011 @ 07:31
    wolulcmit
    0

    Awesome, glad you got your site back up and running!

Please Sign in or register to post replies

Write your reply to:

Draft