connection Mysql in web.config problem help

 webconfig this code 


<add name="planku" connectionString="Server=localhost;user id=root;password=;database=planku;" providerName=""/>



<sessionState timeout="60" cookieless="AutoDetect" regenerateExpiredSessionId="true"/>

<compilation debug="true" strict="false" explicit="true">


<add assembly="System.Design, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

<add assembly="System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

<add assembly="CoreLab.Data.Design, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>

<add assembly="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

<add assembly="CoreLab.Data, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>

<add assembly="CoreLab.MySql.Web, Version=, Culture=neutral, PublicKeyToken=09AF7300EEC23701"/>

<add assembly="System.Drawing.Design, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

<add assembly="System.Runtime.Serialization.Formatters.Soap, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>





<add namespace="System"/>

<add namespace="System.Collections"/>

<add namespace="System.Collections.Specialized"/>

<add namespace="System.Configuration"/>

<add namespace="System.Text"/>

<add namespace="System.Text.RegularExpressions"/>

<add namespace="System.Web"/>

<add namespace="System.Web.Caching"/>

<add namespace="System.Web.SessionState"/>

<add namespace="System.Web.Security"/>

<add namespace="System.Web.Profile"/>

<add namespace="System.Web.UI"/>

<add namespace="System.Web.UI.WebControls"/>

<add namespace="System.Web.UI.WebControls.WebParts"/>

<add namespace="System.Web.UI.HtmlControls"/>

<add namespace="System.MySql.Data"/>



<authentication mode="Forms"/>




using System.Data.SqlClient;

6/13/2008 9:19:42 AM 12495 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 54

what is the specific error that you are facing? 

also check out the connectionstring properly

here is one example > Connect to MySQL from ASP.NET

for connectionstring help > - Forgot that connection string? You will find it right here!

 hope it helps./.

[KaushaL] || BloG || Profile || Microsoft MVP

"I would love to change the world, but they won’t give me the source code"

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers.
6/13/2008 10:58:20 AM

Similar Artilces:

[PATCH lib/Net/, MANIFEST, t/lib/Mock/, lib/Net/Config.t] Add Tests for Net::Config
Here's a test suite for Net::Config. In the process of writing this, I've fixed an apparent bug that prevented single values from becoming array references when necessary. I think it's right, but perhaps Graham should weigh in on this. In the process, with some advice from perl-qa, I've added a mock object so the test could control the output of Socket::inet_ntoa() and Socket::inet_aton(). t/lib/Mock/ seemed like as good a place as any. I'm happy to rework this patch if it personally offends anyone whose opinion matters. :) -- c --- lib/Net/ S...

mysql connector NET, web.config database connection
Hey folks!    So, what's my problem? I just started to use MySQL on one project. Database is 5.0.45-community-nt via TCP/IP. I'm using Connector NET 5.1.4 and .NET Framework 2.0. Ok, so I do get MySQL.Data and all from code behind. But I just want to use it like SQL connection, so from web.config. But when I try to do that, my connection just disappears from the list (say when you are choosing connections for datasource of web control). So obviously something is wrong in my web.config declaration of connection string:  <connectionStrings> <add name=&...

web.config/ADO.NET command/connection string problem?
Ok, I have searched everywhere and not been able to find an answer yet so I hope someone can help me. I have an application that uses a key in the web.config file to reference a connection string to SQL Server 2000. In the development environment, this works as expected. However, when I edit the web.config file to reference a new database (initial catalog) it doesn't seem to register for some of the command objects (based on stored procs). I will receive an error that the user could not log on to database X, even though the connection should now be referencing database Y. This only happens w...

After migration from .Net 1.1 to .Net 3.5 do I have to incorporate new web.config settings in old *.config file
Hi,I have successfully migrated web application from .Net 1.1 to .Net 3.5. Could you let me know whether I have to incorporate setting in new web.config (this new web.config file was generated automatically due to migration) into old *.config file?FYI: Old *.config file contains all application level settings required. So I will continue to use old.config file by removing new web.config file. Settings which are in new web.config file are:<configSections><sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup,...

web.config problems when upgrading from .NET 2.0 Beta to .NET 2.0 release version
We uninstalled .NET 2.0 Beta and replaced it with .NET 2.0 release version.  And it messed everything up.  All applications now give weird errors indicating the lack of web.config files, despite the fact that they already have web.config files in place.  For example, the following error occurs even though the web.config file has <customErrors="Off">: Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for securit...

Develop in .NET 3.5...Deploy on .NET 3.0...Assembly strong name issue in web.config
Hi. I develop locally using web developer express 2008. I have .NET 3.5 installed on the development machine.I am trying to deploy to a Windows Server 2003 machine running.NET 3.0.Not surprisingly, I get an error about the strong assembly names referenced all over my web.config when I try to access the site on the production server.I don't think any of my code truly relies on .NET 3.5--it should all be compatible with the 3.0 framework.Here's my error message:Parser Error Message: Could not load file or assembly 'System.Core, Version=, Culture=neutral, PublicKeyToken=b77...

Hi,     I have a website developed using c# vs 2005 (.net 2.0) and i added a web deployment project to it. I also have a customconf.config file which is a replica of the web.config but with some changes in the connection strings. I specified in the property pages of the web deployment projects as "connectionStrings=customconf.config;" and the problem is that when I build this, it copies the customconf.config file to the build folder, deletes it (i saw it getting copied into the folder and then disappearing automatically!!) and says the customconf.config could not be found. ...

