Jump to content

Custergrant

Members
  • Posts

    16
  • Joined

  • Last visited

Custergrant's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. No worries. I'll play around and see what happens. Thanks for the effort though.
  2. Well, if it's not too much to ask, could one of you investigate if I simply coded something wrong? Like I said, I'm not necessarily a programmer, but the primary investigator for this research, and the university simply doesn't have the software to allow what we're going to try to do on here. Thank you very much, [removed]
  3. Okay. I will research that then. Sorry for the questions: I'm not a native to ASP, and I know I at least had this configured for MSSQL on my local machine, where it worked beautifully; the transition to MySQL has been less than favorable though. Thank you for the support though.
  4. No such luck. I'm still receving the "Unable to validate data" that was traced to the Mysql.Data error.
  5. Sorry for the double response. I've noticed that System.Transactions is in my bin directory now, but I am receiving data validation problems that I have traced to the Mysql.Data not being read. I'm wondering if something may have been configured improperly.
  6. Thank you. I'm not an ASP programmer by default, if you can't tell. Instead of being unable to resolve the name, I am getting a type load error for the connection, but I'll check into this, and see if it's not something that I can't handle. Thank you again. EDIT: To be exact, this is the error that I am receiving: System.IO.FileNotFoundException: Could not load file or assembly 'System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0 at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0 at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <filename unknown>:0 at System.Web.UI.Page.RaisePostBackEvents () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
  7. No luck. I'm still receiving the following error: Could not resolve the name 'MySqlConnection' I'm importing MySql.Data.MySqlClient. Since I'm receiving that error, however, it must be unable to import.
  8. No luck. I'm still receiving the following error: Could not resolve the name 'MySqlConnection' I'm importing MySql.Data.MySqlClient. Since I'm receiving that error, however, it must be unable to import.
  9. No luck. I'm still unable to connect.
  10. That works fine now. Thank you! Just need to get the MySQL connector to work now...
  11. I think I figured out what the problem is: what namespace/assembly should we include in our web.config file to allow us to use MySql.Data.MySqlClient?
  12. Then how can I trigger a compilation of the new file?
  13. Sure. I figured I was trying to connect to MS SQL, so I changed it to MySQL, but I keep getting this error: Unrecognized attribute 'providerName'. (/home/custer/public_html/web.config line 3) Description: HTTP 500. Error processing request. Stack Trace: System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'providerName'. (/home/custer/public_html/web.config line 3) at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationElementCollection.OnDeserializeUnrecognizedElement (System.String elementName, System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0 at System.Configuration.AppSettingsSection.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationSection.DoDeserializeSection (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationSection.DeserializeSection (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, Boolean createDefaultInstance) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00000] in <filename unknown>:0 at System.Configuration.Configuration.GetSection (System.String path) [0x00000] in <filename unknown>:0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) [0x00000] in <filename unknown>:0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0 at System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem .GetSection (System.String configKey) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0 at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0 at System.Web.Configuration.WebConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.LoadVirtualPathsToIgnore () [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager..cctor () [0x00000] in <filename unknown>:0 But that resulted from me adding the providerName attribute, but that is no longer present, and I restored things to the way they were, and I am still getting this error. It's becoming rather frustrating.
  14. Sorry for the next post. I actually resolved the previous errors; I just bypassed it altogether. However, I need to connect to my MySQL database. And it appears that I cannot connect. I get "Cannot validate data" errors or an error saying that the initialization string for the Mysql Connect is wrong. Snippet of webconfig: <configuration> <appSettings> <add key="connString" value="Server=johnny.heliohost.org;Database=custer_Simon2;Uid=custer_user;Pwd=*******;" /> </appSettings> <connectionStrings/> <system.web> ....and so on I have made the user custer_user, and have given that account full privileges. I have also enabled remote MySQL access (% character used). I have tried using Port and Driver in the above connection string as well, but I receive errors saying they are not valid keywords. .aspx snippet of implementation: Dim sqlConn As New SqlConnection(System.Configuration.ConfigurationManager.AppSettings("connString")) sqlConn.Open() Dim sqlComm As New SqlCommand("INSERT INTO Users " & _ and so on This was working fine with my offline server. So what needs to be changed to work on this server? Sorry for all the questions. Thank you very much.
  15. I actually corrected that particular problem by just getting rid of the ForeColor attribute. However, a new issue has been raised: does Mono not support Handles for buttons?
×
×
  • Create New...