Jump to content

fallinguntrue

Members
  • Posts

    5
  • Joined

  • Last visited

fallinguntrue's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yeah, that looks to be the same problem. I guess I'm stuck trying to figure out how to use an earlier version of the AJAX Control Toolkit w/ a 3.5 website. Thanks!
  2. No problem: <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <!-- The configSections define a section for ASP.NET Atlas. --> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/></sectionGroup></sectionGroup></sectionGroup></configSections><connectionStrings> <!-- Remote Connection --> <add name="FUDB" connectionString="Server=fallinguntrue.com;Database=****;Uid=****;Pwd=****;"/> <add name="MembershipDB" connectionString="Server=fallinguntrue.com;Database=****;Uid=****;Pwd=****;"/> <!-- Local Connection <add name="FUDB" connectionString="Server=localhost;Database=****;Uid=****;Pwd=****;"/> <add name="MembershipDB" connectionString="Server=localhost;Database=****;Uid=****;Pwd=****;"/>--> </connectionStrings> <appSettings> <add key="mailingListEmail" value="****"></add> </appSettings> <system.net> <mailSettings> <smtp deliveryMethod="network" from="****"> <network host="****" userName="****" password="****" defaultCredentials="true"/> </smtp> </mailSettings> </system.net> <system.web> <authentication mode="Forms"/> <siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <providers> <add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider " siteMapFile="****" securityTrimmingEnabled="true"/> </providers> </siteMap> <membership defaultProvider="MySqlMembershipProvider" userIsOnlineTimeWindow="15"> <providers> <clear/> <add name="MySqlMembershipProvider" type="MySqlMembershipProvider.MySqlMembershipProvider" connectionStringName="MembershipDB" applicationName="FallingUntrue" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed" writeExceptionsToEventLog="false"/> </providers> </membership> <roleManager defaultProvider="MySqlRoleProvider" enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All"> <providers> <clear/> <add name="MySqlRoleProvider" type="MySqlMembershipProvider.MySqlRoleProvider" connectionStringName="MembershipDB" applicationName="FallingUntrue" writeExceptionsToEventLog="false"/> </providers> </roleManager> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true" defaultLanguage="c#"> <assemblies> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies> </compilation> <httpRuntime executionTimeout="600" maxRequestLength="10000" requestLengthDiskThreshold="80" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="90" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false"/> <customErrors mode="Off"/> <pages> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></httpModules></system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="WarnAsError" value="false"/></compiler></compilers></system.codedom> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <remove name="ScriptModule"/> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></handlers></system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly></assemblyBinding></runtime></configuration>
  3. Worked like a champ Does the website server not have access to the db by default? In any case, my error now looks like it deals with the AJAX assemblies: Could not load type 'AjaxControlToolkit.ToolkitScriptManager' from assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'. Description: HTTP 500. Error processing request. Stack Trace: System.TypeLoadException: Could not load type 'AjaxControlToolkit.ToolkitScriptManager' from assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'. at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool) at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspComponentFoundry+AssemblyFoundry.GetType (System.String componentName, System.String& source, System.String& ns) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspComponentFoundry.CreateComponent (System.Web.Compilation.Foundry foundry, System.String tagName, System.String prefix, System.String tag) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspComponentFoundry.GetComponent (System.String tagName) [0x00000] in <filename unknown>:0 at System.Web.UI.RootBuilder.GetChildControlType (System.String tagName, IDictionary attribs) [0x00000] in <filename unknown>:0 at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid, IDictionary atts, System.Type childType, System.Web.UI.TemplateParser parser, ILocation location) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.ProcessTag (ILocation location, System.String tagid, System.Web.Compilation.TagAttributes atts, TagType tagtype, System.Boolean& ignored) [0x00000] in <filename unknown>:0 -------------------------------------------------------------------------------- Version information: Mono Runtime Version: 2.6.7 (tarball Wed Aug 25 14:00:52 PDT 2010); ASP.NET Version: 2.0.50727.1433 I'm not exactly sure what's going on w/ this one. The site has the AjaxControlToolkit dll in the bin folder, and the version is the same as the one in the error message. It seems to work ok running the site on my local box with the same dll. A google search wasn't much help, but it looks like it's probably related to an issue w/ Mono. Any ideas? Thanks!
  4. I was able to get this issue resolved, at least partially, but I'm not exactly sure what the issue was. Apparently my Global.asax file WAS written in VB. I replaced it with a C# version and was able to get it work eventually (It did not work initially when the Global.asax code behind file was using a different namespace. I changed the namespace and was able to get it to work). The site will now load, however only part of it. None of pages which use the MySQL database will load, giving the following error: Access denied for user 'havebra_havebra'@'216.218.192.170' (using password: YES) This error is coming from the MySQL connector assembly, and must mean that it's not able to authenticate to the database. I've double checked the username/password being used, and it is correct. Also, I am able to connect to the database running the web site on my local machine using the same connection string, so I believe that it's correct. Is it possible that the database is not allowing connections from this server? When I set up my database using cPanel, I had to configure it to allow remote access from my local IP. Is it possible that this needs to be done for the web server as well?
  5. Hi there, I recently uploaded my ASP.NET 3.5 site (coded in C# using a MySQL Database hosted on your server) to my account and am receiving the following error when I try to browse to it: Server Error in '/' Application -------------------------------------------------------------------------------- Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5917 Copyright © 2004-2008 Rolf Bjarne Kvinge. All rights reserved. Error : VBNC99999: Unexpected error: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetTypes () [0x00000] in /home/cpeasyapache/src/mono-2.6.7/mcs/class/corlib/System.Reflection/Assembly.cs:359 at vbnc.TypeManager.LoadReferencedTypes () [0x00028] in /root/mono-basic-2.6.2/vbnc/vbnc/source/General/TypeManager.vb:439 at vbnc.TypeManager.LoadReferenced () [0x000e3] in /root/mono-basic-2.6.2/vbnc/vbnc/source/General/TypeManager.vb:304 at vbnc.Compiler.Compile () [0x001e2] in /root/mono-basic-2.6.2/vbnc/vbnc/source/General/Compiler.vb:534 Compilation took 00:00:02.7628720 ~/Global.asax -------------------------------------------------------------------------------- Version information: Mono Runtime Version: 2.6.7 (tarball Wed Aug 25 14:00:52 PDT 2010); ASP.NET Version: 2.0.50727.1433 A few things stood out when looking at this error: 1) The error is a VB.NET compiler error, although my site is written in C#. Is this the result of the MONO compiler (which I'm assuming is written in VB)? 2) The error message says that the ASP.NET version is 2.0.50727.1433, although my site was written for the 3.5 framework. Do I need to configure my site to use 3.5 somehow? I've only ever deployed my sites to IIS, which provide a configuration to choose which framework should be used for the site. I just wasn't sure if there was something similar that needs to be configured here. I've checked the MONO compatibility chart, and I believe that I'm not using any of the unsupported features. My username is havebra and my site is fallinguntrue.com Thanks!
×
×
  • Create New...