.NET 2.0 encryption web.config/app.config options?
Situation: 13 servers containing both ASP .Net web sites and .NET apps. Servers are broken up in Developemnt, Test, and Production types.Issue: Need to encrypt all app.config and web.config files.Currently we are using .NET 1.1, so I had developed (test working, not yet deployed) a shared (GAC) utility that would be responsible for providing an interface to allow the encryption (DPAPI + Second Entropy) of information for the developer to manually place in each web.conf/app.config file during development. The backend of this utility was referenced by the *.config files in decrypting values on...

.Net 2 web app have connection problem after deployment
Hi, I have this strange problem. I developed .net 2.web applicaiton with sql 2005 and it worked fine when I run it in the visual studio. Then I deploy it to my own box( the same box i used for development) by using the web setup project ( window installer) and I got the problem : The server principal "NT AUTHORITY\NETWORK SERVICE" is not able to access the database "db' under the current security context  I am using the sql authetication to connection to the database  ( which means I pass sql connection string in my web cofiguration file) and sounds like that the running app...

Accessing web.config connection setting in VS.NET
Hi, I've been running several of the ASP.NET database access walkthroughs in VS.NET. In these walkthroughs the SqlConnection object's ConnectionString property is set manually in the Properties window of VS.NET. After successfully completing one application I decided to move my sql connection string into the web.config file. I then updated the code to use this new setting: this.sqlConnection1.ConnectionString = ConfigurationSettings.AppSettings["connString"]; I made this edit in the "Web Form Designer generated code" portion of the code behind file. The res...

Problem w/the web.config in .Net 1.1
We're having an odd problem w/the web.config when it comes to the production server.  Basically, we have a bit of code in the app to report errors, and it grabs the SMTP server and mail recipients from the web.config. In the global.asax:protected void Application_Error(Object sender, EventArgs e) { Session["ErrorTimeStamp"] = DateTime.Now; Exception objErr = Server.GetLastError().GetBaseException(); MailMessage mail = new MailMessage(); mail.To = ConfigurationSettings.AppSettings["MailRecipients"].ToString(); mail.From = "*****@****.com"...

setup AP.NET membership database & web.config in .NET 3.5?
 A long time ago I setup an ASP.NET security database using aspnet_regsql.exe. I noticed this utility doesn't ship with .NET 3.5. Can anyone direct me to a writeup of how to create the security database and modify the web.config for membership? Thanks! Michael  Hello Michael, You still use the .net framework version 2 version of aspnet_regsql.exe in something like C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727As I understand it ver 3.5 is just adding new features onto the version 2 framework but mostly is just the same. Hope it helps JeremyRegardsJeremyIf ...

Bad web.config in AJAX.NET 1.0 under .NET 2.0 Express
My setup is MS.NET v2.0 with the C# and Web Express editions of 2005. I also installed the AJAX 1.0 release with the respective toolkit as indicated in the AJAX.NET site. However, when I create a new project I am presented with the usual bare bones default.aspx and the web.config. However the web.config shows a lot of warnings and errors.One of them was being that the "requiredPermission" (or something like that) attribute was not recognized. Somewhere on the net there is a post of a correction to the DotNetConfig.xsd schema file in VS.2005 so I used it and it got rid of THAT warning.&n...

Validate web.config from c#, programmatically or executing .net tools
Hi there, we have an app that executes a web.config merge and we want to have an automated test of the MergeConfig.Ideally I would check that there are no error in the merged web.config, viewing something like the error list window in visual studio when you open the web.config. Is there an Api to validate the web.config?Or may I do it with aspnet_compiler or some of this command tools? Thanks Since the web.config is just a Xml file you can validate it against a xsd file. C:\Program Files\Microsoft Visual Studio 9...

Web resources about - connection Mysql in web.config problem help -

Connection - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

iMedia Connection: Interactive Marketing News, Features, Podcasts and Video -
If you send more email, you might make more money. Then again, you might destroy your reputation and revenue stream. Here's how to know what ...

HTTP persistent connection - Wikipedia, the free encyclopedia
... tacked on to an existing protocol. If the browser supports keep-alive, it adds an additional header to the request: Following this, the connection ...

MOTHER’S DAY: Facebook Examines Connections Between Moms, Kids
With Mother’s Day on the calendar this coming Sunday, Facebook examined the relationships between mothers and their children on the social network, ...

The Direct Connection
... And the people reading my words respond back to me with words of their own. The technology that allows this is powerful but this direct connection ...

Is There A Connection Between Patrick Murphy's Over-The-Top Corruption And His Campaign Emails?
The DCCC may be stupid or even very stupid (as well as utterly incompetent) but their e-mail strategy is very well-planned out. Their overarching ...

CNN: Investigators Find ISIS Connection In San Bernardino Shooting
As the San Bernardino attack was happening, the female shooter, Tashfeen Malik posted on Facebook, pledging allegiance to ISIS leader Abu Bakr ...

Connection And Collaboration In the Cloud
Forbes technology editor Bruce Upbin deconstructs the cloud and maps its potential to your life.

Man wanted in connection to Waco biker shooting arrested in Louisiana
A man wanted in the deadly shootout involving rival motorcycle gangs earlier this year in Texas was arrested in northwest Louisiana on Wednesday, ...

Kidney Donor Connection Made After Misplaced Craigslist Ad
Man whose wife died of kidney failure becoming a donor after seeing misplaced Craigslist ad

Resources last updated: 12/7/2015 5:19:21 AM