Rendan 0 Denunciar post Postado Outubro 8, 2006 Estava tudo funcionando perfeitamente.Quando troquei para um novo servidor (win 2003) a mensagem começou aaparecer.No IIS está criado uma aplicação para o site e o diretório APP_Codeestá com os arquivos vb das classes.Compilation ErrorDescription: An error occurred during the compilation of a resourcerequired to service this request. Please review the followingspecific error details and modify your source code appropriately.Compiler Error Message: BC30002: Type 'valida_CNPJ_CPF' is notdefined.Source Error:Line 24: End IfLine 25:Line 26: Dim cpf1 As New valida_CNPJ_CPFLine 27: cpf1.cpf = CPF.TextLine 28: If cpf1.isCpfValido() ThenSource File: D:\Portal\avsec\Cadastro.aspx.vb Line: 26Show Detailed Compiler Output:c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_cadastro.aspx.88ea1ad6.lbozoi_-.dll" /debug-/win32resource:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\bst-si52.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_cadastro.aspx.88ea1ad6.lbozoi_-.0.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\TemporaryASP.NET Files\root\26676eb7\92c7e946\App_Web_cadastro.aspx.88ea1ad6.lbozoi_-.1.vb" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\TemporaryASP.NET Files\root\26676eb7\92c7e946\App_Web_cadastro.aspx.88ea1ad6.lbozoi_-.2.vb"Microsoft ® Visual Basic Compiler version 8.0.50727.42for Microsoft ® .NET Framework version 2.0.50727.42Copyright © Microsoft Corporation. All rights reserved.D:\Portal\avsec\Cadastro.aspx.vb(26) : error BC30002:Type 'valida_CNPJ_CPF' is not defined.Dim cpf1 As New valida_CNPJ_CPF~~~~~~~~~~~~~~~D:\Portal\avsec\Cadastro.aspx.vb(36) : error BC30002:Type 'valida_CNPJ_CPF' is not defined.Dim CNPJ1 As New valida_CNPJ_CPF~~~~~~~~~~~~~~~D:\Portal\avsec\Cadastro.aspx.vb(58) : error BC30002:Type 'EnviaEmail' is not defined.Dim EmailEnviado As New EnviaEmail~~~~~~~~~~D:\Portal\avsec\Cadastro.aspx.vb(138) : error BC30002:Type 'PreparaData' is not defined.Dim NovaData As New PreparaData~~~~~~~~~~~ Compartilhar este post Link para o post Compartilhar em outros sites
vypy 0 Denunciar post Postado Novembro 25, 2006 cara to com o memsmo problema... teria como escrever aki como arrumou?!?!?! obrigado Compartilhar este post Link para o post Compartilhar em outros sites