Visual WebGui Power
 
  Forum  Core :: SDK (Vi...   Let's Chat Abo...  VWG 6.0.4 + Silverlight Error
Previous Previous
 
Next Next
New Post 8/7/2008 2:57 AM
  tjrenk
26 posts
No Ranking


VWG 6.0.4 + Silverlight Error 
Hello guys,

I've successfully build and run my project using vwg 6.0.4.
When I build to use the SL extension, some how it built with no error, while when I try to log on, I couldn't log on.
Strangely, when I change the application to standard vwg appl. (using .wgx) it works.

Any idea ?

Thomas

Most of time I've got this error:
System.Exception: Input string was not in a correct format.
at Gizmox.WebGUI.Silverlight.State.Session.HandleResponse(XmlReader objXmlReader, Boolean blnUpdate)
at Gizmox.WebGUI.Silverlight.State.Session.RaiseEventsEnd(IAsyncResult objResults)
at Gizmox.WebGUI.Silverlight.State.Proxy.ProcessResponse(IAsyncResult objResult)

http://tjrenk.multiply.com http://album.ipeka.net
 
New Post 8/7/2008 6:51 AM
  noam.pintel
257 posts
4th Level Poster


Re: VWG 6.0.4 + Silverlight Error 

Hi,

Because Microsoft made some massive changes in Silverlight 2 beta 2,

Visual WebGui Silverlight will never work with version 6.0.4.

You have to use version 6.1 or more.

I recommend version 6.1.2.

Thanks,

Noam

 

 
New Post 8/8/2008 1:23 AM
  tjrenk
26 posts
No Ranking


Re: VWG 6.0.4 + Silverlight Error 
Hello Noam,

I've download and install all the required package fo building silverlight application (vwg ver.6.1.2).
I also follow the step by step of converting vwg application to vwg+silverlight application (modifying web.config file)

The build process was fine, but when I tried to add the required assembly (using vwg sl packager) I'v never succeed.
I've got this error message:

Could not create application package:
Error:
System.Exception: Invalid file path has been inputed.
at Gismox.WebGUI.......and so on.

If I hit cancel, then the browser loaded up and ended with error:
Unhandled error in Silverlight 2 Application
The type initializer for : Gizmox.WebGUI.Silverlight.ThemeManager threw an exception. at
Gizmox.WebGUI.Silverlight.ThemeManager.ApplyTheme .... and so on..
Code: 0

I just have no idea of what have I missed here.

Thomas
Thanks

http://tjrenk.multiply.com http://album.ipeka.net
 
New Post 8/9/2008 11:37 PM
  noam.pintel
257 posts
4th Level Poster


Re: VWG 6.0.4 + Silverlight Error 

Hi,

This is not enough information for me to know whats wrong.

First, open a new silverlight application and check if you can create a new working application.

If you can , start and compare the references and web config file.

If it want work you will have to send me a sample application.

Keep me informed.

Thanks,

Noam

 

 
New Post 8/10/2008 2:06 PM
  fisherman
155 posts
5th Level Poster


Re: VWG 6.0.4 + Silverlight Error 
Same problem here.
I just installed 6.1.2 on WinXP Pro SP2 with VS2005.
I created a new VWG Silverlight Application from the template, dropped a button on the form, added a simple Messagebox.Show for the button click. I edited the project web settings so that Form1.swgx is the start form. Business as usual so far.

When I try to run and debug the application from VS2005 (no IIS), thw browser does not show anything, and a window opens (Visual WebGui Silverlight Packager). No matter what I try to do in this window, I get the error

---------------------------

---------------------------
Could not create the application package.

Error:

System.Exception: Invalid file path has beed inputed.

   bei Gizmox.WebGUI.Deployment.FileManipulation.FileElement..ctor(String strFilePath)

   bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateFileElementList(Package objPackage)

   bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateXapFile(Package objPackage)

   bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateXapFiles()

   bei Gizmox.WebGUI.Silverlight.Packaging.Packager.Save()

   bei Gizmox.WebGUI.Silverlight.Packaging.MainForm.mobjButtonOK_Click(Object sender, EventArgs e)

   bei System.Windows.Forms.Control.OnClick(EventArgs e)

   bei System.Windows.Forms.Button.OnClick(EventArgs e)

   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   bei System.Windows.Forms.Control.WndProc(Message& m)

   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)

   bei System.Windows.Forms.Button.WndProc(Message& m)

   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK  
---------------------------

All I can do is select "Cancel" to avoid this error. Nevertheless, the browser remains blank.

Bernhard
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...   Let's Chat Abo...  VWG 6.0.4 + Silverlight Error
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | RIA Development | Silverlight Applications | Silverlight Controls | RIA Tutorials
The most popular open source Ajax / Silverlight RIA platform for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners