none
Instalação em hospedagem + MySql RRS feed

  • Pergunta

  • Bom eu quero instalar minha aplicação na web http://www.rasproject.somee.com/Home

    eu estou usando um MySql localizando em outro servidor pois esta hospedagem não possui MySql.

    O meu problema é como colocar um conector minha ideia era colocar a dll do MySql.Data na pasta bin e utiliza-lo mais não funcionou alguem tem alguma idéia?

    quinta-feira, 25 de novembro de 2010 14:31

Todas as Respostas

  • Spinola

    Qual a mensagem de erro?!

    Teoricamente a inclusão das referências das bibliotecas de acesso ao MySQL já seriam suficiente!

    sábado, 27 de novembro de 2010 11:11
  • segue a mensagem de erro

     

    Server Error in '/' Application.
    
    Unable to find the requested .Net Framework Data Provider. It may not be installed.
    
    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: Unable to find the requested .Net Framework Data Provider. It may not be installed.
    
    Source Error: 
    
    
    Line 19:     <td class="menu_left" valign="top">
    Line 20:       <h2>Categorias</h2>
    Line 21:       <% Html.RenderAction("Menu", "Categoria"); %>
    Line 22:       <%--<ul>
    Line 23:         <li><a href="">links</a></li>
    
    Source File: d:\dzhosts\localuser\loco266\www.rasproject.somee.com\Views\Shared\Site.Master  Line: 21 
    
    Stack Trace: 
    
    
    [ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
      System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +160
      System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +35
    
    [ArgumentException: The specified store provider cannot be found in the configuration, or is not valid.]
      System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +64
      System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) +483
      System.Data.EntityClient.EntityConnection..ctor(String connectionString) +77
      System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString) +41
      System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) +17
      RASProject.Areas.Admin.Models.rasprojectEntities..ctor() in C:\Users\Rodrigo\documents\visual studio 2010\Projects\RASProject\RASProject\Areas\Admin\Models\Item.Designer.cs:34
      RASProject.Controllers.CategoriaController..ctor() in C:\Users\Rodrigo\documents\visual studio 2010\Projects\RASProject\RASProject\Controllers\CategoriaController.cs:13
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
      System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
      System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +98
      System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +241
      System.Activator.CreateInstance(Type type, Boolean nonPublic) +69
      System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +80
    
    [InvalidOperationException: An error occurred when trying to create a controller of type 'RASProject.Controllers.CategoriaController'. Make sure that the controller has a parameterless public constructor.]
      System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +189
      System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +66
      System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +124
      System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +50
      System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48
      System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +16
      System.Web.Mvc.<>c__DisplayClass7.<BeginProcessRequest>b__6() +29
      System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +38
      System.Web.Mvc.ServerExecuteHttpHandlerAsyncWrapper.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +97
      System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1508
      System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +77
      System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +28
      System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +22
      System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +372
      System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper htmlHelper, String actionName, String controllerName) +35
      ASP.views_shared_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\dzhosts\localuser\loco266\www.rasproject.somee.com\Views\Shared\Site.Master:21
      System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
      System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
      System.Web.UI.Control.Render(HtmlTextWriter writer) +10
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
      System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
      System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
      System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
      System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
      System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +55
      System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
      System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
      System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

     

    quarta-feira, 1 de dezembro de 2010 18:08
  • Opa,

    Já vi outras pessoas com esse problema, localmente funciona mas no hosting não:

    http://khayer.wordpress.com/2008/08/03/unable-to-find-the-requested-net-framework-data-provider/

    Abs

    quinta-feira, 2 de dezembro de 2010 11:33