Search

You searched for the word(s): userid:701747

Matching Posts

  • Parser Error Message: There is not enough space on the disk.

    Hi, My website works perfectly locally. I have uploaded my website to my hosting server and it also worked yesterday. This morning I changed a few settings to the web.config file, a .cs file and the appsettings.config file. All of a sudden once I am authenticated past my login page and click a link on my site i get the following error: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details
    Posted to Installation and Setup (Forum) by mlawton40 on 3/17/2008
  • Re: RunSQL.aspx Connection

    Ok, i have changed the connection value and url string and now get the following when i go to www.genealogy-prototype.com/RunSQL.aspx Opening url D:\Sites\vhosts\genealogy-prototype.com\httpdocs\aspnetdb.sql Connecting to SQL Server database... An error occured: System.Data.SqlClient.SqlException: Invalid object name 'sys.foreign_keys'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
  • Re: RunSQL.aspx Connection

    Ok, thank you for that. I have now changed the web.config file around and now recieve a more useful error message: Opening url http://genealogy-prototype.com/aspnetdb.SQL An error occured: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at ASP.runsql_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) If I get the server= part sorted is there anything else you can spot that may be wrong and could fix the
  • RunSQL.aspx Connection

    Hello, I am using the web blog at http://weblogs.asp.net/scottgu/archive/2007/01/11/tip-trick-how-to-upload-a-sql-file-to-a-hoster-and-execute-it-to-deploy-a-sql-database.aspx to deploy an SQL script on my database. The sql script is named aspnetdb.sql and is placed in my main directory. Now using the file RunSQL.aspx which is also placed in the main directory ( www.genealogy-prototype.com/RunSQL.aspx ) I have changed the parts in the file which need changing: // Url of the T-SQL file you want to
  • Connection Strings

    Hi, Im struggling to work out the connection string to my ms sql database. My website is being hosted with freezone.co.uk and I have a ms sql database called "aspnetdb". I usually log into the database with a username but no password. I don't no what other information is needed to create my connection string? Thanks, Mark Lawton
  • Re: Binding distinct column to dropdown

    Thanks for that but I now get the following error on that return result line: Compiler Error Message: CS0157: Control cannot leave the body of a finally clause This return result bit wasn't in the code when it has worked on other projects so I'm not sure about this, i'm a bit baffled.. If you have ne other advice it would be appreciated. Thanks, Mark Lawton
    Posted to Data Presentation Controls (Forum) by mlawton40 on 2/6/2008
  • Binding distinct column to dropdown

    Hi everyone. I have the following code in my BasePage. In some of my pages I have gridviews that i want to filter via dropdowns. I have done this before using the exact same code in my BasePage but for some reason it isn't working this time. Here is my code and the error follows: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web
    Posted to Data Presentation Controls (Forum) by mlawton40 on 2/5/2008
  • MembershipUserCollection ChangePassword

    Hello, I have the following error as Im trying to deploy ChangePassword: 'System.Web.Security.MembershipUserCollection' does not contain a definition for 'ChangePassword' I have the code: string emailAddress = txtEmail.Text; MembershipUserCollection user = Membership.FindUsersByEmail(emailAddress); string newpwd = Util.CreateRandomPassword(); user.ChangePassword(user.ResetPassword(), newpwd); Is there a way around this? This happens before the user logs in. Cheers, Mark
    Posted to Security (Forum) by mlawton40 on 2/3/2008
  • Re: Get User details before login

    Ok, thanks for that. Now I have the following error as Im trying to deploy ChangePassword: 'System.Web.Security.MembershipUserCollection' does not contain a definition for 'ChangePassword' I have the code: string emailAddress = txtEmail.Text; MembershipUserCollection user = Membership.FindUsersByEmail(emailAddress); string newpwd = Util.CreateRandomPassword(); user.ChangePassword(user.ResetPassword(), newpwd); Cheers, Mark
    Posted to Security (Forum) by mlawton40 on 2/2/2008
  • Get User details before login

    Hi, I am creating a page for users that have forgot there password so they can enter there email address then click "Submit" and an email will be sent. The problem I am having is retrieving the users details via the email address they entered. I guess this is because they are not logged in. I have: string emailAddress = txtEmail.Text; Membership user = Membership.FindUsersByEmail(emailAddress); but I am getting the error message: Cannot declare variable of static type 'System.Web.Security
    Posted to Security (Forum) by mlawton40 on 2/2/2008
Page 1 of 8 (77 items) 1 2 3 4 5 Next > ... Last »