Assisted Solutions Forums

Welcome! These forums provide help and documentation for our products and services.
Welcome to Assisted Solutions Forums Sign in | Join | Help
in Search

need help getting started

Last post 12-26-2005, 10:51 AM by paulw. 1 replies.
Sort Posts: Previous Next
  •  11-08-2005, 2:01 PM 1478

    need help getting started

    I am new to .Net, so am not even sure where to begin.   I tried to use the CityStateFinder and am getting the following error when I try to use the sample Default.aspx.  What am I doing wrong?

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load type 'CityStateFinder.Global'.

    Source Error:

    Line 1:  <%@ Application Codebehind="Global.asax.vb" Inherits="CityStateFinder.Global" %>
    

    Source File: C:\Downloads\CityStateFinder\samples\global.asax    Line: 1

  •  12-26-2005, 10:51 AM 1863 in reply to 1478

    Re: need help getting started

    It turned out the reason your server control wouldn't fire in the current project was NOT the fact that you're using Forms authentication; it was an Application Begin Request sub in Global.asax.vb that was killing it. (Something that was inherited and the project didn't even need.)

    Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)

    Try

    Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(Request.UserLanguages(0))

    Catch

    End Try

    Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture

    CultureInfo.CurrentCulture.NumberFormat.CurrencySymbol = "$"

    End Sub

    Once it was removed, everything worked smoothly.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems