Subject: Instalation Problems
Posted By: toXic Post Date: 9/18/2003 8:48:53 AM
Hi all

I am following the instalation instruction on the README to install the demo files. I get stuck at the end of step 1, with the error:

....Device activation error. The physical name 'C:\Documents and Settings\davidb\Desktop\ThePhile_Data.MDF' may be incorect...

Is the file corrupt or something?

Please help, I need to have this installed by the end of the day.

Regards


Reply By: shiraz Reply Date: 9/18/2003 2:14:45 PM
quote:
Originally posted by toXic

Hi all

I am following the instalation instruction on the README to install the demo files. I get stuck at the end of step 1, with the error:

....Device activation error. The physical name 'C:\Documents and Settings\davidb\Desktop\ThePhile_Data.MDF' may be incorect...

Is the file corrupt or something?

Please help, I need to have this installed by the end of the day.

Regards


 

Reply By: shiraz Reply Date: 9/18/2003 2:18:07 PM
quote:
Originally posted by toXic

....Device activation error. The physical name 'C:\Documents and Settings\davidb\Desktop\ThePhile_Data.MDF' may be incorect...
 



Hmm sorry about the last post.
the name of the database to be RESTORED is thephile-database-backup and its under the wrox folder that you downloaded from the website. (6934download when unzipped)

Atleast that is what I have for SQL Server / C # . If you have any sql server enterprise manager related question feel free to ask.

Reply By: toXic Reply Date: 9/19/2003 4:13:43 AM
I managed to sort it in the end.
I needed to created two folders inside my 'Documents and Settings' folder. One folder called Davidb and another one called Desktop. After this is done then the database is restored with no problem.

The next error I get is from admin which is:

__________________________________________________________________

Access to the path "C:\wrox\ThePhileVB\Config\Accounts.Config" is denied.

System.UnauthorizedAccessException: Access to the path "C:\wrox\ThePhileVB\Config\Accounts.Config" is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Wrox.WebModules.Accounts.Configuration.ModuleConfig.GetSettings() in C:\wrox\ThePhileVB\WebModules\Accounts\Accounts.Configuration\ModuleConfig.vb:line 38
   at Wrox.WebModules.Accounts.Business.SitePrincipal.ValidateLogin(String emailAddress, String password) in C:\wrox\ThePhileVB\WebModules\Accounts\Accounts.Business\SitePrincipal.vb:line 79
   at Wrox.WebModules.Accounts.Web.Login.Submit_Click(Object sender, EventArgs e) in C:\wrox\ThePhileVB\WebModules\Accounts\Login.aspx.vb:line 83
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain()

____________________________________________________________________


I did all the changes for this error as noted in FAQ.

Regards




Go to topic 3897

Return to index page 1043
Return to index page 1042
Return to index page 1041
Return to index page 1040
Return to index page 1039
Return to index page 1038
Return to index page 1037
Return to index page 1036
Return to index page 1035
Return to index page 1034