Jump to content

isitpossible

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by isitpossible

  1. Issues: I have a account on stevie host and as per the requirements, I made sure to login into cpanel atleast once a month to keep my account active. But even after that, I received an email stating my account is inactive and need to login once a month into cpanel to keep it active and indeed the account was suspended.

     

    I did click on the link to re-activate the account and as of now it is working fine.

     

    site: http://mymembers.heliohost.org/401K (live site used by users)

     

    Just wondering why did this happen?

  2. Issues: I have a account on stevie host and if I do not login into cpanel once a month the site is deactivated and I have to re-activate the account. I am using Concrete5 CMS for the site and very rarely do I have a need to login into cpanel to do any specific backup or sql task or ftp stuff. Most of the time, the site maintenance is done why login into CMS

     

    site: http://mymembers.heliohost.org/401K (live site used by users)

     

    Is there a way to get around this?

  3. I have an account on johnny

     

    mysavings.heliohost.org

     

     

    Current issues:

    1. Asp.net connectivity with MySQL

    2. Very slow at times and won't even connect

    3. Not very reliable

     

    I would like to create a new account on Stevie

    1. Its more stable

    2. For now have figured out something that could take advantage of php until we resolve issue on Johnny

     

    I will appreciate your help and thanks for your time.

  4. back to original problem:

     

    I did copy mysql dll's to bin folder where the application resides, also changed web.config for 3.5 framework. Everything works fine if i connect remotely and run the website from my desktop, I am able to connect to mySQL db but it does not work when I deploy.

     

     

    I am getting below error:

     

     

    Server Error in '/mytest' 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: : ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Missing method .ctor in assembly /home/mysaving/public_html/mytest/bin/MySql.Data.Entity.dll, type System.Runtime.Versioning.TargetFrameworkAttribute

    /mytest/default.aspx

     

     

     

     

    gmcs /target:library /lib:"/home/mysaving/public_html/mytest/bin" /debug- /optimize+ /warn:4 /out:"/tmp/nobody-temp-aspnet-0/64f9a1b6/App_Web_7999426c.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.IdentityModel/3.0.0.0__b77a5c561934e089/System.IdentityModel.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Web.Extensions/3.5.0.0__31bf3856ad364e35/System.Web.Extensions.dll" /r:"/opt/mono-2.6.7/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll" /r:"/home/mysaving/public_html/mytest/bin/MySql.Data.Entity.dll" /r:"/home/mysaving/public_html/mytest/bin/MySql.Data.dll" /r:"/home/mysaving/public_html/mytest/bin/MySql.Web.dll" /nowarn:0169 -- "/tmp/nobody-temp-aspnet-0/64f9a1b6/App_Web_7999426c_0.cs"

     

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Missing method .ctor in assembly /home/mysaving/public_html/mytest/bin/MySql.Data.Entity.dll, type System.Runtime.Versioning.TargetFrameworkAttribute

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: The class System.Runtime.Versioning.TargetFrameworkAttribute could not be loaded, used in MySql.Data.Entity

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Can't find custom attr constructor image: /home/mysaving/public_html/mytest/bin/MySql.Data.Entity.dll mtoken: 0x0a000002

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Missing method .ctor in assembly /home/mysaving/public_html/mytest/bin/MySql.Data.dll, type System.Security.SecurityRulesAttribute

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Can't find custom attr constructor image: /home/mysaving/public_html/mytest/bin/MySql.Data.dll mtoken: 0x0a00002b

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Missing method .ctor in assembly /home/mysaving/public_html/mytest/bin/MySql.Web.dll, type System.Security.SecurityRulesAttribute

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: The class System.Security.SecurityRulesAttribute could not be loaded, used in MySql.Web

     

    ** (/opt/mono/lib/mono/2.0/gmcs.exe:17652): WARNING **: Can't find custom attr constructor image: /home/mysaving/public_html/mytest/bin/MySql.Web.dll mtoken: 0x0a00000d

     

    Unhandled Exception: System.TypeLoadException: Could not load type 'System.Security.SecurityRulesAttribute' from assembly 'MySql.Web'.

    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 :0

    at System.Reflection.Assembly.GetType (System.String name) [0x00000] in :0

    at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) [0x00000] in :0

    at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in :0

    at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in :0

    at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in :0

    at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in :0

    at Mono.CSharp.TypeManager.CoreLookupType (Mono.CSharp.CompilerContext ctx, System.String ns_name, System.String name, Kind type_kind, Boolean required) [0x00000] in :0

    at Mono.CSharp.TypeManager.InitCoreTypes (Mono.CSharp.CompilerContext ctx) [0x00000] in :0

    at Mono.CSharp.Driver.Compile () [0x00000] in :0

    at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

     

    I am currently using MySQL Connector Net 6.6.5, should I change to a different version?

  5. I downloaded from same location you mentioned above. I will appreciate if you can share your code and .dll if possible.

     

    Also how do I reset my home directory, seems like by mistake i deleted all original folders created by default.

     

    Seems like for some reason my password won't work so i tried to reset several times but now I am not even getting the confirmation code email (i did check junk/spam folders).

     

    Thanks for your time and support.

  6. AS you sugested added a bin directory to public_html folder where aspx files reside and now i get below error:

     

     

    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: : ** (/opt/mono/lib/mono/2.0/gmcs.exe:5693): WARNING **: Missing method .ctor in assembly /home/mysaving/public_html/bin/MySql.Data.Entity.dll, type System.Runtime.Versioning.TargetFrameworkAttribute

    /default.aspx

  7. It might not be loading the MySql.Data.dll unless you add
          

    inside the system.web tags.

     

    Added but same error...

     

    Just as an FYI, I am using MySQL Connector Net 6.6.5

     

    Below web.config works fine from my desktop:

    <configuration>

     

     

    <system.data>

    <DbProviderFactories>

    <clear />

    <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient"

    description=".Net Framework Data Provider for MySQL"

    type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />

    </DbProviderFactories>

    </system.data>

     

     

     

    <connectionStrings>

    <remove name="LocalMySqlServer"/>

    <add name="MySQLConnectionString"

    connectionString="Datasource=johnny.heliohost.org;Database=mysaving_401Kmembers;

    uid=mysaving_admin;pwd=*****;"

    providerName="MySql.Data.MySqlClient"/>

    </connectionStrings>

    <system.web>

    <compilation>

    <assemblies>

    <add assembly="*"/>

    </assemblies>

    </compilation>

    <customErrors mode="Off"/>

    </system.web>

     

     

     

    </configuration>

     

×
×
  • Create New...