1,076,415 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Posts by Mongz

I need to make a contact form on a website that will send comments to an email. I have designed the html file but i'm not sure where to beggin with adding the file or code that will support this function. So far i have learnt that it can be done by php file or some code on the web page, but i'm not quiet certain yet on how to do it. Any clear tutorials will be appreciated or just some guideline

This is my html form

<form action="#" method="post">
          <div class="form_settings">
            <p><span>Name</span><input class="contact" type="text" name="your_name" value="" /></p>
            <p><span>Email Address</span><input class="contact" type="text" name="your_email" value="" /></p>
            <p><span>Message</span><textarea class="contact textarea" rows="8" cols="50" name="your_enquiry"></textarea></p>
            <p style="padding-top: 15px"><span>&nbsp;</span><input class="submit" type="submit" name="contact_submitted" value="submit" /></p>
          </div>
 </form>
Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

How are we going to know if the person doesnt update or mark the thread. Then if it keeps restarting it might be hardware failure probably ram or hard drive..

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Ok i finaly admit. Its the HDD itself, i just bought a new HDD and its working absolutely fine. The old hard drive is working well on my desktop and its close to a week it has'nt given problem. Big question is whats wrong with that HDD when i use it to that laptop.
But then thanks for your input.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

I can assure you a virus cannot block you on the process of loading xp. Firstly you need to make sure you have a right cd which is bootable. Secondly you need to set your boot options if it cannot boot itself of pickup the xp cd. On the start up screen it will tell you what key you should press for boot setup / Bios setup, this varies on make of laptop and product. On the boot setup, make cd/dvd rom first boot priority, then Harddrive second boot, then F10 to save your settings. Surely after that it will ask you to press any key to boot from cd/dvd. Then you go step by step as it will tell you what button to press going forward.
I hope this will assist you and feel free to ask if you dont understand anything.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

If you read on paragraph 2, i mention about putting the HDD to a desktop where it worked perfectly. what i haven't tried is using another laptop HDD to the laptop.
But thanks for the input.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi Fellows.

I have a confusing problem of Samsung laptop which uses Toshiba MK2555GSX internal hard drive. I have encountered a problem when i tried to start the machine and it respond with a message "cannot find hard-disk, press ctrl,Alt & delete to restart". i thought it could probably be MBR corrupted. I tried to re-install windows (windows 7, starter) using recovery disk, it does pick up that there is a hard drive furthermore it can install the operating system but problem is, when its the turn for the machine to restart as it approach the end of windows installation process, it cannot boot from the hard drive as to continue finish the installation. Therefore it restarts the windows installation from scratch. it does this over and over.
But confusing part is, when i take out the hard drive and put it on the desktop and set it to be primary disk, it does continue from the last stage where it stopped with the installation of windows. Furthermore it operates very well on the desktop as like the installation was begun on the desktop.
Kindly advise what i should be looking at the problem and what further steps i can take.

Your input will be highly appreciated.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Here's the error i recieve

Server Error in '/trying' Application.
--------------------------------------------------------------------------------

Failed to update database "C:\INETPUB\WWWROOT\TRYING\APP_DATA\ASPNETDB.MDF" because the database is read-only.
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 update database "C:\INETPUB\WWWROOT\TRYING\APP_DATA\ASPNETDB.MDF" because the database is read-only.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Failed to update database "C:\INETPUB\WWWROOT\TRYING\APP_DATA\ASPNETDB.MDF" because the database is read-only.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +925466
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800118
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1005
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +149
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
System.Web.Security.SqlMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +3558
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +306
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +107
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +452
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +149
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +165
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5594

and my connection string looks like this

<connectionStrings>
     <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
         providerName="System.Data.SqlClient" />
 </connectionStrings>
Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi guys, i've deployed asp application, now the problem im facing is it doesn't connect sql database. At first the database was attached with the application and it failled to connect the database, secondly i attached the database on SQL server and configured connection string still it doesnt connect. When ii was running the application before i deploy it, it was running perfectly. Please help me, i need to make it work ASAP.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

I'm using MS SQL 2005 database, i did the code to backup, now i just want to set it to backup at a sertain time

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Solved: DataBase backup in C#

Hi guys, i created database backup, but now i want it to backup every time when the time is 00:00. Any help will be highly appreciated.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

How far you have gone? anything you started

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi Friends. I need to understand the application deployment in full. According to the implementation documentation there is deployment plan which includes resources required. So any one can just brief me what needs to be done during the application deployment, and what's needed.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi guys
I'm using asp membership for user authentication and it works perfect. I want to store username into cookies once the user logs in, i tried to implement cookies behind the login control so that when the user logs in the username can be stored into cookies.
Once i implement the cookies behind the login control, the application cant log in anymore, it prompts log in fail message. I just need help on how can i implement this cookies in such a way the log in process cannot be affected.
Any help will be highly appreciated.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi Guys

I'm using asp membership authentication, few days i created it it was working fine, lately i cannot log in anymore i recieve the invalid password error even if the password is correct. But other operations work's fine like creating new user and password recovery. Nothing is a problem on the database i check columns no account IsLockedOut then true.
I have this code on web config file which i realise is the one not allowing users to log in

<connectionStrings>
    <add name="connString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"/>
  </connectionStrings>
<authentication mode="Forms">
      <forms loginUrl="~/Login.aspx">
        <credentials passwordFormat="Clear" />
      </forms>
    </authentication>
<membership defaultProvider="Provider1">
      <providers>
        <add connectionStringName="connString1" applicationName="Application1"
        minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" name="Provider1" type="System.Web.Security.SqlMembershipProvider" />
      </providers>
    </membership>

Any help will be highly appreciated

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Once you double click on the button, the code

Protected void btnLogin_click(objetc sender, EventsArgs e)

comes up same as on asp design, the code

onclick = "btnLogin_click"

also comes up. To simply solve your problem just double click the button then run your application

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

You can retrieve your primary key anytime when you want to use it as foreign key to another table, meaning you must have sub query on your stored procedures.
This might be helpfull, you can learn a lot about this
http://www.1keydata.com

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

The button Login you have double clicked and it shows the code behind, then you removed that code. The solution is to go to the asp design on asp: Button ID = "btnLogin " runat = "Server"..... then you remove the code "onclick="btnLogin_Click", or else doble click the button and run the code

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi Guys
Past few days i added an ASP membership database which uses the Visual studio controller's (Login, Creat user Wizerd, Password recovery), it was working fine until yesterday, now i cant log in with any user i've created, but i can create new user or recieve/recover password. I checked the column IsLocked they all false. Im confused by now whats the problem, please help me out.
Your help will be very much appreciated.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

Hi once again
Im trying to use sessions, im passing a value from login page and using it on another page, now i recieve this error "Object reference not set to an instance of an object."

here im passing it
Session["UserName"] = Login1.UserName;

then accessing on different page like this
username = Session["UserName"].ToString();

Please help me on how can i access it.

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0

After few minutes i found it dont mind this, Thanks to Daniweb team

Mongz
Light Poster
42 posts since Apr 2009
Reputation Points: 7
Solved Threads: 1
Skill Endorsements: 0
 
© 2013 DaniWeb® LLC
Page rendered in 0.1224 seconds using 2.64MB