Forum  Core :: SDK (Vi...  Install It!  Silverlight build error
Previous Previous
 
Next Next
New Post 7/29/2008 10:06 AM
  timmychandy
7 posts
No Ranking


Silverlight build error 
 

I am trying to create a silverlight application ; these are the steps i am doing..

1. Create a Visual WebGUI Silverlight Application(Using VB templates) .
2 Try to run the Application
3. I get a message saying debugging not enabled. With the options to add a new web.config file or run without debugging
4. I Choose to add a new web.config file and gets another prompts confirm replacing exisitng web.config file

4. Gets another prompt saying "Operation couldnot be completed. Not Implemented"


5. Try to run again and I get an error saying gizmox.webgui.silverlight.packaging has encounterd a problem and going to close..

6 I restart the Visual studio and open the same project again and try to run the project

7. It gives this error during build

 "Error 1 The command "md "C:\Documents and Settings\user1\My Documents\Visual Studio 2008\Projects\WebGUIApplication11\WebGUIApplication11\ClientBin"
"%windir%\System32\Gizmox\Silverlight\Gizmox.WebGUI.Silverlight.Packaging.exe" "C:\Documents and Settings\user1\My Documents\Visual Studio 2008\Projects\WebGUIApplication11\WebGUIApplication11\WebGUIApplication11.vbproj" /silent" exited with code -1073741819."

What am I doing wrong? or what else do I have to install other than the ones listed below?


My system congifurations

          Windows XP SP3

           Visual Studio 2008 with SP1beta

           Visual webgui SDK for .net 3.5 build 6.1.2

           Visual WebGui Silverlight SDK Beta 6.1.2

           Microsoft Silverlight 2 Beta 2

           Microsoft Silverlight 2 SDK Beta2

           Microsoft Silverlight Tools Beta 2 For Visual Studio 2008

Thank you

Tim

 
New Post 7/31/2008 1:36 AM
  noam.pintel
271 posts
4th Level Poster




Re: Silverlight build error 

Hi,

Why are you trying to add a new web.config?

The project should have had a web.config file already.

Noam

 
New Post 7/31/2008 2:30 AM
  jerome.raffalli
22 posts
No Ranking


Re: Silverlight build error 
hi,
same configuration and same error for me ("md" command).

 
New Post 7/31/2008 4:38 AM
  itzik.spitzen
1663 posts
1st Level Poster




Re: Silverlight build error 

Hi,

There is an issue with the packager tool configuration which is going to be fixed in the next version with non standard or non-English Lang operating system. Meanwhile you can configure the right paths for you by yourself.

Please go to:
“<your windows dir>\system32\Gizmox\Silverlight”


underneath you will find a configuration file named: “Gizmox.WebGUI.Silverlight.Packaging.exe.config”

Open it and configure the key to contain the right location of the packager (which is installed side by side with the Gizmox Silverlight SDK dlls) according to your standard location (in most of the cases it should be):
<your "program files" dir>\Gizmox\Visual WebGui\Silverlight SDK

I hope this helps you out.

Regards,
Itzik Spitzen

 
New Post 7/31/2008 7:23 AM
  timmychandy
7 posts
No Ranking


Re: Silverlight build error 

Hi,

I was able to get the project  to buid

I had and English version of XP and the paths are

specified correctly in the config file.

This is what I had to do to get it to build properly

             Create the Project

             Build the Application andSave it with out running the project

            Close Visual Studio and Restart it

            Repon the Project and Run it.

It did build and Opened the internet explorer. But then I gets the following JScript Exception

I dont know if it has anything to do with the Build error I was getting

  Microsoft JScript runtime error: Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation.   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Delegate.DynamicInvokeImpl(Object[] args)

   at System.Delegate.DynamicInvoke(Object[] args)

   at System.Windows.Threading.DispatcherOperation.Invoke()

 

 This is a message displayed in visual Studio in eval code.txt file created at run time

 

throw new Error("Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation.   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)\n   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)\n   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)\n   at System.Delegate.DynamicInvokeImpl(Object[] args)\n   at System.Delegate.DynamicInvoke(Object[] args)\n   at System.Windows.Threading.DispatcherOperation.Invoke()");

Thanks

Tim

 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Install It!  Silverlight build error
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS