|
|
Question : ASP.NET - why would I get this error on my host when I do not get it on my localhost
|
|
|
|
why would I get this error on my host when I do not get it on my localhost the application runs correctly on my localhost I have copied the files and my mssql 2008 database to my remote host. I have check my files and the ASPNETDB.MDF and they are a duplicate of my LocalHost what am I to do about this -
server error:
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
Source Error:
Line 8: Line 9: Dim intGlobal As Integer = 0 Line 10: Dim currentUser As MembershipUser = Membership.GetUser() Line 11: Line 12: Public Sub Page_Load() Handles Me.Load Source File: C:\HostingSpaces\westdh\webflexdesign.com\wwwroot\Annonymous\index.aspx Line: 10
|
|
|
|
Answer : ASP.NET - why would I get this error on my host when I do not get it on my localhost
|
|
|
|
|