Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 08, 2011 08:16 PM by Pstyles
Jul 09, 2011 12:10 PM|LINK
Hi friends ..
I built a website with Razor Syntax and upload it to the shared hosting at Godaddy , I uploaded the assemblies of webpages and razor , and when i tried to explore it with SQL compact edition 4.0 i recived this error msg from catch ..
Access to the database file is not allowed. [ 1884,File name = D:\Hosting\6862932\html\info\App_Data\Hello World.sdf,SeCreateFile ]
what i have to do ?!
Jul 09, 2011 02:18 PM|LINK
Jul 09, 2011 02:33 PM|LINK
I contacted them , they told me that i have to upload the assemblies of Razor syntax , i did and .cshtml pages worked well !! ,.. the problem is to use SQL compact edition there !! .. I tried to upload the assemblies of and couldn't find it solve !!
Jul 10, 2011 05:40 AM|LINK
Jul 10, 2011 10:00 AM|LINK
I tried this solution , and gave the folder the write / read permission , but same error !!
Could not load file or assembly 'System.Data.SqlServerCe, Version=220.127.116.11, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040)
Jul 11, 2011 12:35 AM|LINK
Have you tried to grant Asp.net user full permissions?
Jul 11, 2011 06:28 AM|LINK
Thanx alot for advice , I found the solution is to make Deploment for ASP.Net Razor Syntax and SQL Compact Edition at the Visual Studio , then to make the folder APP_Data with read / write permissions .. everything are ok now ^_^
Thanx alot for help
Aug 10, 2011 06:27 PM|LINK
I'm having the exact same problem with GoDaddy. I get the error: Access to the database file is not allowed. [ 1884,File name = D:\Hosting\8077792\html\App_Data\SqlCeAspnetdb.sdf,SeCreateFile ]
I added read/write permissions to my app_data folder, but still get the same error.
Can you describe your solution? Thanks in advance.
Aug 10, 2011 07:14 PM|LINK
Mr. RPagels ..
First be sure to upload the dll's of the web pages rayzor syntax at the bin folder of the website .
open the hosting folders throught the FTP File Manager at the browser , then select the App_Data folder which contains the SQL CE file , change the permission for write and read permissions , then try to re-open the web page .