Moving a SQLCe site from subdomain to main domain

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/9/2010 9:28:57 AM
Gravatar
Total Posts 116

Moving a SQLCe site from subdomain to main domain

I'm having a bit of bother with this one.  I setup a subdomain and built the site so that the client could easily access the site prior to the DNS being moved.  Now the site is complete I have setup a domain and copied all of the files out of the subdomain folder into the new domain folder and reset the permissions but I'm getting an error as below - any ideas?

(this site is using formwizard pro if that has any bearing on the error message?).

Error message:

Probing system...
File system permissions ok.
An Error Occurred:Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source:mscorlib
Stack Trace at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at System.Data.SqlServerCe.UnmanagedLibraryHelper..ctor(String fileName) at System.Data.SqlServerCe.NativeMethodsHelper..ctor(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadValidLibrary(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinariesFromPrivateFolder(String privateInstall) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() at System.Data.SqlServerCe.SqlCeConnection..ctor() at System.Data.SqlServerCe.SqlCeConnection..ctor(String connectionString) at mojoPortal.Data.DBPortal.DatabaseHelperCanAccessDatabase(String overrideConnectionInfo) at mojoPortal.Web.UI.Pages.SetupHome.ProbeSystem() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Thanks 

Andrew

12/9/2010 10:05:01 AM
Gravatar
Total Posts 1991

Re: Moving a SQLCe site from subdomain to main domain

Hi Andrew,

Can you check the permissions on the App_Data directory? Make sure the web process user has write permissions to that directory and all files inside of it.

HTH,
Joe D.

12/9/2010 10:24:48 AM
Gravatar
Total Posts 116

Re: Moving a SQLCe site from subdomain to main domain

Hi Joe,  thanks for your suggestion, I have re-checked the permissions and they are all fine??

12/9/2010 2:52:29 PM
Gravatar
Total Posts 116

Re: Moving a SQLCe site from subdomain to main domain

You were right Joe it was a permissions issue, I hadn't given IUSER and IWPD modify permissions! blush

You must sign in to post in the forums. This thread is closed to new posts.