Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

ShIrYuDuCs

Erro ao publicar a página ASP .NET 2.0

Recommended Posts

Opa galera, seguinte, publiquei um site de teste, e deu o seguinte erro:

 

http://www.shopmundi.com.br/testes/

 

Pelo que li, é comum dar esse erro, mas o que faço para resolve-lo ? Porque da esse erro ?

 

Flw o/

Compartilhar este post


Link para o post
Compartilhar em outros sites

Opa Juliano, como faço para ver em qual ela foi projetada ? dei uma olhada no painel de controle, e da suporte ao Microsoft ASP.NET Versão 2.0.50727.0.Flw!

Compartilhar este post


Link para o post
Compartilhar em outros sites

Geralmente n fica configurado para uma pasta secundaria (/teste), então você tem q criar um diretorio virtual para esse endereço q dai funciona.Creio q seja isso.Procure por virtual directories ou diretorios virtuais no seu painel de controle e crie um com o endereço dessa pasta.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Opa, criei o diretório virtual, e mesmo assim continua exibindo o mesmo erro, fui la em adicionar novo diretório virtual, adicionei ele na pasta citada e o erro persiste, tem mais algo a fazer ? quando aconteceu com vocês, fizeram o que ?Valeu!

Compartilhar este post


Link para o post
Compartilhar em outros sites

hum...eu tive problemas qndo n tinha criado o diretorio. criei e funcionou normal.tem como você postar aqui o codigo do seu arquivo Web.Config?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Aqui esta o código do web.config:

<?xml version="1.0"?><configuration>  <configSections>    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">          <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />        </sectionGroup>      </sectionGroup>    </sectionGroup>  </configSections>  <system.web>    <trust level="Medium"/>    <pages>      <controls>        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      </controls>    </pages>    <!--          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">      <assemblies>        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      </assemblies>    </compilation>    <httpHandlers>      <remove verb="*" path="*.asmx"/>      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>    </httpHandlers>    <httpModules>      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>    </httpModules>    <siteMap defaultProvider="SamplesSiteMap">      <providers>        <add name="SamplesSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Samples.sitemap"/>        <add name="WalkthroughsSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Walkthroughs.sitemap"/>      </providers>    </siteMap>  </system.web>  <system.web.extensions>    <scripting>      <webServices>      <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->      <!--      <jsonSerialization maxJsonLength="500">        <converters>          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>        </converters>      </jsonSerialization>      -->      <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->      <!--        <authenticationService enabled="true" requireSSL = "true|false"/>      -->      <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved           and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and           writeAccessProperties attributes. -->      <!--      <profileService enabled="true"                      readAccessProperties="propertyname1,propertyname2"                      writeAccessProperties="propertyname1,propertyname2" />      -->      </webServices>      <!--      <scriptResourceHandler enableCompression="true" enableCaching="true" />      -->    </scripting>  </system.web.extensions>  <system.webServer>    <validation validateIntegratedModeConfiguration="false"/>    <modules>      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>    </modules>    <handlers>      <remove name="WebServiceHandlerFactory-Integrated" />      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />    </handlers>  </system.webServer></configuration>

Compartilhar este post


Link para o post
Compartilhar em outros sites

<?xml version="1.0"?><configuration><configSections><sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"><sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"><section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/><sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"><section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" /><section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /><section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /></sectionGroup></sectionGroup></sectionGroup></configSections><system.web>[color="#ff0000"]<customErrors mode="Off"/>[/color]<trust level="Medium"/><pages><controls><add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></controls></pages><!--Set compilation debug="true" to insert debuggingsymbols into the compiled page. Because thisaffects performance, set this value to true onlyduring development.--><compilation debug="true"><assemblies><add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></assemblies></compilation><httpHandlers><remove verb="*" path="*.asmx"/><add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/><add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/><add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/></httpHandlers><httpModules><add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></httpModules><siteMap defaultProvider="SamplesSiteMap"><providers><add name="SamplesSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Samples.sitemap"/><add name="WalkthroughsSiteMap" type="System.Web.XmlSiteMapProvider" siteMapFile="~/Walkthroughs.sitemap"/></providers></siteMap></system.web><system.web.extensions><scripting><webServices><!-- Uncomment this line to customize maxJsonLength and add a custom converter --><!--<jsonSerialization maxJsonLength="500"><converters><add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/></converters></jsonSerialization>--><!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. --><!--<authenticationService enabled="true" requireSSL = "true|false"/>--><!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrievedand modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties andwriteAccessProperties attributes. --><!--<profileService enabled="true"readAccessProperties="propertyname1,propertyname2"writeAccessProperties="propertyname1,propertyname2" />--></webServices><!--<scriptResourceHandler enableCompression="true" enableCaching="true" />--></scripting></system.web.extensions><system.webServer><validation validateIntegratedModeConfiguration="false"/><modules><add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></modules><handlers><remove name="WebServiceHandlerFactory-Integrated" /><add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/><add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/><add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></handlers></system.webServer></configuration>

Tente incluindo o que está em vermelho. Se mesmo assim não resolver, aí complica.

Compartilhar este post


Link para o post
Compartilhar em outros sites

andei pesquisando e parece q você n precisa fazer o upload do /App_Code, pq a aplicação já cria o que será necessario para rodar.

 

você precisa só do /Bin e do /App_data + os arquivos.aspx

 

Mais duvidas, consulte o tópico que li sobre isso no ASP.NET Forum > http://forums.asp.net/thread/1498507.aspx

 

la você tb faz pesquisas e acha quase sempre as respostas para seus problemas.

 

você só n pode ter problemas com inglês, pq la é td em inglês.

Compartilhar este post


Link para o post
Compartilhar em outros sites

O problema é que com essa pasta ou sem, da erro de qualquer jeito, aqui roda normalmente nessa m***** de host não roda, não sei mais o que eu faço, vocês a primeira vez que publicaram algo em host externo, não deu problema ?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Opa galera, resolvi o problema, mudei de host e agora esta pegando 100%, quando der isso com vocês, é só mudar de host caso seja o mesmo problema =DFlw!

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.