Rainbow Portal Community

Rainbow Portal forums, blogs, news and more
Welcome to Rainbow Portal Community Sign in | Join | Help
in Search

Beta 1 Install Issue

Last post 03-09-2007, 10.18 by ramseur. 13 replies.
Sort Posts: Previous Next
  •  02-22-2007, 5.31 13818

    Beta 1 Install Issue

    I had installed the latest Alpha on my host provider and had got it at least partially connected.  I just uploaded Beta 1 and I am getting the famous error:

     

    Unable to Continue

    We're sorry, but we were unable to service your request. It's possible that the problem is a temporary condition.

    We apologise for the inconvenience.

    I have gone to the install page at setup/default.html and tried running the install and I am getting the above error.

    I modified the connection strings with the database name and the correct credentials.  I beleive that I modified it correctly but I am not sure.  Is there a way I can see the actual error?  Can somebody give me an example of what the new connection string area of the web.config may look like?

    I am not a complete newbie but I have not done any .NET development for a few years so any help is appreciated.

    Thanks

    Filed under:
  •  02-22-2007, 8.29 13820 in reply to 13818

    Re: Beta 1 Install Issue

    Show us your log so we can see the issue. It might be a permissions issue and this error would be in their.  Make sure ASP.NET ( XP ) or Network Service ( NT/2003) have write permission to the rb_logs folder so that your log is getting updated.  Your logs btw are located in rb_logs and have to have write permission by the user controling .NET.  They will show updated timestamps if they are being updated correctly.

     

     

    Refer : http://base.iocluster.com/wiki/index.php?title=Common_Rainbow_Errors 


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  02-22-2007, 10.38 13828 in reply to 13820

    Re: Beta 1 Install Issue

    I am pretty sure that the correct account has write permissions but I am not seeing anything in that folder.  I am checking with my host provider to see if any other accounts need access.

    After rereading your post I am like 95% sure that the correct permissions are there for the account.  hmmmm...

    I guess I will wait to see what they say.

  •  02-22-2007, 10.47 13829 in reply to 13828

    Re: Beta 1 Install Issue

    If you dont see anything in that folder then you DO NOT have the permissions :).  I am a host provider and have been for about 5 years now and write isnt on that folder for the process that is writing the error ( asp.net or network service).  Im planning just to replace the logging to use SQL Server or use health monitoring to capture issues then youll just have to look in your sql server or better yet a control to allow you to view.

    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  02-23-2007, 4.45 13832 in reply to 13829

    Re: Beta 1 Install Issue

    My hoster verified that the ASP.NET worker process is running under Network Service and with custom errors turned off here is the message that is showing up...any ideas? 

    Server Error in '/' Application.

    The directory '/App_GlobalResources/' is not allowed because the application is precompiled.

    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.Web.HttpException: The directory '/App_GlobalResources/' is not allowed because the application is precompiled.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
       System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +3458850
       System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378
    
    [HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
       System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456
    
    [HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3434991
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +252
    

  •  02-23-2007, 5.07 13833 in reply to 13832

    Re: Beta 1 Install Issue

    I removed some old files that were still on the system but I may not have got all of them.  I tried to run the install again and I got the following message in the error log...

    System.Exception: Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. (C:\Domains\andrew-family.com\wwwroot\web.config line 344) ---> System.Configuration.ConfigurationErrorsException: Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. (C:\Domains\andrew-family.com\wwwroot\web.config line 344) ---> System.TypeLoadException: Could not load type 'System.Web.UI.Compatibility.CompareValidator' from assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
       at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
       at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
       at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
       --- End of inner exception stack trace ---
       at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
       at System.Web.Configuration.TagMapCollection.get_TagTypeMappingInternal()
       at System.Web.UI.NamespaceTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs)
       at System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs)
       at System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags)
       at System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs)
       at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
       at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
       at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
       --- End of inner exception stack trace ---
       at System.Web.UI.TemplateParser.ProcessException(Exception ex)
       at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
       at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
       at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
       at System.Web.UI.TemplateParser.ParseInternal()
       at System.Web.UI.TemplateParser.Parse()
       at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
       at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
       at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
       at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
       at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
       at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
       at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    THANKS again for your help

  •  02-23-2007, 9.28 13836 in reply to 13833

    Re: Beta 1 Install Issue

    Ok youve got two errors above displayed.

     

    First, What version are you trying to install?  Beta 1 does not come pre-compiled so you shouldnt get that error.  Only way is if you are trying to installed a precompiled Alpha.  If so, you need to delete the app_global resources ONLY if you are using precompiled.  IMO, you shouldnt be using that right now and should be using the beta.

     

    Second, the second error is because you dont have the Ajax dll.  Which is wierd to me because it is def in the bin directory.  You need to go get the RC1 of ASP.NET Ajax and put it in the bin.  Replace the assembly you have. for System.Web.Extensions.  Thats still a weird error as it cant find something within that assembly it reports.  What does the log say?


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  02-23-2007, 11.05 13837 in reply to 13836

    Re: Beta 1 Install Issue

    Thanks for the info.  I think that I am going to blow all the folders away and uploading all of the files again.  If I get it up and going I will let you know.

     Thanks

  •  02-23-2007, 11.14 13838 in reply to 13837

    Re: Beta 1 Install Issue

    Yeah try just downloading the 7zip beta 1 file and doing a fresh install in a fresh directory.  We've had 1006 downloads and only 2 issues all being minor.  Let me know what the new install yields so I can help.

    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  03-09-2007, 5.00 13928 in reply to 13833

    Re: Beta 1 Install Issue

    I have also got this issue.  I believe it has to do with the assembiles in the bin directory and no access to the GAC.  When I looked at my event viewer, I got a permission denied on the GAC which would yeild the "Cant find type" message.  It has to do with the ASP.NET Ajax so Im thinking about taking it out for now until this is resolved.  I even tried reinstalling IIS but got an error log.  Any luck?

     

    Ramseur


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  03-09-2007, 9.49 13932 in reply to 13928

    Re: Beta 1 Install Issue

    I think I found the answer to this.  They[ms] modified the validators in the release :

     

    http://forums.asp.net/thread/1549641.aspx

     

    I think if we apply this it will fix things.


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  03-09-2007, 9.59 13933 in reply to 13932

    Re: Beta 1 Install Issue

    You have to add the validators and change the web.config with the tag mappings and it should find it.

     

    http://blogs.msdn.com/mattgi/archive/2007/01/23/asp-net-ajax-validators.aspx

     

    I think Im going to make a new release with the installer working and with these new validators.  Thanks for catching this.


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  03-09-2007, 10.04 13934 in reply to 13933

    Re: Beta 1 Install Issue

    The reason this happen to you is because we shipped rainbow with ASP.NET Ajax RC and you must have ASP.NET Ajax RTM or final.  Between beta/rc to final they stripped the validators because they realized the common validators should do this.  They plan to release a windows update of system.web which will fix all of this.   For now they release the validators in an assembly.  Im going to test it but I believe it fixes it.  This is a common issue Guthrie notes.
    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
  •  03-09-2007, 10.18 13935 in reply to 13934

    Re: Beta 1 Install Issue

    After following the instructions from a couple blogs it works!

     

    You just have to put the Validators.dll file in your directory and replace the tag mappings with the below :

     

    <tagMapping>
            <add tagType="System.Web.UI.WebControls.CompareValidator"           mappedTagType="Sample.Web.UI.Compatibility.CompareValidator, Validators, Version=1.0.0.0"/>
            <add tagType="System.Web.UI.WebControls.CustomValidator"            mappedTagType="Sample.Web.UI.Compatibility.CustomValidator, Validators, Version=1.0.0.0"/>
            <add tagType="System.Web.UI.WebControls.RangeValidator"             mappedTagType="Sample.Web.UI.Compatibility.RangeValidator, Validators, Version=1.0.0.0"/>
            <add tagType="System.Web.UI.WebControls.RegularExpressionValidator" mappedTagType="Sample.Web.UI.Compatibility.RegularExpressionValidator, Validators, Version=1.0.0.0"/>
            <add tagType="System.Web.UI.WebControls.RequiredFieldValidator"     mappedTagType="Sample.Web.UI.Compatibility.RequiredFieldValidator, Validators, Version=1.0.0.0"/>
            <add tagType="System.Web.UI.WebControls.ValidationSummary"          mappedTagType="Sample.Web.UI.Compatibility.ValidationSummary, Validators, Version=1.0.0.0"/>
          </tagMapping>

     

    As long as you have ASP.NET Ajax Final installed everything should be good to go.  If you had other versions of ajax installed i recommend following scottygus way of upgrading.  You have to remove some scema items so VS knows what intellisense to give you.

     

     

    Cheers


    Eric Ramseur

    ramseur[at]gmail[dot]com

    C# 2005 Group
    Portal Community
    Rainbow Blog
View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems