Problems accessing the ASP.NET configuration folder

  • I used the ASP.NET Configuration Wizard to configure a web user.
  • Then I denied access to anonymous users in the folder.
  • This works locally.

  • However, when I upload my website to my hosting provider, when I check the login, it says it cannot "access SQL Server 2005".

  • I noticed that the wizard created the database files:

    App_Data / ASPNETDB.mdf
    App_Data / aspnetdb_log.ldf

  • So my guess is that the website permissions are not correct to access these files.

  • In my FileZilla FTP client, I changed the App_Data directory and all files in it to 777, but it still gets the "cannot access" message.

Has anyone had a problem before?

ANSWER: Thank you Pradeep, I contacted my ISP, he said to use an online file manager to set the permissions that worked.

0


source to share


1 answer


Check with your hosting provider. make sure they support sql database drivers. Also ask them for permission in the App_Data folder. One way to test this is to try creating a single page that gets data from the database and doesn't require authentication. If it works, there should be no problem with the database drivers and that should be a resolution issue. Hope this helps.



+1


source







All Articles