Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,161,472 members, 7,846,968 topics. Date: Saturday, 01 June 2024 at 08:38 AM

HELP Solve Asp.net Project Error - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / HELP Solve Asp.net Project Error (1570 Views)

[Project] CGPA Mgt System VB.NET Project: Come In Let's Share Ideas On This / Please Help! Difficulty In Deploying A Finished And Running Vb.net Project / .NET C#/VB.NET Project in the Pipeline for Programmers who may be interested (2) (3) (4)

(1) (Reply)

HELP Solve Asp.net Project Error by Dajuwan: 9:01am On Sep 18, 2014
Good Morning, Can any one help me here am a newbie in publishing my code on a domain after which i did i got an error which i don't even understand where its coming from and all thread i search has not helped either. Can anyone help here is the error from my site when my login button is clicked.
Invalid value for key 'attachdbfilename'.

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.ArgumentException: Invalid value for key 'attachdbfilename'.

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:

[ArgumentException: Invalid value for key 'attachdbfilename'.]
System.Data.SqlClient.SqlConnectionString.VerifyLocalHostAndFixup(String& host, Boolean enforceLocalHost, Boolean fixup) +893562
System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +5387365
System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +24
System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +167
System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) +61
System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +66
System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential) +26
System.Data.SqlClient.SqlConnection..ctor(String connectionString) +6
Eportal.MainSite.Login1_Authenticate(Object sender, AuthenticateEventArgs e) in C:\Users\Galaxytech\Documents\Visual Studio 2008\Projects\Eportal\Eportal\MainSite.Master.vb:12
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +9855114
System.Web.UI.WebControls.Login.AttemptLogin() +119
System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +75
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +252
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724


i'd be Glad if i can solve it been on it for 3days so say its my webconfig file but after much changes to my webconfig file nothing happened i still get the same error
Re: HELP Solve Asp.net Project Error by Olyboy16(m): 9:24am On Sep 18, 2014
Dajuwan: Good Morning, Can any one help me here am a newbie in publishing my code on a domain after which i did i got an error which i don't even understand where its coming from and all thread i search has not helped either. Can anyone help here is the error from my site when my login button is clicked.
Invalid value for key 'attachdbfilename'.

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.ArgumentException: Invalid value for key 'attachdbfilename'.

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:

[ArgumentException: Invalid value for key 'attachdbfilename'.]
System.Data.SqlClient.SqlConnectionString.VerifyLocalHostAndFixup(String& host, Boolean enforceLocalHost, Boolean fixup) +893562
System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +5387365
System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +24
System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +167
System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) +61
System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +66
System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential) +26
System.Data.SqlClient.SqlConnection..ctor(String connectionString) +6
Eportal.MainSite.Login1_Authenticate(Object sender, AuthenticateEventArgs e) in C:\Users\Galaxytech\Documents\Visual Studio 2008\Projects\Eportal\Eportal\MainSite.Master.vb:12
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +9855114
System.Web.UI.WebControls.Login.AttemptLogin() +119
System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +75
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +252
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724


i'd be Glad if i can solve it been on it for 3days so say its my webconfig file but after much changes to my webconfig file nothing happened i still get the same error
here, try this site, http://daniweb.com . They answer problems in less than 7 minutes.
Re: HELP Solve Asp.net Project Error by wildguy(m): 8:23pm On Sep 18, 2014
Change the connectionstring in your web.config to that of the database that you are connecting to. Put a break point in your button on click on your local host and test That should give you an idea of what is causing the error and also to confirm if your connectionstring is correct.

Let me know if you have any issues.

(1) (Reply)

Buy Cheap .COM.NG Domain Name ₦499 Only Using Promo Code / Win 3.8 Million Naira in The Android Developer Challenge - submit your apps now! / Advice Needed On Programming Language.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 28
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.