none
V1.0 Won't Open RRS feed

  • Question

  • I uninstalled V0.9 and then installed V 1.0, I rebooted the PC, but V 1.0 won't open. I keep getting a window saying Small Basic stopped working. Any ideas?

     

    Thanks,

    Bill

    Sunday, July 17, 2011 2:28 AM

Answers

  • Hello! I once had the same problem as you. Unfortunately, I don't know what fixed it because I tried several things at once. But first, can you answer me some questions?

    1. What version of windows are you using

    2. What did you do to uninstall v0.9, and then install version 1.0?


    ~~AirWaves!!~~

    I'm using Vista 64 and I went to Control Panel>Programs and Features and located Microsoft Small Basic V0.9 and did an uninstall. I then located the Small Basic.msi I downloaded and ran it.

     

    Update: I uninstalled V1.0 and went into Explorer and removed the Small Basic Folder and downloaded a fresh copy and did an install and it now works.

    Something apparently something in that folder was left over from the uninstall that caused V1.0 to hic-up.

     

     


    Monday, July 18, 2011 2:08 AM

All replies

  • Hello! I once had the same problem as you. Unfortunately, I don't know what fixed it because I tried several things at once. But first, can you answer me some questions?

    1. What version of windows are you using

    2. What did you do to uninstall v0.9, and then install version 1.0?


    ~~AirWaves!!~~
    Sunday, July 17, 2011 10:14 PM
  • I am having a similar problem.

    I just installed sb 1.0 today, have never had any of the beta software installed.

    The program crashed when I start up,

    This is the error I am getting. I have tried uninstalling / reinstalling several times.

     

    System.Resources.MissingManifestResourceException was unhandled
    
      Message=Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "System.Xaml.SR.resources" was correctly embedded or linked into assembly "ComponentModel" at compile time, or that all the satellite assemblies required are loadable and fully signed.
    
      Source=mscorlib
    
      StackTrace:
    
           at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
    
           at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
    
           at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
    
           at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
    
           at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
    
           at System.Xaml.SR.CannotResolveUniqueType(Object param0, Object param1)
    
           at System.Xaml.ClrTypeResolver.FindTypeInNamespace(XamlNamespaceRecord namespaceRecord, String typeName, XNamespace typeNamespace, Int32 genericArgumentCount)
    
           at System.Xaml.ClrTypeResolver.ResolveUserType(XName typeName, Int32 genericArgumentCount)
    
           at System.Xaml.ClrTypeResolver.TryResolveType(TypeReference typeReference, ISchemaTypeResolver schemaTypeResolver, Type& type)
    
           at System.Xaml.XamlSchemaTypeResolver.Resolve(TypeReference typeReference)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForPropertyDescriptor(Object source, SchemaProperty property, PropertyDescriptor propertyDescriptor, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, HashSet`1 propertyNames, ParameterInfo[] methodParameters, SchemaType type, String contentPropertyName, String runtimeNamePropertyName)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObjectInternal(Object value, SerializerContext context, Boolean valueType, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObject(Object value, SerializerContext context, Boolean isValueType, TypeConverter instanceConverter)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForDictionary(Object sourceOrValue, PropertyDescriptor property, SchemaType type, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForPropertyDescriptor(Object source, SchemaProperty property, PropertyDescriptor propertyDescriptor, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, HashSet`1 propertyNames, ParameterInfo[] methodParameters, SchemaType type, String contentPropertyName, String runtimeNamePropertyName)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObjectInternal(Object value, SerializerContext context, Boolean valueType, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObject(Object value, SerializerContext context, Boolean isValueType, TypeConverter instanceConverter)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForSequence(Object sourceOrValue, PropertyDescriptor property, SchemaType type, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForPropertyDescriptor(Object source, SchemaProperty property, PropertyDescriptor propertyDescriptor, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, HashSet`1 propertyNames, ParameterInfo[] methodParameters, SchemaType type, String contentPropertyName, String runtimeNamePropertyName)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObjectInternal(Object value, SerializerContext context, Boolean valueType, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObject(Object value, SerializerContext context, Boolean isValueType, TypeConverter instanceConverter)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.GetPropertyValueInfoInternal(Object propertyValue, TypeConverter propertyConverter, Boolean isXamlTemplate, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForReadWriteProperty(Object source, PropertyDescriptor property, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForPropertyDescriptor(Object source, SchemaProperty property, PropertyDescriptor propertyDescriptor, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, HashSet`1 propertyNames, ParameterInfo[] methodParameters, SchemaType type, String contentPropertyName, String runtimeNamePropertyName)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObjectInternal(Object value, SerializerContext context, Boolean valueType, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObject(Object value, SerializerContext context, Boolean isValueType, TypeConverter instanceConverter)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForSequence(Object sourceOrValue, PropertyDescriptor property, SchemaType type, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.PropertySerializationInfo.ForPropertyDescriptor(Object source, SchemaProperty property, PropertyDescriptor propertyDescriptor, SerializerContext context)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, HashSet`1 propertyNames, ParameterInfo[] methodParameters, SchemaType type, String contentPropertyName, String runtimeNamePropertyName)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObjectInternal(Object value, SerializerContext context, Boolean valueType, TypeConverter converter)
    
           at System.Xaml.XamlObjectSerializer.RecordSerializationInfo.ForObject(Object value, SerializerContext context, Boolean isValueType, TypeConverter instanceConverter)
    
           at System.Xaml.XamlObjectSerializer.Save(XamlWriter writer, Object obj)
    
           at System.Xaml.XamlServices.Save(XmlWriter writer, Object obj)
    
           at System.ComponentModel.Activation.CachingCatalogSource.SaveCatalogAndCacheManifest(StandardCatalog catalog, Dictionary`2 cacheManifest)
    
           at System.ComponentModel.Activation.CachingCatalogSource.CreateCatalog()
    
           at System.ComponentModel.Activation.DirectoryWatchingCatalogSource.CreateCatalog()
    
           at System.ComponentModel.Activation.CatalogSourcesAggregator.CreateCatalog()
    
           at Microsoft.SmallBasic.App.CreateComponentDomain()
    
           at Microsoft.SmallBasic.App.OnStartup(StartupEventArgs e)
    
           at System.Windows.Application.<.ctor>b__1(Object unused)
    
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    
           at System.Threading.ExecutionContext.runTryCode(Object userData)
    
           at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    
           at System.Windows.Threading.DispatcherOperation.Invoke()
    
           at System.Windows.Threading.Dispatcher.ProcessQueue()
    
           at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    
           at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    
           at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
    
           at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    
           at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    
           at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    
           at System.Windows.Application.RunInternal(Window window)
    
           at System.Windows.Application.Run()
    
           at Microsoft.SmallBasic.App.Main()
    
      InnerException: 
    
    
    

    Sunday, July 17, 2011 10:49 PM
  • Hello! I once had the same problem as you. Unfortunately, I don't know what fixed it because I tried several things at once. But first, can you answer me some questions?

    1. What version of windows are you using

    2. What did you do to uninstall v0.9, and then install version 1.0?


    ~~AirWaves!!~~

    I'm using Vista 64 and I went to Control Panel>Programs and Features and located Microsoft Small Basic V0.9 and did an uninstall. I then located the Small Basic.msi I downloaded and ran it.

     

    Update: I uninstalled V1.0 and went into Explorer and removed the Small Basic Folder and downloaded a fresh copy and did an install and it now works.

    Something apparently something in that folder was left over from the uninstall that caused V1.0 to hic-up.

     

     


    Monday, July 18, 2011 2:08 AM
  • I have uninstalled, cleared all registry keys and deleted all folders that look like *small basic*

    I still get the same error :/

    Tuesday, July 19, 2011 1:37 AM
  • chriso_sd,

    Your errors look more like .Net.

    Most problems have been solved with uninstall SB, delete the installation directory "C:\Program Files\Microsoft\SmallBasic" or similar, then reinstall.

    You do need at least .Net 3.5 SP1, I think it should be installed if you don't have it, but check it is installed by looking at the 'programs and features' in the control panel.

    You can reinstall the latest .Net (4) from here if you don't have at least .Net 3.5 SP1 installed.

    Are you using the English language version of SmallBasic on an English language PC, your error message suggests it may be to do with culture (language environment)?

    Please post if you get a solution or if it still isn't working - you are probably not alone and any solution will help others.

     

    Tuesday, July 19, 2011 8:20 PM
    Moderator
  • The error looks like .NET because I have visual studio installed on the machine so am able to capture the exception.

    I have newest .NET 4 installed

    It is an english language PC, how do i check what culture SmallBasic is?

    Every time after i uninstall SB i do a search on C:\ for *small basic* and search the registry for *small basic* and delete anything it finds.

    Could you post a directory listing of a working installation i can diff against? thanks

    Tuesday, July 19, 2011 8:25 PM
  • I put some files on my SkyDrive here.  SkyDrive has changed recently and now is a pain to direct you to the right files - will have to change to something else.

    This is my SB directory SmallBasicLibrary-v1.zip

    Can you run this compiled SmallBasic program Test_v1.zip, the code is just the following:

    TextWindow.WriteLine("Hello World")

    Tuesday, July 19, 2011 9:06 PM
    Moderator
  • Correction. I get the same error as I originally got, I just forgot to unblock the files before trying to run sb.

     

    It didn't work, but at least I got a different error:

     

     

    System.IO.FileLoadException was unhandled
    
      Message=Could not load file or assembly 'LanguageService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    
      Source=mscorlib
    
      FileName=LanguageService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    
      FusionLog=""
    
      StackTrace:
    
           at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    
           at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
    
           at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
    
           at System.ComponentModel.Activation.DirectoryCatalogSource.AddCacheItemToCatalog(String item, StandardCatalog catalog)
    
           at System.ComponentModel.Activation.CachingCatalogSource.BuildCatalogFromCacheManifest(Dictionary`2 cacheManifest)
    
           at System.ComponentModel.Activation.CachingCatalogSource.CreateCatalog()
    
           at System.ComponentModel.Activation.DirectoryWatchingCatalogSource.CreateCatalog()
    
           at System.ComponentModel.Activation.CatalogSourcesAggregator.CreateCatalog()
    
           at Microsoft.SmallBasic.App.CreateComponentDomain()
    
           at Microsoft.SmallBasic.App.OnStartup(StartupEventArgs e)
    
           at System.Windows.Application.<.ctor>b__1(Object unused)
    
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.DispatcherOperation.InvokeImpl()
    
           at System.Threading.ExecutionContext.runTryCode(Object userData)
    
           at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    
           at System.Windows.Threading.DispatcherOperation.Invoke()
    
           at System.Windows.Threading.Dispatcher.ProcessQueue()
    
           at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    
           at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
    
           at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
    
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    
           at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
    
           at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    
           at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
    
           at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    
           at System.Windows.Application.RunInternal(Window window)
    
           at System.Windows.Application.Run()
    
           at Microsoft.SmallBasic.App.Main()
    
      InnerException: System.NotSupportedException
    
           Message=An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
    
           InnerException: 
    
    
    

     


    Monday, July 25, 2011 9:48 PM
  • Sorry, not much idea what the problem might be assuming you tried the test compiled program I posted and it failed - you could try creating a .Net project in VB or C# targeting .Net 3.5 with a reference to SmallBasicLibrary.dll if you are already using VisualStudio.

    The steps would be:

    1] Is .Net working

    2] Is SmalbbasicLibrary.dll working in .Net VB or C# project

    3] Is the SmallBasic program working.

    Tuesday, July 26, 2011 10:09 PM
    Moderator
  • I created a C# console app that targets .net 3.5 and plays a sound using SmallBasicLibrary.dll

    That worked fine. 

    I tried uninstalling / reinstalling today, this time i chose to install all the cultures to the hard drive

    I still crash at startup but when I look in start menu this is how small basic shows up

    Saturday, January 14, 2012 7:52 PM