Last post Jul 12, 2015 02:20 PM by qasii
Jun 09, 2015 10:55 AM|Bhupinder Singh|LINK
When I attached my database to Somee.com (free hosting site), it comes up with the following error:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path 'c:\dzsqls\Guestbook.mdf' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost) at DZWebSvc.DZWebAgent.AttachNewUserDBDataFileOnly(String DBName, String LoginName, String OriginalDBFileName, String OriginalLogFileName, String NewDBFileName, Int32 MaxDataFileSizeMB, Int32
MaxLogFileSizeMB, String ConnectionString, Boolean ChangeDefaultSchemaToDbo, String tk) --- End of inner exception stack trace ---
I know it has to do something with the security of the database, but I don't know what and where to change?
Jun 10, 2015 02:38 AM|Li Wang|LINK
Does the error occured when you uploaded the database file?
Please mark sure the file size is less or equal to the values allowed by MS SQL hosting plan.
Link below is for your reference.
Hoping my reply could be helpful to you.
Jun 10, 2015 04:07 AM|Bhupinder Singh|LINK
The error doesn't let me to upload the file. It occurs when I click the upload button. There must be some security settings that doesn't allow the website to get hold of the file.
Yes, the file's size is well within the limit, it's a very tiny file. I haven't changed any settings in the database, so I presume it should be a very common error for the beginners (like me).
Jul 12, 2015 02:20 PM|qasii|LINK
i have same issue ? did you find any solution